Skip to content

Commit 8556ab0

Browse files
Update nucleiInJets.cxx
1 parent 060e7f2 commit 8556ab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGJE/Tasks/nucleiInJets.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,12 +2068,12 @@ struct nucleiInJets {
20682068
// require mc getProcess to get Decay and Material secondaries
20692069
int particleOriginType = 0;
20702070
auto isMcPrimary = false;
2071-
auto isMcTransport = false; // auto isMcSecondaryFromMaterial = false; auto isMcSecondaryFromWeakDecay = false;
2071+
// auto isMcTransport = false; // auto isMcSecondaryFromMaterial = false; auto isMcSecondaryFromWeakDecay = false;
20722072
if (mcTrack.isPhysicalPrimary()) {
20732073
isMcPrimary = true;
20742074
particleOriginType = 1;
20752075
} else if (mcTrack.getGenStatusCode() == -1) {
2076-
isMcTransport = true;
2076+
// isMcTransport = true;
20772077
particleOriginType = 2;
20782078
}
20792079

@@ -2094,7 +2094,7 @@ struct nucleiInJets {
20942094
auto mass = TDatabasePDG::Instance()->GetParticle(abs(mcTrack.pdgCode()))->Mass();
20952095
auto rapidity = RecoDecay::y(std::array{track.px(), track.py(), track.pz()}, mass);
20962096

2097-
if (rapidity > cfgtrkMaxRap)
2097+
if (std::abs(rapidity) > cfgtrkMaxRap)
20982098
continue;
20992099
// Proton
21002100
if (std::abs(mcTrack.pdgCode()) == 2212) { // Proton

0 commit comments

Comments
 (0)