Skip to content

Commit d7fa029

Browse files
committed
remove comments
1 parent 803bb8b commit d7fa029

1 file changed

Lines changed: 0 additions & 47 deletions

File tree

PWGHF/HFC/Tasks/taskFlow.cxx

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -4335,7 +4335,6 @@ struct HfTaskFlow {
43354335
if (reconstructedCollision.globalIndex() != mcCollision.bestCollisionIndex()) {
43364336
continue;
43374337
}
4338-
// auto groupedTpcTracks = tpcTracks.sliceBy(perColTracks, reconstructedCollision.globalIndex());
43394338
hasReconstructedCollision = true;
43404339
}
43414340

@@ -4369,52 +4368,6 @@ struct HfTaskFlow {
43694368
}
43704369
}
43714370

4372-
// // fill histogram for MC Gen TPC particles
4373-
// for (const auto& tpcParticle : mcParticles) {
4374-
// auto pdgTpcParticle = pdg->GetParticle(tpcParticle.pdgCode());
4375-
// // check MC related properties of the particle
4376-
// if (!tpcParticle.isPhysicalPrimary() || !tpcParticle.producedByGenerator()) {
4377-
// continue;
4378-
// }
4379-
// // check charge of the particle
4380-
// if (pdgTpcParticle == nullptr || std::abs(pdgTpcParticle->Charge()) == 0) {
4381-
// continue;
4382-
// }
4383-
// // check kinematics of the particle
4384-
// if (std::abs(tpcParticle.eta()) > configTask.etaMcParticlesTriggerMax ||
4385-
// tpcParticle.pt() < configTask.ptMcParticlesTriggerMin ||
4386-
// tpcParticle.pt() > configTask.ptMcParticlesTriggerMax) {
4387-
// continue;
4388-
// }
4389-
// if (hasReconstructedCollision) {
4390-
// registry.fill(HIST("MC/hEfficiencyTrigger"), mcCollision.posZ(), tpcParticle.eta(), tpcParticle.pt());
4391-
// }
4392-
// }
4393-
4394-
// // fill histogram for MC Gen MFT particles
4395-
// for (const auto& mftParticle : mcParticles) {
4396-
// auto pdgMftParticle = pdg->GetParticle(mftParticle.pdgCode());
4397-
// // check MC related properties of the particle
4398-
// if (!mftParticle.isPhysicalPrimary() || !mftParticle.producedByGenerator()) {
4399-
// continue;
4400-
// }
4401-
// // check charge of the particle
4402-
// if (pdgMftParticle == nullptr || std::abs(pdgMftParticle->Charge()) == 0) {
4403-
// continue;
4404-
// }
4405-
// // check kinematics of the particle
4406-
// if (mftParticle.eta() > configTask.etaMcParticlesAssocMax ||
4407-
// mftParticle.eta() < configTask.etaMcParticlesAssocMin ||
4408-
// mftParticle.pt() < configTask.ptMcParticlesAssocMin ||
4409-
// mftParticle.pt() > configTask.ptMcParticlesAssocMax) {
4410-
// continue;
4411-
// }
4412-
4413-
// if (hasReconstructedCollision) {
4414-
// registry.fill(HIST("MC/hEfficiencyAssociated"), mcCollision.posZ(), mftParticle.eta(), mftParticle.pt());
4415-
// }
4416-
// }
4417-
44184371
// fill histogram for reconstructed TPC tracks
44194372
for (const auto& reconstructedCollision : reconstructedCollisions) {
44204373
if (!isAcceptedCollision(reconstructedCollision)) {

0 commit comments

Comments
 (0)