CMS 3D CMS Logo

PomwigHadronizer.h
Go to the documentation of this file.
1 #ifndef gen_PomwigHadronizer_h
2 #define gen_PomwigHadronizer_h
3 
5 
9 
10 #include <HepMC/IO_HERWIG.h>
11 
12 #include <string>
13 #include <vector>
14 
15 namespace CLHEP {
16  class HepRandomEngine;
17 }
18 
19 namespace gen {
21  public:
23  ~PomwigHadronizer() override;
24 
25  bool readSettings(int);
28 
29  bool declareStableParticles(const std::vector<int>& pdgIds);
30  bool declareSpecialSettings(const std::vector<std::string>&) { return true; }
31  void statistics();
32 
34  bool hadronize();
35  bool decay();
36  bool residualDecay();
37  void finalizeEvent();
38 
39  const char* classname() const { return "PomwigHadronizer"; }
40 
41  private:
42  void doSetRandomEngine(CLHEP::HepRandomEngine* v) override;
43  std::vector<std::string> const& doSharedResources() const override { return theSharedResources; }
44 
45  void clear();
46  bool initializeDPDF();
47 
48  static const std::vector<std::string> theSharedResources;
49 
50  bool needClear;
51 
56  bool printCards;
57 
58  double comEnergy;
61  int h1fit;
62 
63  bool useJimmy;
65  int numTrials;
66 
68 
69  HepMC::IO_HERWIG conv;
70  };
71 } // namespace gen
72 #endif
gen::PomwigHadronizer::needClear
bool needClear
Definition: PomwigHadronizer.h:50
gen::PomwigHadronizer::initializeForExternalPartons
bool initializeForExternalPartons()
Definition: PomwigHadronizer.cc:125
gen::PomwigHadronizer::doSharedResources
std::vector< std::string > const & doSharedResources() const override
Definition: PomwigHadronizer.h:43
gen::PomwigHadronizer::comEnergy
double comEnergy
Definition: PomwigHadronizer.h:58
gen::PomwigHadronizer::survivalProbability
double survivalProbability
Definition: PomwigHadronizer.h:59
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::PomwigHadronizer
PomwigHadronizer(const edm::ParameterSet &params)
Definition: PomwigHadronizer.cc:89
gen::PomwigHadronizer::numTrials
int numTrials
Definition: PomwigHadronizer.h:65
BaseHadronizer.h
gen::PomwigHadronizer::declareStableParticles
bool declareStableParticles(const std::vector< int > &pdgIds)
Definition: PomwigHadronizer.cc:271
gen::BaseHadronizer
Definition: BaseHadronizer.h:46
gen::PomwigHadronizer::initializeForInternalPartons
bool initializeForInternalPartons()
Definition: PomwigHadronizer.cc:210
gen::PomwigHadronizer::statistics
void statistics()
Definition: PomwigHadronizer.cc:278
gen::PomwigHadronizer::diffTopology
int diffTopology
Definition: PomwigHadronizer.h:60
gen::ParameterCollector
Definition: ParameterCollector.h:26
gen::PomwigHadronizer::decay
bool decay()
Definition: PomwigHadronizer.cc:333
gen::PomwigHadronizer::hadronize
bool hadronize()
Definition: PomwigHadronizer.cc:288
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
ParameterCollector.h
gen
Definition: PythiaDecays.h:13
CLHEP
Definition: CocoaGlobals.h:27
gen::PomwigHadronizer
Definition: PomwigHadronizer.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
gen::PomwigHadronizer::readSettings
bool readSettings(int)
Definition: PomwigHadronizer.cc:127
gen::PomwigHadronizer::declareSpecialSettings
bool declareSpecialSettings(const std::vector< std::string > &)
Definition: PomwigHadronizer.h:30
gen::Herwig6Instance
Definition: Herwig6Instance.h:22
gen::PomwigHadronizer::h1fit
int h1fit
Definition: PomwigHadronizer.h:61
gen::v
double v[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:74
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
gen::PomwigHadronizer::classname
const char * classname() const
Definition: PomwigHadronizer.h:39
gen::PomwigHadronizer::finalizeEvent
void finalizeEvent()
Definition: PomwigHadronizer.cc:325
gen::PomwigHadronizer::generatePartonsAndHadronize
bool generatePartonsAndHadronize()
Definition: PomwigHadronizer.cc:290
ParameterSetfwd.h
gen::PomwigHadronizer::conv
HepMC::IO_HERWIG conv
Definition: PomwigHadronizer.h:69
gen::PomwigHadronizer::residualDecay
bool residualDecay()
Definition: PomwigHadronizer.cc:363
gen::PomwigHadronizer::~PomwigHadronizer
~PomwigHadronizer() override
Definition: PomwigHadronizer.cc:109
gen::PomwigHadronizer::doSetRandomEngine
void doSetRandomEngine(CLHEP::HepRandomEngine *v) override
Definition: PomwigHadronizer.cc:111
Herwig6Instance.h