File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -912,8 +912,8 @@ struct HfCorrelatorLcHadrons {
912912 }
913913 }
914914
915- int8_t const chargeLc = static_cast <int8_t >(pdg->GetParticle (particle.pdgCode ())->Charge ()); // Retrieve charge
916- int8_t const chargeAssoc = static_cast <int8_t >(pdg->GetParticle (particleAssoc.pdgCode ())->Charge ()); // Retrieve charge
915+ auto const chargeLc = static_cast <int8_t >(pdg->GetParticle (particle.pdgCode ())->Charge ()); // Retrieve charge
916+ auto const chargeAssoc = static_cast <int8_t >(pdg->GetParticle (particleAssoc.pdgCode ())->Charge ()); // Retrieve charge
917917
918918 int trackOrigin = RecoDecay::getCharmHadronOrigin (mcParticles, particleAssoc, true );
919919 registry.fill (HIST (" hPtParticleAssocMcGen" ), particleAssoc.pt ());
@@ -1157,9 +1157,9 @@ struct HfCorrelatorLcHadrons {
11571157 if (pidTrkApplied && (std::abs (particleAssoc.pdgCode ()) != kProton )) {
11581158 continue ; // proton PID
11591159 }
1160- int8_t const chargeLc = static_cast <int8_t >(pdg->GetParticle (candidate.pdgCode ())->Charge ()); // Retrieve charge
1161- int8_t const chargeAssoc = static_cast <int8_t >(pdg->GetParticle (particleAssoc.pdgCode ())->Charge ()); // Retrieve charge
1162- float cent = 100.0 ; // will be updated later
1160+ auto const chargeLc = static_cast <int8_t >(pdg->GetParticle (candidate.pdgCode ())->Charge ()); // Retrieve charge
1161+ auto const chargeAssoc = static_cast <int8_t >(pdg->GetParticle (particleAssoc.pdgCode ())->Charge ()); // Retrieve charge
1162+ float cent = 100.0 ; // will be updated later
11631163
11641164 int trackOrigin = RecoDecay::getCharmHadronOrigin (mcParticles, particleAssoc, true );
11651165 bool isLcPrompt = candidate.originMcGen () == RecoDecay::OriginType::Prompt;
You can’t perform that action at this time.
0 commit comments