#include <AMPTHadronizer.h>
Public Member Functions | |
AMPTHadronizer (const edm::ParameterSet &) | |
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 () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
~AMPTHadronizer () 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) |
bool | ampt_init (const edm::ParameterSet &pset) |
HepMC::GenParticle * | build_ampt (int index, int barcode) |
HepMC::GenVertex * | build_ampt_vertex (int i, int id) |
bool | call_amptset (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 |
bool | get_particles (HepMC::GenEvent *evt) |
void | rotateEvtPlane () |
Private Attributes | |
double | alpha_ |
int | amptmode_ |
double | bmax_ |
double | bmin_ |
double | cosphi0_ |
int | deuteronfactor_ |
int | deuteronmode_ |
int | deuteronxsec_ |
int | diquarkembedding_ |
double | diquarkpx_ |
double | diquarkpy_ |
double | diquarkx_ |
double | diquarky_ |
int | doInitialAndFinalRadiation_ |
double | dpcoal_ |
double | drcoal_ |
double | dt_ |
double | efrm_ |
HepMC::GenEvent * | evt |
std::string | frame_ |
int | iap_ |
int | iat_ |
int | izp_ |
int | izpc_ |
int | izt_ |
bool | ks0decay_ |
int | ktkick_ |
int | maxmiss_ |
double | minijetpt_ |
double | mu_ |
int | nsembd_ |
int | ntmax_ |
double | phi0_ |
bool | phidecay_ |
bool | popcornmode_ |
double | popcornpar_ |
std::string | proj_ |
double | psembd_ |
edm::ParameterSet | pset_ |
double | pthard_ |
bool | quenchingmode_ |
double | quenchingpar_ |
bool | rotate_ |
double | shadowingfactor_ |
bool | shadowingmode_ |
bool | shadowingmodflag_ |
double | sinphi0_ |
double | stringFragA_ |
double | stringFragB_ |
std::string | targ_ |
double | tmaxembd_ |
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 32 of file AMPTHadronizer.h.
AMPTHadronizer::AMPTHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 40 of file AMPTHadronizer.cc.
|
override |
Definition at line 90 of file AMPTHadronizer.cc.
|
private |
Definition at line 96 of file AMPTHadronizer.cc.
References evt, hmain1, hparnt, and phi0_.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 239 of file AMPTHadronizer.cc.
References alpha_, amptmode_, anim, coal, deuteronfactor_, deuteronmode_, deuteronxsec_, diquarkembedding_, diquarkpx_, diquarkpy_, diquarkx_, diquarky_, doInitialAndFinalRadiation_, dpcoal_, drcoal_, dt_, embed, hparnt, input1, input2, izpc_, ks0decay_, ktkick_, ludat1, maxmiss_, minijetpt_, mu_, ntmax_, para2, para8, phidcy, phidecay_, popcorn, popcornmode_, popcornpar_, pthard_, quenchingmode_, quenchingpar_, resdcy, shadowingmode_, stringFragA_, and stringFragB_.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 117 of file AMPTHadronizer.cc.
References cosphi0_, MillePedeFileConverter_cfg::e, GenParticle::GenParticle, hbt, INVFLV, visualization-live-secondInstance_cfg::m, gen::p, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, sinphi0_, mathSSE::sqrt(), and mps_update::status.
Referenced by get_particles().
|
private |
Definition at line 141 of file AMPTHadronizer.cc.
References bphysicsOniaDQM_cfi::vertex.
Referenced by get_particles().
|
private |
Definition at line 228 of file AMPTHadronizer.cc.
References AMPTSET, amptDefault_cfi::iap, amptDefault_cfi::iat, amptDefault_cfi::izp, amptDefault_cfi::izt, amptDefault_cfi::proj, and amptDefault_cfi::targ.
Referenced by initializeForInternalPartons().
const char * AMPTHadronizer::classname | ( | ) | const |
Definition at line 310 of file AMPTHadronizer.cc.
bool AMPTHadronizer::decay | ( | ) |
Definition at line 302 of file AMPTHadronizer.cc.
|
inline |
Definition at line 45 of file AMPTHadronizer.h.
bool AMPTHadronizer::declareStableParticles | ( | const std::vector< int > & | pdg | ) |
Definition at line 288 of file AMPTHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 93 of file AMPTHadronizer.cc.
References amptRandomEngine, and gen::v.
void AMPTHadronizer::finalizeEvent | ( | ) |
Definition at line 306 of file AMPTHadronizer.cc.
bool AMPTHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 147 of file AMPTHadronizer.cc.
References add_heavy_ion_rec(), AMPT, bmax_, bmin_, gen::BaseHadronizer::event(), evt, frame_, get_particles(), rotate_, and rotateEvtPlane().
|
private |
Definition at line 167 of file AMPTHadronizer.cc.
References build_ampt(), build_ampt_vertex(), evt, GenParticle::GenParticle, hbt, mps_fire::i, LogDebug, and ecalTrigSettings_cff::particles.
Referenced by generatePartonsAndHadronize().
bool AMPTHadronizer::hadronize | ( | ) |
Definition at line 300 of file AMPTHadronizer.cc.
bool gen::AMPTHadronizer::initializeForExternalPartons | ( | ) |
bool AMPTHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 275 of file AMPTHadronizer.cc.
References ampt_init(), call_amptset(), efrm_, frame_, iap_, iat_, izp_, izt_, proj_, pset_, and targ_.
|
inline |
Definition at line 41 of file AMPTHadronizer.h.
bool AMPTHadronizer::residualDecay | ( | ) |
Definition at line 304 of file AMPTHadronizer.cc.
|
private |
Definition at line 291 of file AMPTHadronizer.cc.
References funct::cos(), cosphi0_, phi0_, pi, gen::ranart_(), funct::sin(), sinphi0_, and SiPixelPI::zero.
Referenced by generatePartonsAndHadronize().
void AMPTHadronizer::statistics | ( | ) |
Definition at line 308 of file AMPTHadronizer.cc.
|
private |
Definition at line 91 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 78 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 66 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 68 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 115 of file AMPTHadronizer.h.
Referenced by build_ampt(), and rotateEvtPlane().
|
private |
Definition at line 97 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 96 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 98 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 103 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 104 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 105 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 106 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 107 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 101 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 92 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 93 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 80 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 70 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 64 of file AMPTHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 71 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 74 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 76 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 75 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 90 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 77 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 94 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 102 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 100 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 99 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 89 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 108 of file AMPTHadronizer.h.
|
private |
Definition at line 79 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 113 of file AMPTHadronizer.h.
Referenced by add_heavy_ion_rec(), and rotateEvtPlane().
|
private |
Definition at line 95 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 83 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 84 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 72 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 109 of file AMPTHadronizer.h.
|
private |
Definition at line 65 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 88 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 86 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 87 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 116 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 112 of file AMPTHadronizer.h.
|
private |
Definition at line 85 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 111 of file AMPTHadronizer.h.
|
private |
Definition at line 114 of file AMPTHadronizer.h.
Referenced by build_ampt(), and rotateEvtPlane().
|
private |
Definition at line 81 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 82 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 73 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 110 of file AMPTHadronizer.h.