@@ -34,16 +34,17 @@ using CollisionsFull = soa::Join<aod::Collisions, aod::EvSels>;
3434using FullTracksExtIU = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksCovIU, aod::pidTPCFullPr, aod::pidTPCFullAl, aod::pidTPCFullTr, aod::pidTPCFullPi>;
3535using MCLabeledTracksIU = soa::Join<FullTracksExtIU, aod::McTrackLabels>;
3636
37- namespace {
38- constexpr int kITSLayers = 7 ;
39- constexpr int kITSInnerBarrelLayers = 3 ;
40- constexpr int kITSOuterBarrelLayers = 4 ;
41- std::shared_ptr<TH1> hMotherCounter;
42- std::shared_ptr<TH1> hDauAlphaCounter;
43- std::shared_ptr<TH1> hDauTritonCounter;
44- std::shared_ptr<TH1> hDauProtonCounter;
45- std::shared_ptr<TH1> hDauPionCounter;
46- }
37+ namespace
38+ {
39+ constexpr int kITSLayers = 7 ;
40+ constexpr int kITSInnerBarrelLayers = 3 ;
41+ constexpr int kITSOuterBarrelLayers = 4 ;
42+ std::shared_ptr<TH1> hMotherCounter;
43+ std::shared_ptr<TH1> hDauAlphaCounter;
44+ std::shared_ptr<TH1> hDauTritonCounter;
45+ std::shared_ptr<TH1> hDauProtonCounter;
46+ std::shared_ptr<TH1> hDauPionCounter;
47+ } // namespace
4748
4849// -------------------------------Check the decay channel of H4S-------------------------------
4950enum Channel {
@@ -59,7 +60,7 @@ Channel getDecayChannelH4S(TMCParticle const& particle, std::vector<int>& list)
5960 if (std::abs (particle.pdgCode ()) != o2::constants::physics::Pdg::kHyperHelium4Sigma ) {
6061 return kNDecayChannel ;
6162 }
62-
63+
6364 // list: charged, charged or empty, neutral
6465 list.clear ();
6566 list.resize (3 , -1 );
@@ -127,7 +128,7 @@ Channel getDecayChannelH4S(TMCParticle const& particle, std::vector<int>& list)
127128}
128129
129130// --------------------------------------------------------------
130- // check if the mcparticle is daughter of hyperhelium4sigma
131+ // check if the mcparticle is daughter of hyperhelium4sigma
131132template <typename TMCParticle>
132133bool isDaughterTrack (TMCParticle const & mcparticle, int pdgcode = o2::constants::physics::Pdg::kHyperHelium4Sigma )
133134{
@@ -334,7 +335,7 @@ struct Hyperhelium4sigmaQa {
334335 hMotherCounter->GetXaxis ()->SetBinLabel (4 , " has collision" );
335336 hMotherCounter->GetXaxis ()->SetBinLabel (5 , " ITSonly" );
336337 hMotherCounter->GetXaxis ()->SetBinLabel (6 , " ITS hits" );
337- hMotherCounter->GetXaxis ()->SetBinLabel (7 , " ITS IR" );
338+ hMotherCounter->GetXaxis ()->SetBinLabel (7 , " ITS IR" );
338339 hMotherCounter->GetXaxis ()->SetBinLabel (8 , " ITS chi2" );
339340 hMotherCounter->GetXaxis ()->SetBinLabel (9 , " pt" );
340341 recoQAHist.add <TH2>(" hTrueMotherRVsDiffPt" , " ;#Delta p_{T} (GeV/#it{c});R (cm);" , HistType::kTH2F , {diffPtAxis, radiusAxis});
@@ -396,20 +397,20 @@ struct Hyperhelium4sigmaQa {
396397 // qa for mother track selection
397398 template <typename TTrack>
398399 bool motherTrackCheck (const TTrack& track, const std::shared_ptr<TH1> hist)
399- {
400+ {
400401 hist->Fill (1 );
401402
402403 if (std::abs (track.eta ()) > etaMax) {
403404 return false ;
404405 }
405406 hist->Fill (2 );
406407
407- if (!track.has_collision ()){
408+ if (!track.has_collision ()) {
408409 return false ;
409410 }
410411 hist->Fill (3 );
411412
412- if (!track.hasITS () || track.hasTPC () || track.hasTOF ()){
413+ if (!track.hasITS () || track.hasTPC () || track.hasTOF ()) {
413414 return false ;
414415 }
415416 hist->Fill (4 );
@@ -465,7 +466,7 @@ struct Hyperhelium4sigmaQa {
465466
466467 if (track.hasTOF ()) {
467468 return ;
468- }
469+ }
469470 hist->Fill (6 );
470471 }
471472
0 commit comments