|
const char * | classname () const |
|
bool | decay () |
|
bool | declareSpecialSettings (const std::vector< std::string > &) |
|
bool | declareStableParticles (const std::vector< int > &pdgIds) |
|
void | finalizeEvent () |
|
bool | generatePartonsAndHadronize () |
|
bool | hadronize () |
|
bool | initializeForExternalPartons () |
|
bool | initializeForInternalPartons () |
|
| PomwigHadronizer (const edm::ParameterSet ¶ms) |
|
bool | readSettings (int) |
|
bool | residualDecay () |
|
void | statistics () |
|
| ~PomwigHadronizer () override |
|
| BaseHadronizer (edm::ParameterSet const &ps) |
|
void | cleanLHE () |
|
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu) |
|
edm::Event & | getEDMEvent () const |
|
std::unique_ptr< HepMC::GenEvent > | getGenEvent () |
|
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
|
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
|
GenRunInfoProduct & | getGenRunInfo () |
|
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
|
const std::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
|
const std::string & | gridpackPath () const |
|
int | randomIndex () const |
|
const std::string & | randomInitConfigDescription () const |
|
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
|
void | resetEvent (std::unique_ptr< HepMC::GenEvent > event) |
|
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
|
virtual bool | select (HepMC::GenEvent *) const |
|
void | setEDMEvent (edm::Event &event) |
|
void | setLHEEvent (std::unique_ptr< lhef::LHEEvent > event) |
|
void | setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo) |
|
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
|
std::vector< std::string > const & | sharedResources () const |
|
virtual | ~BaseHadronizer () noexcept(false) |
|
bool | callWithTimeout (unsigned int secs, void(*fn)()) |
|
bool | give (const std::string &line) |
|
| Herwig6Instance () |
|
void | openParticleSpecFile (const std::string fileName) |
|
void | setHerwigRandomEngine (CLHEP::HepRandomEngine *v) |
|
| ~Herwig6Instance () override |
|
template<typename T > |
T | call (T(&fn)()) |
|
template<typename T , typename A > |
T | call (T(&fn)(A), A a) |
|
template<typename T , typename A1 , typename A2 > |
T | call (T(&fn)(A1, A2), A1 a1, A2 a2) |
|
void | call (void(&fn)()) |
|
template<typename A > |
void | call (void(&fn)(A), A a) |
|
template<typename A1 , typename A2 > |
void | call (void(&fn)(A1, A2), A1 a1, A2 a2) |
|
virtual void | enter () |
|
| FortranInstance () |
|
virtual void | leave () |
|
virtual void | upEvnt () |
|
virtual void | upInit () |
|
virtual bool | upVeto () |
|
virtual | ~FortranInstance () noexcept(false) |
|
Definition at line 20 of file PomwigHadronizer.h.
bool gen::PomwigHadronizer::initializeDPDF |
( |
| ) |
|
|
private |
Definition at line 223 of file PomwigHadronizer.cc.
232 int nstru = hwpram.NSTRU;
234 if ((nstru == 9) || (nstru == 10)) {
235 if ((ifit <= 0) || (ifit >= 7)) {
237 <<
" Attempted to set non existant H1 1997 fit index. Has to be 1...6";
241 <<
" IFIT = " << ifit;
246 }
else if ((nstru >= 12) && (nstru <= 15)) {
247 bool isPom = (nstru == 12) || (nstru == 14);
248 bool isFitA = (nstru == 12) || (nstru == 13);
249 ifit = (isFitA) ? 1 : 2;
251 std::string aux_1((isPom) ?
"Pomeron" :
"Reggeon");
253 <<
" IFIT = " << ifit;
264 <<
" Only running Pomeron H1 1997 (NSTRU=9), H1 2006 fit A (NSTRU=12) and H1 2006 fit B (NSTRU=14) or "
265 "Reggeon H1 1997 (NSTRU=10), H1 2006 fit A (NSTRU=13) and H1 2006 fit B (NSTRU=15)";
References printConversionInfo::aux, GetRecoTauVFromDQM_MC_cff::cl, edm::errors::Configuration, diffTopology, Exception, DeadROC_duringRun::f2, h1fit, qcd_1994, qcd_2006, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initializeForInternalPartons().
bool gen::PomwigHadronizer::readSettings |
( |
int |
| ) |
|
Definition at line 127 of file PomwigHadronizer.cc.
131 <<
"Initializing PomwigHadronizer\n"
132 <<
"----------------------------------------------\n";
143 hwbmch.PART1[0] =
'E';
144 hwbmch.PART1[1] =
'-';
145 hwbmch.PART2[0] =
'E';
146 hwbmch.PART2[1] =
'-';
149 hwbmch.PART1[0] =
'E';
150 hwbmch.PART1[1] =
'-';
151 hwbmch.PART2[0] =
'P';
152 hwbmch.PART2[1] =
' ';
155 hwbmch.PART1[0] =
'P';
156 hwbmch.PART1[1] =
' ';
157 hwbmch.PART2[0] =
'E';
158 hwbmch.PART2[1] =
'-';
161 hwbmch.PART1[0] =
'P';
162 hwbmch.PART1[1] =
' ';
163 hwbmch.PART2[0] =
'P';
164 hwbmch.PART2[1] =
' ';
168 <<
" Invalid Diff. Topology. Must be DPE(diffTopology = 0), SD particle 1 (diffTopology = 1), SD particle "
169 "2 (diffTopology = 2) and Non diffractive (diffTopology = 3)";
172 for (
int i = 2;
i < 8; ++
i) {
173 hwbmch.PART1[
i] =
' ';
174 hwbmch.PART2[
i] =
' ';
180 hwevnt.MAXER = 100000000;
186 for (
unsigned int i = 0;
i < 2;
i++) {
187 hwpram.MODPDF[
i] = -111;
188 std::memcpy(
hwprch.AUTPDF[
i],
"HWLHAPDF", 8);
195 <<
"Reading HERWIG parameters\n"
196 <<
"------------------------------------\n";
202 <<
"Herwig 6 did not accept the following: \"" << *
line <<
"\"." << std::endl;
References gen::FortranInstance::call(), clear(), comEnergy, edm::errors::Configuration, diffTopology, Exception, gen::Herwig6Instance::give(), herwigVerbosity, hwdspn, hwprch, mps_fire::i, mps_splice::line, maxEventsToPrint, and needClear.