@@ -541,9 +541,9 @@ class ElectronModule
541541 registry.add (" Track/hTPCNsigmaPr" , " TPC n sigma pr;p_{in} (GeV/c);n #sigma_{p}^{TPC}" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {100 , -5 , +5 }}, false );
542542 registry.add (" Track/hTOFbeta" , " TOF beta;p_{pv} (GeV/c);#beta" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {240 , 0 , 1.2 }}, false );
543543 registry.add (" Track/hTOFNsigmaEl" , " TOF n sigma el;p_{in} (GeV/c);n #sigma_{e}^{TOF}" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {100 , -5 , +5 }}, false );
544- registry.add (" Track/hTOFNsigmaPi" , " TOF n sigma pi;p_{in} (GeV/c);n #sigma_{#pi}^{TOF}" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {100 , -5 , +5 }}, false );
545- registry.add (" Track/hTOFNsigmaKa" , " TOF n sigma ka;p_{in} (GeV/c);n #sigma_{K}^{TOF}" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {100 , -5 , +5 }}, false );
546- registry.add (" Track/hTOFNsigmaPr" , " TOF n sigma pr;p_{in} (GeV/c);n #sigma_{p}^{TOF}" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {100 , -5 , +5 }}, false );
544+ // registry.add("Track/hTOFNsigmaPi", "TOF n sigma pi;p_{in} (GeV/c);n #sigma_{#pi}^{TOF}", o2::framework::HistType::kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
545+ // registry.add("Track/hTOFNsigmaKa", "TOF n sigma ka;p_{in} (GeV/c);n #sigma_{K}^{TOF}", o2::framework::HistType::kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
546+ // registry.add("Track/hTOFNsigmaPr", "TOF n sigma pr;p_{in} (GeV/c);n #sigma_{p}^{TOF}", o2::framework::HistType::kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
547547 registry.add (" Track/hMeanClusterSizeITS" , " mean cluster size ITS;p_{pv} (GeV/c);<ITS cluster size> #times cos(#lambda)" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {150 , 0 , 15 }}, false );
548548 registry.add (" Track/hMeanClusterSizeITSib" , " mean cluster size ITSib;p_{pv} (GeV/c);<ITSib cluster size> #times cos(#lambda)" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {150 , 0 , 15 }}, false );
549549 registry.add (" Track/hMeanClusterSizeITSob" , " mean cluster size ITSob;p_{pv} (GeV/c);<ITSob cluster size> #times cos(#lambda)" , o2::framework::HistType::kTH2F , {{1000 , 0 , 10 }, {150 , 0 , 15 }}, false );
@@ -630,16 +630,15 @@ class ElectronModule
630630 if (track.hasTOF () && track.has_collision ()) { // TTCA may use orphan tracks.
631631 auto bcTrack = track.template collision_as <TCollisions>().template bc_as <TBCs>();
632632 fMapTOFNsigmaElReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = mTOFResponse ->nSigma <o2::track::PID ::Electron>(track.tofSignalInAnotherBC (bcTrack.globalBC (), bcCollision.globalBC ()), track.tofExpMom (), track.length (), track.p (), track.eta (), mapCollisionTime[collision.globalIndex ()], mapCollisionTimeError[collision.globalIndex ()]);
633- fMapTOFNsigmaPiReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = mTOFResponse ->nSigma <o2::track::PID ::Pion>(track.tofSignalInAnotherBC (bcTrack.globalBC (), bcCollision.globalBC ()), track.tofExpMom (), track.length (), track.p (), track.eta (), mapCollisionTime[collision.globalIndex ()], mapCollisionTimeError[collision.globalIndex ()]);
634- fMapTOFNsigmaKaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = mTOFResponse ->nSigma <o2::track::PID ::Kaon>(track.tofSignalInAnotherBC (bcTrack.globalBC (), bcCollision.globalBC ()), track.tofExpMom (), track.length (), track.p (), track.eta (), mapCollisionTime[collision.globalIndex ()], mapCollisionTimeError[collision.globalIndex ()]);
635- fMapTOFNsigmaPrReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = mTOFResponse ->nSigma <o2::track::PID ::Proton>(track.tofSignalInAnotherBC (bcTrack.globalBC (), bcCollision.globalBC ()), track.tofExpMom (), track.length (), track.p (), track.eta (), mapCollisionTime[collision.globalIndex ()], mapCollisionTimeError[collision.globalIndex ()]);
633+ // fMapTOFNsigmaPiReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = mTOFResponse->nSigma<o2::track::PID::Pion>(track.tofSignalInAnotherBC(bcTrack.globalBC(), bcCollision.globalBC()), track.tofExpMom(), track.length(), track.p(), track.eta(), mapCollisionTime[collision.globalIndex()], mapCollisionTimeError[collision.globalIndex()]);
634+ // fMapTOFNsigmaKaReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = mTOFResponse->nSigma<o2::track::PID::Kaon>(track.tofSignalInAnotherBC(bcTrack.globalBC(), bcCollision.globalBC()), track.tofExpMom(), track.length(), track.p(), track.eta(), mapCollisionTime[collision.globalIndex()], mapCollisionTimeError[collision.globalIndex()]);
635+ // fMapTOFNsigmaPrReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = mTOFResponse->nSigma<o2::track::PID::Proton>(track.tofSignalInAnotherBC(bcTrack.globalBC(), bcCollision.globalBC()), track.tofExpMom(), track.length(), track.p(), track.eta(), mapCollisionTime[collision.globalIndex()], mapCollisionTimeError[collision.globalIndex()]);
636636 fMapTOFBetaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.length () / (track.tofSignalInAnotherBC (bcTrack.globalBC (), bcCollision.globalBC ()) - mapCollisionTime[collision.globalIndex ()]) / (TMath::C () * 1e+2 * 1e-12 );
637- ;
638637 } else {
639638 fMapTOFNsigmaElReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaEl ();
640- fMapTOFNsigmaPiReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPi ();
641- fMapTOFNsigmaKaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaKa ();
642- fMapTOFNsigmaPrReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPr ();
639+ // fMapTOFNsigmaPiReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPi();
640+ // fMapTOFNsigmaKaReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaKa();
641+ // fMapTOFNsigmaPrReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPr();
643642 fMapTOFBetaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.beta ();
644643 }
645644 } // end of track loop
@@ -654,9 +653,9 @@ class ElectronModule
654653 continue ;
655654 }
656655 fMapTOFNsigmaElReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaEl ();
657- fMapTOFNsigmaPiReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPi ();
658- fMapTOFNsigmaKaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaKa ();
659- fMapTOFNsigmaPrReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPr ();
656+ // fMapTOFNsigmaPiReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPi();
657+ // fMapTOFNsigmaKaReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaKa();
658+ // fMapTOFNsigmaPrReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPr();
660659 fMapTOFBetaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.beta ();
661660 }
662661 } // end of track loop
@@ -671,9 +670,9 @@ class ElectronModule
671670 continue ;
672671 }
673672 fMapTOFNsigmaElReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaEl ();
674- fMapTOFNsigmaPiReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPi ();
675- fMapTOFNsigmaKaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaKa ();
676- fMapTOFNsigmaPrReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPr ();
673+ // fMapTOFNsigmaPiReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPi();
674+ // fMapTOFNsigmaKaReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaKa();
675+ // fMapTOFNsigmaPrReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPr();
677676 fMapTOFBetaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.beta ();
678677 } // end of track loop
679678 } // end of collision loop
@@ -685,9 +684,9 @@ class ElectronModule
685684 continue ;
686685 }
687686 fMapTOFNsigmaElReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaEl ();
688- fMapTOFNsigmaPiReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPi ();
689- fMapTOFNsigmaKaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaKa ();
690- fMapTOFNsigmaPrReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.tofNSigmaPr ();
687+ // fMapTOFNsigmaPiReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPi();
688+ // fMapTOFNsigmaKaReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaKa();
689+ // fMapTOFNsigmaPrReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())] = track.tofNSigmaPr();
691690 fMapTOFBetaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())] = track.beta ();
692691 }
693692 } // end of track loop
@@ -1052,9 +1051,9 @@ class ElectronModule
10521051 float phi = RecoDecay::constrainAngle (trackParCov.getPhi (), 0 , 1U );
10531052
10541053 float tofNSigmaEl = fMapTOFNsigmaElReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())];
1055- float tofNSigmaPi = fMapTOFNsigmaPiReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())];
1056- float tofNSigmaKa = fMapTOFNsigmaKaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())];
1057- float tofNSigmaPr = fMapTOFNsigmaPrReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())];
1054+ // float tofNSigmaPi = fMapTOFNsigmaPiReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())];
1055+ // float tofNSigmaKa = fMapTOFNsigmaKaReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())];
1056+ // float tofNSigmaPr = fMapTOFNsigmaPrReassociated[std::make_pair(collision.globalIndex(), track.globalIndex())];
10581057 float beta = fMapTOFBetaReassociated [std::make_pair (collision.globalIndex (), track.globalIndex ())];
10591058 float probaEl = fMapProbaEl [std::make_pair (collision.globalIndex (), track.globalIndex ())];
10601059
@@ -1150,9 +1149,9 @@ class ElectronModule
11501149 registry.fill (HIST (" Track/hTPCNsigmaPr" ), track.tpcInnerParam (), track.tpcNSigmaPr ());
11511150 registry.fill (HIST (" Track/hTOFbeta" ), trackParCov.getP (), beta);
11521151 registry.fill (HIST (" Track/hTOFNsigmaEl" ), track.tpcInnerParam (), tofNSigmaEl);
1153- registry.fill (HIST (" Track/hTOFNsigmaPi" ), track.tpcInnerParam (), tofNSigmaPi);
1154- registry.fill (HIST (" Track/hTOFNsigmaKa" ), track.tpcInnerParam (), tofNSigmaKa);
1155- registry.fill (HIST (" Track/hTOFNsigmaPr" ), track.tpcInnerParam (), tofNSigmaPr);
1152+ // registry.fill(HIST("Track/hTOFNsigmaPi"), track.tpcInnerParam(), tofNSigmaPi);
1153+ // registry.fill(HIST("Track/hTOFNsigmaKa"), track.tpcInnerParam(), tofNSigmaKa);
1154+ // registry.fill(HIST("Track/hTOFNsigmaPr"), track.tpcInnerParam(), tofNSigmaPr);
11561155 registry.fill (HIST (" Track/hMeanClusterSizeITS" ), trackParCov.getP (), static_cast <float >(total_cluster_size) / static_cast <float >(nl) * std::cos (std::atan (trackParCov.getTgl ())));
11571156 registry.fill (HIST (" Track/hMeanClusterSizeITSib" ), trackParCov.getP (), static_cast <float >(total_cluster_size_ib) / static_cast <float >(nl_ib) * std::cos (std::atan (trackParCov.getTgl ())));
11581157 registry.fill (HIST (" Track/hMeanClusterSizeITSob" ), trackParCov.getP (), static_cast <float >(total_cluster_size_ob) / static_cast <float >(nl_ob) * std::cos (std::atan (trackParCov.getTgl ())));
@@ -2137,9 +2136,9 @@ class ElectronModule
21372136 // this should be called at the end of DF.
21382137 fMapProbaEl .clear ();
21392138 fMapTOFNsigmaElReassociated .clear ();
2140- fMapTOFNsigmaPiReassociated .clear ();
2141- fMapTOFNsigmaKaReassociated .clear ();
2142- fMapTOFNsigmaPrReassociated .clear ();
2139+ // fMapTOFNsigmaPiReassociated.clear();
2140+ // fMapTOFNsigmaKaReassociated.clear();
2141+ // fMapTOFNsigmaPrReassociated.clear();
21432142 fMapTOFBetaReassociated .clear ();
21442143 }
21452144
@@ -2201,9 +2200,9 @@ class ElectronModule
22012200
22022201 std::map<std::pair<int , int >, float > fMapProbaEl ; // map pair(collisionId, trackId) -> probaEl
22032202 std::map<std::pair<int , int >, float > fMapTOFNsigmaElReassociated ; // map pair(collisionId, trackId) -> tof n sigma el
2204- std::map<std::pair<int , int >, float > fMapTOFNsigmaPiReassociated ; // map pair(collisionId, trackId) -> tof n sigma pi
2205- std::map<std::pair<int , int >, float > fMapTOFNsigmaKaReassociated ; // map pair(collisionId, trackId) -> tof n sigma ka
2206- std::map<std::pair<int , int >, float > fMapTOFNsigmaPrReassociated ; // map pair(collisionId, trackId) -> tof n sigma pr
2203+ // std::map<std::pair<int, int>, float> fMapTOFNsigmaPiReassociated; // map pair(collisionId, trackId) -> tof n sigma pi
2204+ // std::map<std::pair<int, int>, float> fMapTOFNsigmaKaReassociated; // map pair(collisionId, trackId) -> tof n sigma ka
2205+ // std::map<std::pair<int, int>, float> fMapTOFNsigmaPrReassociated; // map pair(collisionId, trackId) -> tof n sigma pr
22072206 std::map<std::pair<int , int >, float > fMapTOFBetaReassociated ; // map pair(collisionId, trackId) -> tof beta
22082207
22092208 int mRunNumber {0 };
0 commit comments