#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 () |
virtual | ~AMPTHadronizer () |
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 |
~BaseHadronizer () | |
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) |
virtual 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::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 33 of file AMPTHadronizer.h.
AMPTHadronizer::AMPTHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 50 of file AMPTHadronizer.cc.
|
virtual |
Definition at line 102 of file AMPTHadronizer.cc.
|
private |
Definition at line 113 of file AMPTHadronizer.cc.
References hmain1, hparnt, and phi0_.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 261 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 136 of file AMPTHadronizer.cc.
References cosphi0_, MillePedeFileConverter_cfg::e, GenParticle::GenParticle, hbt, diffTreeTool::index, INVFLV, funct::m, gen::p, sinphi0_, mathSSE::sqrt(), and mps_update::status.
Referenced by get_particles().
|
private |
Definition at line 165 of file AMPTHadronizer.cc.
Referenced by get_particles().
|
private |
Definition at line 254 of file AMPTHadronizer.cc.
References AMPTSET.
Referenced by initializeForInternalPartons().
const char * AMPTHadronizer::classname | ( | ) | const |
Definition at line 349 of file AMPTHadronizer.cc.
bool AMPTHadronizer::decay | ( | ) |
Definition at line 331 of file AMPTHadronizer.cc.
|
inline |
Definition at line 46 of file AMPTHadronizer.h.
References data-class-funcs::classname, GenParticle::GenParticle, i, diffTreeTool::index, muonDTDigis_cfi::pset, myMessageLogger_cff::statistics, AlCaHLTBitMon_QueryRunRegistry::string, and findQualityFiles::v.
bool AMPTHadronizer::declareStableParticles | ( | const std::vector< int > & | pdg | ) |
Definition at line 311 of file AMPTHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 107 of file AMPTHadronizer.cc.
References amptRandomEngine, and gen::v.
void AMPTHadronizer::finalizeEvent | ( | ) |
Definition at line 341 of file AMPTHadronizer.cc.
bool AMPTHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 172 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 193 of file AMPTHadronizer.cc.
References build_ampt(), build_ampt_vertex(), GenParticle::GenParticle, hbt, i, LogDebug, and HadronAndPartonSelector_cfi::particles.
Referenced by generatePartonsAndHadronize().
bool AMPTHadronizer::hadronize | ( | ) |
Definition at line 326 of file AMPTHadronizer.cc.
bool gen::AMPTHadronizer::initializeForExternalPartons | ( | ) |
bool AMPTHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 298 of file AMPTHadronizer.cc.
References ampt_init(), call_amptset(), efrm_, frame_, iap_, iat_, izp_, izt_, proj_, pset_, and targ_.
|
inline |
Definition at line 42 of file AMPTHadronizer.h.
bool AMPTHadronizer::residualDecay | ( | ) |
Definition at line 336 of file AMPTHadronizer.cc.
|
private |
Definition at line 317 of file AMPTHadronizer.cc.
References funct::cos(), cosphi0_, phi0_, pi, gen::ranart_(), funct::sin(), and sinphi0_.
Referenced by generatePartonsAndHadronize().
void AMPTHadronizer::statistics | ( | ) |
Definition at line 345 of file AMPTHadronizer.cc.
|
private |
Definition at line 92 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 79 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 67 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 69 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 116 of file AMPTHadronizer.h.
Referenced by build_ampt(), and rotateEvtPlane().
|
private |
Definition at line 98 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 97 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 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 108 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 93 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 94 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 81 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 71 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 65 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 72 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 75 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 77 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 76 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 91 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 78 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 95 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 101 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 90 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 109 of file AMPTHadronizer.h.
|
private |
Definition at line 80 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 114 of file AMPTHadronizer.h.
Referenced by add_heavy_ion_rec(), and rotateEvtPlane().
|
private |
Definition at line 96 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 85 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.
|
private |
Definition at line 66 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 89 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 88 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 117 of file AMPTHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 113 of file AMPTHadronizer.h.
|
private |
Definition at line 86 of file AMPTHadronizer.h.
Referenced by ampt_init().
|
private |
Definition at line 112 of file AMPTHadronizer.h.
|
private |
Definition at line 115 of file AMPTHadronizer.h.
Referenced by build_ampt(), and rotateEvtPlane().
|
private |
Definition at line 82 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 74 of file AMPTHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 111 of file AMPTHadronizer.h.