CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
gen::PomwigHadronizer Class Reference

#include <PomwigHadronizer.h>

Inheritance diagram for gen::PomwigHadronizer:
gen::BaseHadronizer gen::Herwig6Instance gen::FortranInstance

Public Member Functions

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 &params)
 
bool readSettings (int)
 
bool residualDecay ()
 
void statistics ()
 
 ~PomwigHadronizer () override
 
- Public Member Functions inherited from gen::BaseHadronizer
 BaseHadronizer (edm::ParameterSet const &ps)
 
void cleanLHE ()
 
void generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu)
 
edm::EventgetEDMEvent () const
 
std::unique_ptr< HepMC::GenEventgetGenEvent ()
 
std::unique_ptr< GenEventInfoProductgetGenEventInfo ()
 
virtual std::unique_ptr< GenLumiInfoHeadergetGenLumiInfoHeader () const
 
GenRunInfoProductgetGenRunInfo ()
 
std::unique_ptr< lhef::LHEEventgetLHEEvent ()
 
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)
 
- Public Member Functions inherited from gen::Herwig6Instance
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
 
- Public Member Functions inherited from gen::FortranInstance
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)
 

Private Member Functions

void clear ()
 
void doSetRandomEngine (CLHEP::HepRandomEngine *v) override
 
std::vector< std::string > const & doSharedResources () const override
 
bool initializeDPDF ()
 

Private Attributes

double comEnergy
 
HepMC::IO_HERWIG conv
 
int diffTopology
 
bool doMPInteraction
 
bool doPDGConvert
 
int h1fit
 
int hepmcVerbosity
 
int herwigVerbosity
 
int maxEventsToPrint
 
bool needClear
 
int numTrials
 
gen::ParameterCollector parameters
 
bool printCards
 
double survivalProbability
 
bool useJimmy
 

Static Private Attributes

static const std::vector< std::string > theSharedResources
 

Additional Inherited Members

- Static Public Member Functions inherited from gen::FortranInstance
template<typename T >
static TgetInstance ()
 
- Static Public Attributes inherited from gen::FortranInstance
static const std::string kFortranInstance = "FortranInstance"
 
- Protected Member Functions inherited from gen::BaseHadronizer
std::unique_ptr< HepMC::GenEvent > & event ()
 
std::unique_ptr< GenEventInfoProduct > & eventInfo ()
 
lhef::LHEEventlheEvent ()
 
lhef::LHERunInfolheRunInfo ()
 
GenRunInfoProductrunInfo ()
 
- Protected Member Functions inherited from gen::Herwig6Instance
virtual bool hwwarn (const std::string &fn, int code)
 
- Protected Attributes inherited from gen::BaseHadronizer
std::string lheFile_
 
int randomIndex_
 

Detailed Description

Definition at line 20 of file PomwigHadronizer.h.

Constructor & Destructor Documentation

◆ PomwigHadronizer()

gen::PomwigHadronizer::PomwigHadronizer ( const edm::ParameterSet params)

Definition at line 89 of file PomwigHadronizer.cc.

91  needClear(false),
92  parameters(params.getParameter<edm::ParameterSet>("HerwigParameters")),
93  herwigVerbosity(params.getUntrackedParameter<int>("herwigVerbosity", 0)),
94  hepmcVerbosity(params.getUntrackedParameter<int>("hepmcVerbosity", 0)),
95  maxEventsToPrint(params.getUntrackedParameter<int>("maxEventsToPrint", 0)),
96  printCards(params.getUntrackedParameter<bool>("printCards", false)),
97  comEnergy(params.getParameter<double>("comEnergy")),
98  survivalProbability(params.getParameter<double>("survivalProbability")),
99  diffTopology(params.getParameter<int>("diffTopology")),
100  h1fit(params.getParameter<int>("h1fit")),
101  useJimmy(params.getParameter<bool>("useJimmy")),
102  doMPInteraction(params.getParameter<bool>("doMPInteraction")),
103  numTrials(params.getUntrackedParameter<int>("numTrialsMPI", 100)),
104  doPDGConvert(false) {
105  if (params.exists("doPDGConvert"))
106  doPDGConvert = params.getParameter<bool>("doPDGConvert");
107  }

References doPDGConvert, and CalibrationSummaryClient_cfi::params.

◆ ~PomwigHadronizer()

gen::PomwigHadronizer::~PomwigHadronizer ( )
override

Definition at line 109 of file PomwigHadronizer.cc.

109 { clear(); }

References clear().

Member Function Documentation

◆ classname()

const char* gen::PomwigHadronizer::classname ( ) const
inline

Definition at line 39 of file PomwigHadronizer.h.

39 { return "PomwigHadronizer"; }

◆ clear()

void gen::PomwigHadronizer::clear ( void  )
private

Definition at line 113 of file PomwigHadronizer.cc.

113  {
114  if (!needClear)
115  return;
116 
117  // teminate elementary process
118  call(hwefin);
119  if (useJimmy)
120  call(jmefin);
121 
122  needClear = false;
123  }

References gen::FortranInstance::call(), jmefin, needClear, and useJimmy.

Referenced by readSettings(), and ~PomwigHadronizer().

◆ decay()

bool gen::PomwigHadronizer::decay ( )

Definition at line 333 of file PomwigHadronizer.cc.

333  {
334  // hadron decays
335 
336  InstanceWrapper wrapper(this); // safe guard
337 
338  hwdhad(); // unstable particle decays
339  hwdhvy(); // heavy flavour decays
340  hwmevt(); // soft underlying event
341 
342  hwufne(); // finalize event
343 
344  if (hwevnt.IERROR)
345  return false;
346 
347  event().reset(new HepMC::GenEvent);
348  if (!conv.fill_next_event(event().get()))
349  throw cms::Exception("PomwigError") << "HepMC Conversion problems in event." << std::endl;
350 
351  // do particle ID conversion Herwig->PDG, if requested
352  if (doPDGConvert) {
353  for (HepMC::GenEvent::particle_iterator part = event()->particles_begin(); part != event()->particles_end();
354  ++part) {
355  if ((*part)->pdg_id() != HepPID::translateHerwigtoPDT((*part)->pdg_id()))
356  (*part)->set_pdg_id(HepPID::translateHerwigtoPDT((*part)->pdg_id()));
357  }
358  }
359 
360  return true;
361  }

References conv, doPDGConvert, gen::BaseHadronizer::event(), get, and wrapper.

◆ declareSpecialSettings()

bool gen::PomwigHadronizer::declareSpecialSettings ( const std::vector< std::string > &  )
inline

Definition at line 30 of file PomwigHadronizer.h.

30 { return true; }

◆ declareStableParticles()

bool gen::PomwigHadronizer::declareStableParticles ( const std::vector< int > &  pdgIds)

Definition at line 271 of file PomwigHadronizer.cc.

271  {
272  for (std::vector<int>::const_iterator iter = pdgIds.begin(); iter != pdgIds.end(); ++iter)
273  if (!markStable(*iter))
274  return false;
275  return true;
276  }

References CosmicGenFilterHelix_cfi::pdgIds.

◆ doSetRandomEngine()

void gen::PomwigHadronizer::doSetRandomEngine ( CLHEP::HepRandomEngine *  v)
overrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 111 of file PomwigHadronizer.cc.

References gen::Herwig6Instance::setHerwigRandomEngine(), and gen::v.

◆ doSharedResources()

std::vector<std::string> const& gen::PomwigHadronizer::doSharedResources ( ) const
inlineoverrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 43 of file PomwigHadronizer.h.

43 { return theSharedResources; }

References theSharedResources.

◆ finalizeEvent()

void gen::PomwigHadronizer::finalizeEvent ( )

Definition at line 325 of file PomwigHadronizer.cc.

325  {
327 
328  event()->set_signal_process_id(hwproc.IPROC);
329 
330  event()->weights().push_back(hwevnt.EVWGT);
331  }

References gen::BaseHadronizer::event(), lhef::LHEEvent::fixHepMCEventTimeOrdering(), and get.

◆ generatePartonsAndHadronize()

bool gen::PomwigHadronizer::generatePartonsAndHadronize ( )

Definition at line 290 of file PomwigHadronizer.cc.

290  {
291  // hard process generation, parton shower, hadron formation
292 
293  InstanceWrapper wrapper(this); // safe guard
294 
295  event().reset();
296 
297  // call herwig routines to create HEPEVT
298 
299  hwuine(); // initialize event
300 
301  if (callWithTimeout(10, hwepro)) { // process event and PS
302  // We hung for more than 10 seconds
303  int error = 199;
304  hwwarn_("HWHGUP", &error);
305  }
306 
307  hwbgen(); // parton cascades
308 
309  // call jimmy ... only if event is not killed yet by HERWIG
310  if (useJimmy && doMPInteraction && !hwevnt.IERROR && call_hwmsct())
311  return false;
312 
313  hwdhob(); // heavy quark decays
314  hwcfor(); // cluster formation
315  hwcdec(); // cluster decays
316 
317  // if event *not* killed by HERWIG, return true
318  if (!hwevnt.IERROR)
319  return true;
320 
321  hwufne(); // finalize event
322  return false;
323  }

References gen::Herwig6Instance::callWithTimeout(), doMPInteraction, relativeConstraints::error, gen::BaseHadronizer::event(), gen::hwwarn_(), useJimmy, and wrapper.

◆ hadronize()

bool gen::PomwigHadronizer::hadronize ( )

Definition at line 288 of file PomwigHadronizer.cc.

288 { return false; }

◆ initializeDPDF()

bool gen::PomwigHadronizer::initializeDPDF ( )
private

Definition at line 223 of file PomwigHadronizer.cc.

223  {
224  // Initialize H1 pomeron/reggeon
225 
226  if (diffTopology == 3)
227  return true;
228 
229  if ((diffTopology != 0) && (diffTopology != 1) && (diffTopology != 2))
230  return false;
231 
232  int nstru = hwpram.NSTRU;
233  int ifit = h1fit;
234  if ((nstru == 9) || (nstru == 10)) {
235  if ((ifit <= 0) || (ifit >= 7)) {
236  throw edm::Exception(edm::errors::Configuration, "PomwigError")
237  << " Attempted to set non existant H1 1997 fit index. Has to be 1...6";
238  }
239  std::string aux((nstru == 9) ? "Pomeron" : "Reggeon");
240  edm::LogVerbatim("") << " H1 1997 pdf's: " << aux << "\n"
241  << " IFIT = " << ifit;
242  double xp = 0.1;
243  double Q2 = 75.0;
244  double xpq[13];
245  qcd_1994(xp, Q2, xpq, 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;
250  std::string aux_0((isFitA) ? "A" : "B");
251  std::string aux_1((isPom) ? "Pomeron" : "Reggeon");
252  edm::LogVerbatim("") << " H1 2006 Fit " << aux_0 << " " << aux_1 << "\n"
253  << " IFIT = " << ifit;
254  double xp = 0.1;
255  double Q2 = 75.0;
256  double xpq[13];
257  double f2[2];
258  double fl[2];
259  double c2[2];
260  double cl[2];
261  qcd_2006(xp, Q2, ifit, xpq, f2, fl, c2, cl);
262  } else {
263  throw edm::Exception(edm::errors::Configuration, "PomwigError")
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)";
266  }
267 
268  return true;
269  }

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().

◆ initializeForExternalPartons()

bool gen::PomwigHadronizer::initializeForExternalPartons ( )

Definition at line 125 of file PomwigHadronizer.cc.

125 { return false; }

◆ initializeForInternalPartons()

bool gen::PomwigHadronizer::initializeForInternalPartons ( )

Definition at line 210 of file PomwigHadronizer.cc.

210  {
211  call(hwuinc);
212 
213  hwusta("PI0 ", 1);
214 
215  if (!initializeDPDF())
216  return false;
217 
218  call(hweini);
219 
220  return true;
221  }

References gen::FortranInstance::call(), and initializeDPDF().

◆ readSettings()

bool gen::PomwigHadronizer::readSettings ( int  )

Definition at line 127 of file PomwigHadronizer.cc.

127  {
128  clear();
129 
130  edm::LogVerbatim("") << "----------------------------------------------\n"
131  << "Initializing PomwigHadronizer\n"
132  << "----------------------------------------------\n";
133 
134  // Call hwudat to set up HERWIG block data
135  hwudat();
136 
137  // Setting basic parameters ...
138  hwproc.PBEAM1 = comEnergy / 2.;
139  hwproc.PBEAM2 = comEnergy / 2.;
140  // Choose beam particles for POMWIG depending on topology
141  switch (diffTopology) {
142  case 0: //DPE
143  hwbmch.PART1[0] = 'E';
144  hwbmch.PART1[1] = '-';
145  hwbmch.PART2[0] = 'E';
146  hwbmch.PART2[1] = '-';
147  break;
148  case 1: //SD survive PART1
149  hwbmch.PART1[0] = 'E';
150  hwbmch.PART1[1] = '-';
151  hwbmch.PART2[0] = 'P';
152  hwbmch.PART2[1] = ' ';
153  break;
154  case 2: //SD survive PART2
155  hwbmch.PART1[0] = 'P';
156  hwbmch.PART1[1] = ' ';
157  hwbmch.PART2[0] = 'E';
158  hwbmch.PART2[1] = '-';
159  break;
160  case 3: //Non diffractive
161  hwbmch.PART1[0] = 'P';
162  hwbmch.PART1[1] = ' ';
163  hwbmch.PART2[0] = 'P';
164  hwbmch.PART2[1] = ' ';
165  break;
166  default:
167  throw edm::Exception(edm::errors::Configuration, "PomwigError")
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)";
170  break;
171  }
172  for (int i = 2; i < 8; ++i) {
173  hwbmch.PART1[i] = ' ';
174  hwbmch.PART2[i] = ' ';
175  }
176 
177  // initialize other common blocks ...
178  call(hwigin);
179 
180  hwevnt.MAXER = 100000000; // O(inf)
181  hwpram.LWSUD = 0; // don't write Sudakov form factors
182  hwdspn.LWDEC = 0; // don't write three/four body decays
183  // (no fort.77 and fort.88 ...)a
184 
185  std::memset(hwprch.AUTPDF, ' ', sizeof hwprch.AUTPDF);
186  for (unsigned int i = 0; i < 2; i++) {
187  hwpram.MODPDF[i] = -111;
188  std::memcpy(hwprch.AUTPDF[i], "HWLHAPDF", 8);
189  }
190 
191  hwevnt.MAXPR = maxEventsToPrint;
192  hwpram.IPRINT = herwigVerbosity;
193 
194  edm::LogVerbatim("") << "------------------------------------\n"
195  << "Reading HERWIG parameters\n"
196  << "------------------------------------\n";
197 
199  edm::LogVerbatim("") << " " << *line;
200  if (!give(*line))
202  << "Herwig 6 did not accept the following: \"" << *line << "\"." << std::endl;
203  }
204 
205  needClear = true;
206 
207  return true;
208  }

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.

◆ residualDecay()

bool gen::PomwigHadronizer::residualDecay ( )

Definition at line 363 of file PomwigHadronizer.cc.

363 { return true; }

◆ statistics()

void gen::PomwigHadronizer::statistics ( )

Definition at line 278 of file PomwigHadronizer.cc.

278  {
279  double RNWGT = 1. / hwevnt.NWGTS;
280  double AVWGT = hwevnt.WGTSUM * RNWGT;
281 
282  double xsec = 1.0e3 * AVWGT;
283  xsec = survivalProbability * xsec;
284 
285  runInfo().setInternalXSec(xsec);
286  }

References gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setInternalXSec(), and survivalProbability.

Member Data Documentation

◆ comEnergy

double gen::PomwigHadronizer::comEnergy
private

Definition at line 58 of file PomwigHadronizer.h.

Referenced by readSettings().

◆ conv

HepMC::IO_HERWIG gen::PomwigHadronizer::conv
private

Definition at line 69 of file PomwigHadronizer.h.

Referenced by decay().

◆ diffTopology

int gen::PomwigHadronizer::diffTopology
private

Definition at line 60 of file PomwigHadronizer.h.

Referenced by initializeDPDF(), and readSettings().

◆ doMPInteraction

bool gen::PomwigHadronizer::doMPInteraction
private

Definition at line 64 of file PomwigHadronizer.h.

Referenced by generatePartonsAndHadronize().

◆ doPDGConvert

bool gen::PomwigHadronizer::doPDGConvert
private

Definition at line 67 of file PomwigHadronizer.h.

Referenced by decay(), and PomwigHadronizer().

◆ h1fit

int gen::PomwigHadronizer::h1fit
private

Definition at line 61 of file PomwigHadronizer.h.

Referenced by initializeDPDF().

◆ hepmcVerbosity

int gen::PomwigHadronizer::hepmcVerbosity
private

Definition at line 54 of file PomwigHadronizer.h.

◆ herwigVerbosity

int gen::PomwigHadronizer::herwigVerbosity
private

Definition at line 53 of file PomwigHadronizer.h.

Referenced by readSettings().

◆ maxEventsToPrint

int gen::PomwigHadronizer::maxEventsToPrint
private

Definition at line 55 of file PomwigHadronizer.h.

Referenced by readSettings().

◆ needClear

bool gen::PomwigHadronizer::needClear
private

Definition at line 50 of file PomwigHadronizer.h.

Referenced by clear(), and readSettings().

◆ numTrials

int gen::PomwigHadronizer::numTrials
private

Definition at line 65 of file PomwigHadronizer.h.

◆ parameters

gen::ParameterCollector gen::PomwigHadronizer::parameters
private

Definition at line 52 of file PomwigHadronizer.h.

◆ printCards

bool gen::PomwigHadronizer::printCards
private

Definition at line 56 of file PomwigHadronizer.h.

◆ survivalProbability

double gen::PomwigHadronizer::survivalProbability
private

Definition at line 59 of file PomwigHadronizer.h.

Referenced by statistics().

◆ theSharedResources

const std::vector< std::string > gen::PomwigHadronizer::theSharedResources
staticprivate

◆ useJimmy

bool gen::PomwigHadronizer::useJimmy
private

Definition at line 63 of file PomwigHadronizer.h.

Referenced by clear(), and generatePartonsAndHadronize().

gen::PomwigHadronizer::needClear
bool needClear
Definition: PomwigHadronizer.h:50
mps_fire.i
i
Definition: mps_fire.py:355
edm::SharedResourceNames::kHerwig6
static const std::string kHerwig6
Definition: SharedResourceNames.h:31
gen::PomwigHadronizer::comEnergy
double comEnergy
Definition: PomwigHadronizer.h:58
gen::Herwig6Instance::setHerwigRandomEngine
void setHerwigRandomEngine(CLHEP::HepRandomEngine *v)
Definition: Herwig6Instance.h:38
gen::PomwigHadronizer::survivalProbability
double survivalProbability
Definition: PomwigHadronizer.h:59
qcd_1994
#define qcd_1994
Definition: PomwigHadronizer.cc:70
gen::PomwigHadronizer::herwigVerbosity
int herwigVerbosity
Definition: PomwigHadronizer.h:53
gen::PomwigHadronizer::clear
void clear()
Definition: PomwigHadronizer.cc:113
gen::PomwigHadronizer::initializeDPDF
bool initializeDPDF()
Definition: PomwigHadronizer.cc:223
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
gen::PomwigHadronizer::numTrials
int numTrials
Definition: PomwigHadronizer.h:65
gen::FortranInstance::kFortranInstance
static const std::string kFortranInstance
Definition: FortranInstance.h:88
gen::ParameterCollector::const_iterator
Definition: ParameterCollector.h:35
hwprch
#define hwprch
Definition: herwig.h:60
wrapper
static HepMC::HEPEVT_Wrapper wrapper
Definition: BeamHaloProducer.cc:47
GenRunInfoProduct::setInternalXSec
void setInternalXSec(const XSec &xsec)
Definition: GenRunInfoProduct.h:26
relativeConstraints.error
error
Definition: relativeConstraints.py:53
gen::PomwigHadronizer::diffTopology
int diffTopology
Definition: PomwigHadronizer.h:60
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
jmefin
#define jmefin
Definition: herwig.h:318
parameters
parameters
Definition: BeamSpot_PayloadInspector.cc:14
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition: GetRecoTauVFromDQM_MC_cff.py:38
part
part
Definition: HCALResponse.h:20
gen::PomwigHadronizer::doMPInteraction
bool doMPInteraction
Definition: PomwigHadronizer.h:64
gen::PomwigHadronizer::parameters
gen::ParameterCollector parameters
Definition: PomwigHadronizer.h:52
gen::PomwigHadronizer::maxEventsToPrint
int maxEventsToPrint
Definition: PomwigHadronizer.h:55
gen::PomwigHadronizer::hepmcVerbosity
int hepmcVerbosity
Definition: PomwigHadronizer.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
gen::FortranInstance::call
void call(void(&fn)())
Definition: FortranInstance.h:20
edm::ParameterSet
Definition: ParameterSet.h:36
gen::PomwigHadronizer::useJimmy
bool useJimmy
Definition: PomwigHadronizer.h:63
gen::PomwigHadronizer::theSharedResources
static const std::vector< std::string > theSharedResources
Definition: PomwigHadronizer.h:48
DeadROC_duringRun.f2
f2
Definition: DeadROC_duringRun.py:220
gen::PomwigHadronizer::h1fit
int h1fit
Definition: PomwigHadronizer.h:61
gen::v
double v[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:74
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
CosmicGenFilterHelix_cfi.pdgIds
pdgIds
Definition: CosmicGenFilterHelix_cfi.py:5
gen::PomwigHadronizer::doPDGConvert
bool doPDGConvert
Definition: PomwigHadronizer.h:67
gen::PomwigHadronizer::printCards
bool printCards
Definition: PomwigHadronizer.h:56
edm::LogVerbatim
Definition: MessageLogger.h:297
gen::hwwarn_
void hwwarn_(const char *method, int *id)
lhef::LHEEvent::fixHepMCEventTimeOrdering
static void fixHepMCEventTimeOrdering(HepMC::GenEvent *event)
Definition: LHEEvent.cc:451
get
#define get
gen::BaseHadronizer::event
std::unique_ptr< HepMC::GenEvent > & event()
Definition: BaseHadronizer.h:86
gen::BaseHadronizer::BaseHadronizer
BaseHadronizer(edm::ParameterSet const &ps)
Definition: BaseHadronizer.cc:12
gen::Herwig6Instance::callWithTimeout
bool callWithTimeout(unsigned int secs, void(*fn)())
Definition: Herwig6Instance.h:30
Exception
Definition: hltDiff.cc:246
gen::PomwigHadronizer::conv
HepMC::IO_HERWIG conv
Definition: PomwigHadronizer.h:69
qcd_2006
#define qcd_2006
Definition: PomwigHadronizer.cc:75
cms::Exception
Definition: Exception.h:70
event
Definition: event.py:1
mps_splice.line
line
Definition: mps_splice.py:76
gen::BaseHadronizer::runInfo
GenRunInfoProduct & runInfo()
Definition: BaseHadronizer.h:85
edm::errors::Configuration
Definition: EDMException.h:36
hwdspn
#define hwdspn
Definition: herwig.h:220
gen::Herwig6Instance::give
bool give(const std::string &line)
Definition: Herwig6Instance.cc:173