Changeset eced822 in git for modules/PileUpMergerPythia8.cc
- Timestamp:
- Jul 4, 2013, 1:03:09 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- af9008e
- Parents:
- 94dcf80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PileUpMergerPythia8.cc
r94dcf80 reced822 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.