Skip to content

Commit 25f90c4

Browse files
Benedikt Volkelsawenzel
authored andcommitted
Adjust to EVTGEN bump
1 parent 9e25586 commit 25f90c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

MC/config/PWGDQ/EvtGen/GeneratorEvtGen.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ class GeneratorEvtGen : public T
8181

8282
EvtRandom::setRandomEngine(mEng);
8383

84-
char* decayTablePath = gSystem->ExpandPathName("$EVTGEN_ROOT/share/DECAY_2010.DEC"); // default decay table
85-
char* particleTablePath = gSystem->ExpandPathName("$EVTGEN_ROOT/share/evt.pdl"); // particle table
84+
char* decayTablePath = gSystem->ExpandPathName("$EVTGEN_ROOT/share/EvtGen/DECAY_2010.DEC"); // default decay table
85+
char* particleTablePath = gSystem->ExpandPathName("$EVTGEN_ROOT/share/EvtGen/evt.pdl"); // particle table
8686
std::list<EvtDecayBase*> extraModels;
8787

8888
EvtExternalGenList genList;
@@ -92,7 +92,7 @@ class GeneratorEvtGen : public T
9292
mEvtGen = new EvtGen(decayTablePath, particleTablePath, mEng, fRadCorrEngine, &extraModels);
9393
ForceDecay();
9494
if (mDecayTablePath.Contains("DEC"))
95-
mEvtGen->readUDecay(mDecayTablePath); // user decay table
95+
mEvtGen->readUDecay(mDecayTablePath.Data()); // user decay table
9696
return kTRUE;
9797
};
9898

0 commit comments

Comments
 (0)