4040#include " Framework/runDataProcessing.h"
4141
4242#include < TClonesArray.h>
43- #include < TLorentzVector.h> // o2-linter: disable= root/lorentz-vector (TLorentzVector is needed for TPythia8Decayer)
43+ // #include <TLorentzVector.h> // o2-linter: disable= root/lorentz-vector (TLorentzVector is needed for TPythia8Decayer)
4444#include < TPDGCode.h>
45- #include < TParticle.h>
46- #include < TPythia8Decayer.h>
45+ // #include <TParticle.h>
46+ // #include <TPythia8Decayer.h>
4747
4848#include < cmath>
4949#include < map>
@@ -112,9 +112,9 @@ struct HadronPhotonCorrelation {
112112 float ptMinAssoc;
113113 float ptMaxAssoc;
114114
115- TPythia8Decayer* decayer = new TPythia8Decayer;
116- TLorentzVector* motherLV = new TLorentzVector(); // o2-linter: disable= root/lorentz-vector (TLorentzVector is needed for TPythia8Decayer)
117- TClonesArray* decayParticles = new TClonesArray(" TParticle" , 10 );
115+ // TPythia8Decayer* decayer = new TPythia8Decayer;
116+ // TLorentzVector* motherLV = new TLorentzVector(); // o2-linter: disable= root/lorentz-vector (TLorentzVector is needed for TPythia8Decayer)
117+ // TClonesArray* decayParticles = new TClonesArray("TParticle", 10);
118118
119119 HistogramRegistry registry{" histogram registry" };
120120
@@ -391,7 +391,7 @@ struct HadronPhotonCorrelation {
391391 }
392392
393393 // Initialize Pythia8 decay particle
394- bool initDecayParticle (const TParticle* particle)
394+ /* bool initDecayParticle(const TParticle* particle)
395395 {
396396
397397 if (particle->GetMother(0) != 0) {
@@ -411,7 +411,7 @@ struct HadronPhotonCorrelation {
411411 }
412412
413413 return true;
414- }
414+ }*/
415415
416416 // Initialize trigger tracks
417417 template <typename T>
@@ -991,7 +991,7 @@ struct HadronPhotonCorrelation {
991991 }
992992
993993 // Use PYTHIA to simulate decay
994- decayer->Init ();
994+ /* decayer->Init();
995995 for (int pid = 1; pid <= nHadrons; pid++) {
996996 TParticlePDG* pdgParticle = nullptr;
997997
@@ -1025,7 +1025,7 @@ struct HadronPhotonCorrelation {
10251025 registry.fill(HIST("generated/charged/hCocktailPhotonCorrelGen"), track_trig.pt(), track_assoc.pt(), daughter->Pt(), daughter->Eta() - track_trig.eta(), dphi, pidCodes[pdgParticle->GetName()], collision.weight());
10261026 }
10271027 }
1028- }
1028+ }*/
10291029 }
10301030 registry.fill (HIST (" generated/charged/hPionMultGen" ), nPions, collision.weight ());
10311031 }
@@ -1147,7 +1147,7 @@ struct HadronPhotonCorrelation {
11471147 }
11481148
11491149 // Use PYTHIA to simulate decay
1150- decayer->Init ();
1150+ /* decayer->Init();
11511151 motherLV->SetPtEtaPhiM(track_assoc.pt(), track_assoc.eta(), track_assoc.phi(), pdgParticle->Mass());
11521152 decayer->Decay(track_assoc.pdgCode(), motherLV);
11531153 decayer->ImportParticles(decayParticles);
@@ -1167,7 +1167,7 @@ struct HadronPhotonCorrelation {
11671167 float dphi = RecoDecay::constrainAngle(daughter->Phi() - track_trig.phi(), -PIHalf);
11681168 registry.fill(HIST("generated/neutral/hCocktailPhotonCorrelGen"), track_trig.pt(), track_assoc.pt(), daughter->Pt(), daughter->Eta() - track_trig.eta(), dphi, pidCodes[pdgParticle->GetName()], collision.weight());
11691169 }
1170- }
1170+ }*/
11711171 }
11721172 registry.fill (HIST (" generated/neutral/hNeutralMultGen" ), nNeutrals, collision.weight ());
11731173 }
0 commit comments