Changeset 1175 in svn for trunk/modules
- Timestamp:
- Jul 4, 2013, 1:03:09 PM (11 years ago)
- Location:
- trunk/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/PileUpMergerPythia8.cc
r1168 r1175 57 57 void PileUpMergerPythia8::Init() 58 58 { 59 const char *fileName; 60 59 61 fMeanPileUp = GetDouble("MeanPileUp", 10); 60 62 fZVertexSpread = GetDouble("ZVertexSpread", 0.05)*1.0E3; 61 63 62 fCMEnergy = GetDouble("CMEnergy", 14000.0); 63 fPTMin = GetDouble("PTMin", 0.5); 64 fPTMin = GetDouble("PTMin", 0.0); 64 65 65 fRandomSeed = GetInt("RandomSeed", 1); 66 fBeamAID = GetInt("BeamAID", 2212); 67 fBeamBID = GetInt("BeamBID", 2212); 68 69 // Pythia8 pile-up initialization 66 fileName = GetString("ConfigFile", "MinBias.cmnd"); 70 67 fPythia = new Pythia8::Pythia(); 71 fPythia->readString("SoftQCD:minBias = on"); 72 fPythia->init(fBeamAID, fBeamBID, fCMEnergy); 73 fPythia->rndm.init(fRandomSeed); 68 fPythia->readFile(fileName); 74 69 75 70 // import input array -
trunk/modules/PileUpMergerPythia8.h
r1167 r1175 39 39 Double_t fMeanPileUp; 40 40 Double_t fZVertexSpread; 41 Double_t fCMEnergy;42 41 Double_t fPTMin; 43 44 Int_t fRandomSeed;45 Int_t fBeamAID;46 Int_t fBeamBID;47 42 48 43 Pythia8::Pythia *fPythia; //!
Note:
See TracChangeset
for help on using the changeset viewer.