Skip to content

Commit 5cbef2c

Browse files
committed
Remove unwanted changes
1 parent 20b613c commit 5cbef2c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

ALICE3/TableProducer/OTF/onTheFlyRichPid.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@ struct OnTheFlyRichPid {
728728

729729
std::array<float, 6> mcPvCov = {0.};
730730
o2::dataformats::VertexBase mcPvVtx({0.0f, 0.0f, 0.0f}, mcPvCov);
731-
732731
if (collision.has_mcCollision()) {
733732
auto mcCollision = collision.mcCollision();
734733
mcPvVtx.setX(mcCollision.posX());
@@ -760,6 +759,7 @@ struct OnTheFlyRichPid {
760759
dNdEta += 1.f;
761760
}
762761
}
762+
763763
for (const auto& track : tracks) {
764764
auto fillDummyValues = [&](bool gasRich = false) {
765765
upgradeRich(kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue);

ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ struct OnTheFlyTofPid {
689689
if (o2track.propagateToDCA(mcPvVtx, mMagneticField)) {
690690
xPv = o2track.getX();
691691
}
692-
float trackLengthInnerTOF = -1, trackLengthOuterTOF = -1;
692+
float trackLengthInnerTOF = 20, trackLengthOuterTOF = 20;
693693
if (xPv > kTrkXThreshold) {
694694
trackLengthInnerTOF = computeTrackLength(o2track, simConfig.innerTOFRadius, mMagneticField);
695695
trackLengthOuterTOF = computeTrackLength(o2track, simConfig.outerTOFRadius, mMagneticField);
@@ -742,9 +742,6 @@ struct OnTheFlyTofPid {
742742
trackLengthRecoInnerTOF = computeTrackLength(recoTrack, simConfig.innerTOFRadius, mMagneticField);
743743
trackLengthRecoOuterTOF = computeTrackLength(recoTrack, simConfig.outerTOFRadius, mMagneticField);
744744
}
745-
// trackLengthRecoInnerTOF = trackLengthInnerTOF;
746-
// trackLengthRecoOuterTOF = trackLengthOuterTOF;
747-
// LOG(info) << "Track lengths: true innerTOF " << trackLengthInnerTOF << " cm, reco innerTOF " << trackLengthRecoInnerTOF << " cm";
748745

749746
// cache the track info needed for the event time calculation
750747
// Reuse or emplace a new object in the vector

0 commit comments

Comments
 (0)