#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 () |
~HijingHadronizer () 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_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) |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
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::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 27 of file HijingHadronizer.h.
HijingHadronizer::HijingHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 54 of file HijingHadronizer.cc.
|
override |
Definition at line 76 of file HijingHadronizer.cc.
|
private |
Definition at line 84 of file HijingHadronizer.cc.
References evt, himain1, hiparnt, and phi0_.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 107 of file HijingHadronizer.cc.
References cosphi0_, GenParticle::GenParticle, himain2, gen::p, sinphi0_, and x.
Referenced by get_particles().
|
private |
Definition at line 136 of file HijingHadronizer.cc.
References cosphi0_, himain2, mps_fire::i, sinphi0_, submitPVValidationJobs::t, bphysicsOniaDQM_cfi::vertex, and x.
Referenced by get_particles().
|
private |
Definition at line 242 of file HijingHadronizer.cc.
References amptDefault_cfi::frame, HIJSET, amptDefault_cfi::iap, amptDefault_cfi::iat, amptDefault_cfi::izp, amptDefault_cfi::izt, amptDefault_cfi::proj, and amptDefault_cfi::targ.
Referenced by initializeForInternalPartons().
const char * HijingHadronizer::classname | ( | ) | const |
Definition at line 288 of file HijingHadronizer.cc.
bool HijingHadronizer::decay | ( | ) |
Definition at line 280 of file HijingHadronizer.cc.
|
inline |
Definition at line 40 of file HijingHadronizer.h.
bool HijingHadronizer::declareStableParticles | ( | const std::vector< int > & | pdg | ) |
Definition at line 268 of file HijingHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 81 of file HijingHadronizer.cc.
References hijRandomEngine, and gen::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 48 of file HijingHadronizer.h.
References theSharedResources.
void HijingHadronizer::finalizeEvent | ( | ) |
Definition at line 284 of file HijingHadronizer.cc.
bool HijingHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 149 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 174 of file HijingHadronizer.cc.
References build_hijing(), build_hijing_vertex(), evt, GenParticle::GenParticle, himain1, himain2, mps_fire::i, LogDebug, ecalTrigSettings_cff::particles, and mathSSE::sqrt().
Referenced by generatePartonsAndHadronize().
bool HijingHadronizer::hadronize | ( | ) |
Definition at line 278 of file HijingHadronizer.cc.
bool gen::HijingHadronizer::initializeForExternalPartons | ( | ) |
bool HijingHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 254 of file HijingHadronizer.cc.
References call_hijset(), efrm_, frame_, iap_, iat_, izp_, izt_, proj_, and targ_.
|
inline |
Definition at line 36 of file HijingHadronizer.h.
bool HijingHadronizer::residualDecay | ( | ) |
Definition at line 282 of file HijingHadronizer.cc.
|
private |
Definition at line 271 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 286 of file HijingHadronizer.cc.
|
private |
Definition at line 61 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 63 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 79 of file HijingHadronizer.h.
Referenced by build_hijing(), build_hijing_vertex(), and rotateEvtPlane().
|
private |
Definition at line 65 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 59 of file HijingHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 66 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 69 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 71 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 70 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 72 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 77 of file HijingHadronizer.h.
Referenced by add_heavy_ion_rec(), and rotateEvtPlane().
|
private |
Definition at line 67 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 60 of file HijingHadronizer.h.
|
private |
Definition at line 80 of file HijingHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 78 of file HijingHadronizer.h.
Referenced by build_hijing(), build_hijing_vertex(), and rotateEvtPlane().
|
private |
Definition at line 68 of file HijingHadronizer.h.
Referenced by initializeForInternalPartons().
|
staticprivate |
Definition at line 82 of file HijingHadronizer.h.
Referenced by doSharedResources().