File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
@@ -2198,4 +2198,4 @@ struct nucleiInJets {
21982198WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
21992199{
22002200 return WorkflowSpec{adaptAnalysisTask<nucleiInJets>(cfgc, TaskName{" nuclei-in-jets" })};
2201- };
2201+ };
You can’t perform that action at this time.
0 commit comments