1 #ifndef Pyquen_Hadronizer_h 2 #define Pyquen_Hadronizer_h 21 #include "HepMC/GenEvent.h" 24 class HepRandomEngine;
37 bool generatePartonsAndHadronize();
41 bool readSettings(
int );
42 bool initializeForExternalPartons();
43 bool initializeForInternalPartons();
44 bool declareStableParticles(
const std::vector<int>& );
46 virtual bool select(HepMC::GenEvent* evtTry)
const override {
return selector_->filter(evtTry); }
53 virtual void doSetRandomEngine(CLHEP::HepRandomEngine*
v)
override;
54 virtual std::vector<std::string>
const&
doSharedResources()
const override {
return theSharedResources; }
58 void add_heavy_ion_rec(HepMC::GenEvent *evt);
62 const char* nucleon();
63 void rotateEvtPlane(HepMC::GenEvent* evt,
double angle);
90 unsigned int maxEventsToPrint_;
virtual bool select(HepMC::GenEvent *evtTry) const override
bool doradiativeenloss_
if true perform quenching (default = true)
bool docollisionalenloss_
DEFAULT = true.
virtual std::vector< std::string > const & doSharedResources() const override
double bmax_
min impact param (fm); valid only if cflag_!=0
bool declareSpecialSettings(const std::vector< std::string > &)
int cflag_
fixed impact param (fm); valid only if cflag_=0
unsigned int pythiaPylistVerbosity_
HepMC verbosity flag.
bool doIsospin_
DEFAULT = true.
unsigned int angularspecselector_
beam/target atomic mass number
edm::InputTag src_
Pythia PYLIST Verbosity flag.
Pythia6Service * pythia6Service_
unsigned int nquarkflavor_
Proton fraction in the nucleus.
bool doquench_
collision energy
double comenergy
centrality flag =0 fixed impact param, <>0 minbias
bool pythiaHepMCVerbosity_
Events to print if verbosity.
static const std::vector< std::string > theSharedResources
BaseHiGenEvtSelector * selector_
double bfixed_
max impact param (fm); valid only if cflag_!=0
int protonSide_
Run n&p with proper ratios; if false, only p+p collisions.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)