@@ -144,9 +144,9 @@ AxisSpec axisMassK0s = {200, 0.4, 0.6, "K0sMass", "K0sMass"};
144144AxisSpec axisMassLambda = {200 , 1.07 , 1.17 , " Lambda/AntiLamda Mass" , " Lambda/AntiLamda Mass" };
145145AxisSpec axisTracks{9 , 0.5 , 9.5 , " #tracks" , " TrackAxis" };
146146AxisSpec axisDeltaEta{50 , -1.0 , +1.0 , " #Delta(#eta)" };
147- auto static constexpr kMinCharge = 3 .f;
148- auto static constexpr kMinpTcut = 0 .1f ;
149- auto static constexpr kNItslayers = 7 ;
147+ auto static constexpr KminCharge = 3 .f;
148+ auto static constexpr KminPtCut = 0 .1f ;
149+ auto static constexpr KnItsLayers = 7 ;
150150
151151struct HeavyionMultiplicity {
152152
@@ -257,7 +257,7 @@ struct HeavyionMultiplicity {
257257 auto * x2 = htrack->GetAxis (1 );
258258 x2->SetBinLabel (1 , " All tracks" );
259259 x2->SetBinLabel (2 , " Non-fake tracks" );
260- for (int i = 0 ; i < kNItslayers ; i++) {
260+ for (int i = 0 ; i < KnItsLayers ; i++) {
261261 x2->SetBinLabel (i + 3 , Form (" layer %d" , i));
262262 }
263263 }
@@ -446,7 +446,7 @@ struct HeavyionMultiplicity {
446446 if (pdgTrack == nullptr ) {
447447 return false ;
448448 }
449- if (std::abs (pdgTrack->Charge ()) < kMinCharge ) {
449+ if (std::abs (pdgTrack->Charge ()) < KminCharge ) {
450450 return false ;
451451 }
452452 if (std::abs (track.eta ()) >= etaRange) {
@@ -587,7 +587,7 @@ struct HeavyionMultiplicity {
587587 continue ;
588588 }
589589 histos.fill (HIST (" hmcgendndeta" ), RecCol.posZ (), selColCent (RecCol), particle.eta (), particle.phi (), static_cast <double >(kSpAll ), kNoGenpTVar );
590- if (particle.pt () < kMinpTcut ) {
590+ if (particle.pt () < KminPtCut ) {
591591 histos.fill (HIST (" hmcgendndeta" ), RecCol.posZ (), selColCent (RecCol), particle.eta (), particle.phi (), static_cast <double >(kSpAll ), kGenpTup , -10.0 * particle.pt () + 2 );
592592 histos.fill (HIST (" hmcgendndeta" ), RecCol.posZ (), selColCent (RecCol), particle.eta (), particle.phi (), static_cast <double >(kSpAll ), kGenpTdown , 5.0 * particle.pt () + 0.5 );
593593 } else {
@@ -651,7 +651,7 @@ struct HeavyionMultiplicity {
651651 continue ;
652652 }
653653 histos.fill (HIST (" hmcgendndpt" ), selColCent (RecCol), particle.pt (), kNoGenpTVar );
654- if (particle.pt () < kMinpTcut ) {
654+ if (particle.pt () < KminPtCut ) {
655655 histos.fill (HIST (" hmcgendndpt" ), selColCent (RecCol), particle.pt (), kGenpTup , -10.0 * particle.pt () + 2 );
656656 histos.fill (HIST (" hmcgendndpt" ), selColCent (RecCol), particle.pt (), kGenpTdown , 5.0 * particle.pt () + 0.5 );
657657 } else {
@@ -685,7 +685,7 @@ struct HeavyionMultiplicity {
685685 }
686686 histos.fill (HIST (" hTracksCount" ), selColCent (RecCol), 1 );
687687 bool isFakeItsTracks = false ;
688- for (int i = 0 ; i < kNItslayers ; i++) {
688+ for (int i = 0 ; i < KnItsLayers ; i++) {
689689 if (Rectrack.mcMask () & 1 << i) {
690690 isFakeItsTracks = true ;
691691 histos.fill (HIST (" hTracksCount" ), selColCent (RecCol), i + 3 );
@@ -837,7 +837,7 @@ struct HeavyionMultiplicity {
837837 continue ;
838838 }
839839 histos.fill (HIST (" hmcgendndetapp" ), RecCol.posZ (), RecCol.centFT0M (), particle.eta (), particle.phi (), static_cast <double >(kSpAll ), kNoGenpTVar );
840- if (particle.pt () < kMinpTcut ) {
840+ if (particle.pt () < KminPtCut ) {
841841 histos.fill (HIST (" hmcgendndetapp" ), RecCol.posZ (), RecCol.centFT0M (), particle.eta (), particle.phi (), static_cast <double >(kSpAll ), kGenpTup , -10.0 * particle.pt () + 2 );
842842 histos.fill (HIST (" hmcgendndetapp" ), RecCol.posZ (), RecCol.centFT0M (), particle.eta (), particle.phi (), static_cast <double >(kSpAll ), kGenpTdown , 5.0 * particle.pt () + 0.5 );
843843 } else {
@@ -993,7 +993,7 @@ struct HeavyionMultiplicity {
993993 histos.fill (HIST (" hGenMCdndeta" ), mcCollision.posZ (), gencent, genoccu, particle.eta (), particle.phi ());
994994 if (atLeastOne) {
995995 histos.fill (HIST (" hGenMCAssoRecdndeta" ), mcCollision.posZ (), gencent, genoccu, particle.eta (), particle.phi (), static_cast <double >(kGenAll ), kNoGenpTVar );
996- if (particle.pt () < kMinpTcut ) {
996+ if (particle.pt () < KminPtCut ) {
997997 histos.fill (HIST (" hGenMCAssoRecdndeta" ), mcCollision.posZ (), gencent, genoccu, particle.eta (), particle.phi (), static_cast <double >(kGenAll ), kGenpTup , -10.0 * particle.pt () + 2 );
998998 histos.fill (HIST (" hGenMCAssoRecdndeta" ), mcCollision.posZ (), gencent, genoccu, particle.eta (), particle.phi (), static_cast <double >(kGenAll ), kGenpTdown , 5.0 * particle.pt () + 0.5 );
999999 } else {
0 commit comments