#include <HydjetHadronizer.h>
Public Member Functions | |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | hadronize () |
HydjetHadronizer (const edm::ParameterSet &) | |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
~HydjetHadronizer () 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::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) |
Private Member Functions | |
void | add_heavy_ion_rec (HepMC::GenEvent *evt) |
HepMC::GenParticle * | build_hyjet (int index, int barcode) |
HepMC::GenVertex * | build_hyjet_vertex (int i, int id) |
bool | call_hyinit (double energy, double a, int ifb, double bmin, double bmax, double bfix, int nh) |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
std::vector< std::string > const & | doSharedResources () const override |
bool | get_particles (HepMC::GenEvent *evt) |
bool | hydjet_init (const edm::ParameterSet &pset) |
double | nuclear_radius () const |
void | rotateEvtPlane () |
Private Attributes | |
double | abeamtarget_ |
int | angularspecselector_ |
double | bfixed_ |
double | bmax_ |
double | bmin_ |
int | cflag_ |
double | comenergy |
double | cosphi0_ |
bool | docollisionalenloss_ |
DEFAULT = true. More... | |
bool | doradiativeenloss_ |
bool | embedding_ |
HepMC::GenEvent * | evt |
double | fracsoftmult_ |
DEFAULT = true. More... | |
double | hadfreeztemp_ |
std::string | hymode_ |
unsigned int | maxEventsToPrint_ |
double | maxlongy_ |
double | maxtrany_ |
int | nhard_ |
int | nmultiplicity_ |
unsigned int | nquarkflavor_ |
int | nsoft_ |
int | nsub_ |
double | phi0_ |
edm::ParameterSet | pset_ |
Pythia6Service * | pythia6Service_ |
unsigned int | pythiaPylistVerbosity_ |
double | qgpt0_ |
double | qgptau0_ |
bool | rotate_ |
unsigned int | shadowingswitch_ |
double | signn_ |
double | sinphi0_ |
edm::InputTag | src_ |
Static Private Attributes | |
static const std::vector< std::string > | theSharedResources |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 35 of file HydjetHadronizer.h.
HydjetHadronizer::HydjetHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 64 of file HydjetHadronizer.cc.
References embedding_, LogDebug, maxEventsToPrint_, muonDTDigis_cfi::pset, pythiaPylistVerbosity_, and src_.
|
override |
Definition at line 115 of file HydjetHadronizer.cc.
References pythia6Service_.
|
private |
Definition at line 125 of file HydjetHadronizer.cc.
References evt, hyfpar, hyjpar, npart, nsub_, nuclear_radius(), and phi0_.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 151 of file HydjetHadronizer.cc.
References cosphi0_, GenParticle::GenParticle, hyjets, gen::p, and sinphi0_.
Referenced by get_particles().
|
private |
Definition at line 173 of file HydjetHadronizer.cc.
References cosphi0_, hyjets, mps_fire::i, sinphi0_, OrderedSet::t, and bphysicsOniaDQM_cfi::vertex.
Referenced by get_particles().
|
private |
Definition at line 343 of file HydjetHadronizer.cc.
References a, ReggeGribovPartonMC_AdvancedParameters_cfi::bmax, ReggeGribovPartonMC_AdvancedParameters_cfi::bmin, HCALHighEnergyHPDFilter_cfi::energy, HYINIT, and cms::cuda::nh.
Referenced by initializeForInternalPartons().
const char * HydjetHadronizer::classname | ( | ) | const |
Definition at line 484 of file HydjetHadronizer.cc.
bool HydjetHadronizer::decay | ( | ) |
Definition at line 476 of file HydjetHadronizer.cc.
|
inline |
Definition at line 48 of file HydjetHadronizer.h.
bool HydjetHadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 453 of file HydjetHadronizer.cc.
References gen::call_pygive(), gather_cfg::cout, mps_fire::i, and gen::pycomp_().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 122 of file HydjetHadronizer.cc.
References pythia6Service_, gen::Pythia6Service::setRandomEngine(), and gen::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 56 of file HydjetHadronizer.h.
References theSharedResources.
void HydjetHadronizer::finalizeEvent | ( | ) |
Definition at line 480 of file HydjetHadronizer.cc.
bool HydjetHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 189 of file HydjetHadronizer.cc.
References add_heavy_ion_rec(), bfixed_, cflag_, funct::cos(), cosphi0_, MillePedeFileConverter_cfg::e, embedding_, gen::BaseHadronizer::event(), edm::errors::EventCorruption, evt, get_particles(), gen::BaseHadronizer::getEDMEvent(), HYEVNT, hyflow, hyfpar, hyjpar, input, nhard_, nsoft_, nsub_, phi0_, pypars, pyqpar, pythia6Service_, rotate_, rotateEvtPlane(), funct::sin(), sinphi0_, and src_.
|
private |
Definition at line 260 of file HydjetHadronizer.cc.
References build_hyjet(), build_hyjet_vertex(), evt, GenParticle::GenParticle, hyjets, hyjpar, mps_fire::i, LogDebug, nhard_, nsoft_, nsub_, and ecalTrigSettings_cff::particles.
Referenced by generatePartonsAndHadronize().
bool HydjetHadronizer::hadronize | ( | ) |
Definition at line 474 of file HydjetHadronizer.cc.
|
private |
Definition at line 352 of file HydjetHadronizer.cc.
References angularspecselector_, docollisionalenloss_, doradiativeenloss_, fracsoftmult_, hadfreeztemp_, hyflow, hyjpar, hymode_, maxlongy_, maxtrany_, nquarkflavor_, pyqpar, qgpt0_, qgptau0_, shadowingswitch_, and signn_.
Referenced by initializeForInternalPartons().
bool gen::HydjetHadronizer::initializeForExternalPartons | ( | ) |
bool HydjetHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 433 of file HydjetHadronizer.cc.
References abeamtarget_, bfixed_, bmax_, bmin_, call_hyinit(), cflag_, comenergy, hydjet_init(), nmultiplicity_, nuclear_radius(), pset_, and pythia6Service_.
|
inlineprivate |
Definition at line 128 of file HydjetHadronizer.h.
References abeamtarget_, and funct::pow().
Referenced by add_heavy_ion_rec(), and initializeForInternalPartons().
bool HydjetHadronizer::readSettings | ( | int | ) |
Definition at line 424 of file HydjetHadronizer.cc.
References pythia6Service_, and gen::Pythia6Service::setGeneralParams().
bool HydjetHadronizer::residualDecay | ( | ) |
Definition at line 478 of file HydjetHadronizer.cc.
|
private |
Definition at line 466 of file HydjetHadronizer.cc.
References funct::cos(), cosphi0_, phi0_, pi, gen::pyr_(), funct::sin(), and sinphi0_.
Referenced by generatePartonsAndHadronize().
void HydjetHadronizer::statistics | ( | ) |
Definition at line 482 of file HydjetHadronizer.cc.
|
private |
Definition at line 71 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons(), and nuclear_radius().
|
private |
Definition at line 72 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 73 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 74 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 76 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 78 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 82 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 116 of file HydjetHadronizer.h.
Referenced by build_hyjet(), build_hyjet_vertex(), generatePartonsAndHadronize(), and rotateEvtPlane().
|
private |
|
private |
Definition at line 83 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 81 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and HydjetHadronizer().
|
private |
Definition at line 69 of file HydjetHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and get_particles().
|
private |
|
private |
Definition at line 91 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 93 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 94 of file HydjetHadronizer.h.
Referenced by HydjetHadronizer().
|
private |
Definition at line 95 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 98 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 102 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 103 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 106 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 105 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 101 of file HydjetHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 114 of file HydjetHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and rotateEvtPlane().
|
private |
Definition at line 70 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 124 of file HydjetHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), readSettings(), and ~HydjetHadronizer().
|
private |
number of active quark flavors in qgp DEFAULT=0; allowed values: 0,1,2,3.
Definition at line 108 of file HydjetHadronizer.h.
Referenced by HydjetHadronizer().
|
private |
Definition at line 109 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 111 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 117 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 119 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 121 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 115 of file HydjetHadronizer.h.
Referenced by build_hyjet(), build_hyjet_vertex(), generatePartonsAndHadronize(), and rotateEvtPlane().
|
private |
Definition at line 125 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and HydjetHadronizer().
|
staticprivate |
Definition at line 58 of file HydjetHadronizer.h.
Referenced by doSharedResources().