Changeset 1175 in svn for trunk/modules/PileUpMergerPythia8.cc
- Timestamp:
- Jul 4, 2013, 1:03:09 PM (11 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.