#include <HijingHadronizer.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 () |
HijingHadronizer (const edm::ParameterSet &) | |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
virtual | ~HijingHadronizer () |
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 |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
virtual GenLumiInfoHeader * | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
const boost::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 (HepMC::GenEvent *event) |
void | resetEventInfo (GenEventInfoProduct *eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (lhef::LHEEvent *event) |
void | setLHERunInfo (lhef::LHERunInfo *runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer ()(false) |
Private Member Functions | |
void | add_heavy_ion_rec (HepMC::GenEvent *evt) |
HepMC::GenParticle * | build_hijing (int index, int barcode) |
HepMC::GenVertex * | build_hijing_vertex (int i, int id) |
bool | call_hijset (double efrm, std::string frame, std::string proj, std::string targ, int iap, int izp, int iat, int izt) |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual std::vector< std::string > const & | doSharedResources () const override |
bool | get_particles (HepMC::GenEvent *evt) |
void | rotateEvtPlane () |
Private Attributes | |
double | bmax_ |
double | bmin_ |
double | cosphi0_ |
double | efrm_ |
HepMC::GenEvent * | evt |
std::string | frame_ |
int | iap_ |
int | iat_ |
int | izp_ |
int | izt_ |
double | phi0_ |
std::string | proj_ |
edm::ParameterSet | pset_ |
bool | rotate_ |
double | sinphi0_ |
std::string | targ_ |
Static Private Attributes | |
static const std::vector< std::string > | theSharedResources = { edm::SharedResourceNames::kPythia6 } |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_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 28 of file HijingHadronizer.h.
HijingHadronizer::HijingHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 60 of file HijingHadronizer.cc.
|
virtual |
Definition at line 84 of file HijingHadronizer.cc.
|
private |
Definition at line 98 of file HijingHadronizer.cc.
References himain1, hiparnt, and phi0_.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 123 of file HijingHadronizer.cc.
References cosphi0_, GenParticle::GenParticle, himain2, diffTreeTool::index, gen::p, sinphi0_, and x().
Referenced by get_particles().
|
private |
Definition at line 152 of file HijingHadronizer.cc.
References cosphi0_, himain2, mps_fire::i, sinphi0_, lumiQTWidget::t, and x().
Referenced by get_particles().
|
private |
Definition at line 259 of file HijingHadronizer.cc.
References HIJSET.
Referenced by initializeForInternalPartons().
const char * HijingHadronizer::classname | ( | ) | const |
Definition at line 321 of file HijingHadronizer.cc.
bool HijingHadronizer::decay | ( | ) |
Definition at line 303 of file HijingHadronizer.cc.
|
inline |
Definition at line 41 of file HijingHadronizer.h.
References data-class-funcs::classname, myMessageLogger_cff::statistics, and findQualityFiles::v.
bool HijingHadronizer::declareStableParticles | ( | const std::vector< int > & | pdg | ) |
Definition at line 284 of file HijingHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 91 of file HijingHadronizer.cc.
References hijRandomEngine, and gen::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 50 of file HijingHadronizer.h.
References GenParticle::GenParticle, mps_fire::i, diffTreeTool::index, and AlCaHLTBitMon_QueryRunRegistry::string.
void HijingHadronizer::finalizeEvent | ( | ) |
Definition at line 313 of file HijingHadronizer.cc.
bool HijingHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 166 of file HijingHadronizer.cc.
References add_heavy_ion_rec(), bmax_, bmin_, gen::BaseHadronizer::event(), evt, frame_, get_particles(), HIJING, rotate_, and rotateEvtPlane().
|
private |
Definition at line 191 of file HijingHadronizer.cc.
References build_hijing(), build_hijing_vertex(), GenParticle::GenParticle, himain1, himain2, mps_fire::i, LogDebug, HadronAndPartonSelector_cfi::particles, and mathSSE::sqrt().
Referenced by generatePartonsAndHadronize().
bool HijingHadronizer::hadronize | ( | ) |
Definition at line 298 of file HijingHadronizer.cc.
bool gen::HijingHadronizer::initializeForExternalPartons | ( | ) |
bool HijingHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 269 of file HijingHadronizer.cc.
References call_hijset(), efrm_, frame_, iap_, iat_, izp_, izt_, proj_, and targ_.
|
inline |
Definition at line 37 of file HijingHadronizer.h.
bool HijingHadronizer::residualDecay | ( | ) |
Definition at line 308 of file HijingHadronizer.cc.
|
private |
Definition at line 290 of file HijingHadronizer.cc.
References funct::cos(), cosphi0_, gen::hijran_(), phi0_, pi, funct::sin(), and sinphi0_.
Referenced by generatePartonsAndHadronize().
void HijingHadronizer::statistics | ( | ) |
Definition at line 317 of file HijingHadronizer.cc.
|
private |
Definition at line 63 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 65 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 81 of file HijingHadronizer.h.
Referenced by build_hijing(), build_hijing_vertex(), and rotateEvtPlane().
|
private |
Definition at line 67 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 61 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 68 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 71 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 73 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 72 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 74 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 79 of file HijingHadronizer.h.
Referenced by add_heavy_ion_rec(), and rotateEvtPlane().
|
private |
Definition at line 69 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 62 of file HijingHadronizer.h.
|
private |
Definition at line 82 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 80 of file HijingHadronizer.h.
Referenced by build_hijing(), build_hijing_vertex(), and rotateEvtPlane().
|
private |
Definition at line 70 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
staticprivate |
Definition at line 84 of file HijingHadronizer.h.