#include <Pythia6Service.h>
Public Member Functions | |
void | closePYUPDA () |
void | closeSLHA () |
virtual void | enter () |
void | openPYUPDA (const char *, bool write_file) |
void | openSLHA (const char *) |
Pythia6Service () | |
Pythia6Service (edm::ParameterSet const &) | |
void | setCSAParams () |
void | setGeneralParams () |
void | setPYUPDAParams (bool afterPyinit) |
void | setSLHAFromHeader (const std::vector< std::string > &lines) |
void | setSLHAParams () |
~Pythia6Service () | |
Public Member Functions inherited from gen::FortranInstance | |
void | call (void(&fn)()) |
template<typename T > | |
T | call (T(&fn)()) |
template<typename A > | |
void | call (void(&fn)(A), A a) |
template<typename T , typename A > | |
T | call (T(&fn)(A), A a) |
template<typename A1 , typename A2 > | |
void | call (void(&fn)(A1, A2), A1 a1, A2 a2) |
template<typename T , typename A1 , typename A2 > | |
T | call (T(&fn)(A1, A2), A1 a1, A2 a2) |
FortranInstance () | |
virtual void | leave () |
virtual void | upEvnt () |
virtual void | upInit () |
virtual bool | upVeto () |
virtual | ~FortranInstance () |
Private Attributes | |
bool | fInitialising |
std::vector< std::string > | fParamCSA |
std::vector< std::string > | fParamGeneral |
std::vector< std::string > | fParamPYUPDA |
std::vector< std::string > | fParamSLHA |
CLHEP::HepRandomEngine * | fRandomEngine |
int | fUnitPYUPDA |
int | fUnitSLHA |
Static Private Attributes | |
static Pythia6Service * | fPythia6Owner = 0 |
Friends | |
double | gen::pyr_ (int *) |
Additional Inherited Members | |
Static Public Member Functions inherited from gen::FortranInstance | |
template<typename T > | |
static T * | getInstance () |
Definition at line 26 of file Pythia6Service.h.
Pythia6Service::Pythia6Service | ( | ) |
Definition at line 59 of file Pythia6Service.cc.
Pythia6Service::Pythia6Service | ( | edm::ParameterSet const & | ps | ) |
Definition at line 64 of file Pythia6Service.cc.
References edm::hlt::Exception, fParamCSA, fParamGeneral, fParamPYUPDA, fParamSLHA, fPythia6Owner, edm::ParameterSet::getParameter(), geometryCSVtoXML::line, and beamvalidation::lines.
Pythia6Service::~Pythia6Service | ( | ) |
Definition at line 141 of file Pythia6Service.cc.
References fParamCSA, fParamGeneral, fParamPYUPDA, fParamSLHA, and fPythia6Owner.
void Pythia6Service::closePYUPDA | ( | ) |
Definition at line 242 of file Pythia6Service.cc.
References fiocls_(), and fUnitPYUPDA.
void Pythia6Service::closeSLHA | ( | ) |
Definition at line 234 of file Pythia6Service.cc.
References fiocls_(), and fUnitSLHA.
Referenced by gen::Pythia6Hadronizer::initializeForExternalPartons(), and gen::Pythia6Hadronizer::initializeForInternalPartons().
|
virtual |
Reimplemented from gen::FortranInstance.
Definition at line 152 of file Pythia6Service.cc.
References gen::call_pygive(), gen::FortranInstance::enter(), and fPythia6Owner.
void Pythia6Service::openPYUPDA | ( | const char * | file, |
bool | write_file | ||
) |
Definition at line 215 of file Pythia6Service.cc.
References call_pyupda(), gather_cfg::cout, fioopn_(), fioopnw_(), and fUnitPYUPDA.
Referenced by setPYUPDAParams().
void Pythia6Service::openSLHA | ( | const char * | file | ) |
Definition at line 199 of file Pythia6Service.cc.
References gen::call_pygive(), fioopn_(), and fUnitSLHA.
Referenced by setSLHAFromHeader(), and setSLHAParams().
void Pythia6Service::setCSAParams | ( | ) |
Definition at line 185 of file Pythia6Service.cc.
References fParamCSA, mathSSE::return(), gen::txgive_(), and gen::txgive_init_().
Referenced by gen::Pythia6Gun::beginRun(), and gen::Pythia6Hadronizer::initializeForInternalPartons().
void Pythia6Service::setGeneralParams | ( | ) |
Definition at line 169 of file Pythia6Service.cc.
References gen::call_pygive(), fParamGeneral, and mathSSE::return().
Referenced by gen::Pythia6Gun::beginRun(), gen::Pythia6Hadronizer::initializeForExternalPartons(), gen::PyquenHadronizer::initializeForInternalPartons(), gen::HydjetHadronizer::initializeForInternalPartons(), gen::Pythia6Hadronizer::initializeForInternalPartons(), and gen::ExhumeHadronizer::initializeForInternalPartons().
void Pythia6Service::setPYUPDAParams | ( | bool | afterPyinit | ) |
Definition at line 292 of file Pythia6Service.cc.
References end, connectstrParser::f1, mergeVDriftHistosByStation::file, fParamPYUPDA, edm::FileInPath::fullPath(), openPYUPDA(), and cond::rpcobtemp::temp.
Referenced by gen::Pythia6Hadronizer::initializeForExternalPartons(), and gen::Pythia6Hadronizer::initializeForInternalPartons().
void Pythia6Service::setSLHAFromHeader | ( | const std::vector< std::string > & | lines | ) |
Definition at line 343 of file Pythia6Service.cc.
References createPayload::block, runregparse::blocks, call_pyslha(), mergeVDriftHistosByStation::file, alignmentValidation::fname, getHLTprescales::index, geometryCSVtoXML::line, NULL, openSLHA(), dbtoconf::out, pos, gen::pydat1_, python.multivaluedict::remove(), mathSSE::return(), split, mathSSE::sqrt(), EcalElecEmulTccFlatFileProducerFromTPG_cfg::tokens, and relativeConstraints::value.
Referenced by gen::Pythia6Hadronizer::initializeForExternalPartons().
void Pythia6Service::setSLHAParams | ( | ) |
Definition at line 251 of file Pythia6Service.cc.
References end, connectstrParser::f1, mergeVDriftHistosByStation::file, fParamSLHA, edm::FileInPath::fullPath(), openSLHA(), and cond::rpcobtemp::temp.
Referenced by gen::Pythia6Gun::beginRun(), and gen::Pythia6Hadronizer::initializeForInternalPartons().
|
friend |
|
private |
Definition at line 51 of file Pythia6Service.h.
|
private |
Definition at line 56 of file Pythia6Service.h.
Referenced by Pythia6Service(), setCSAParams(), and ~Pythia6Service().
|
private |
Definition at line 55 of file Pythia6Service.h.
Referenced by Pythia6Service(), setGeneralParams(), and ~Pythia6Service().
|
private |
Definition at line 58 of file Pythia6Service.h.
Referenced by Pythia6Service(), setPYUPDAParams(), and ~Pythia6Service().
|
private |
Definition at line 57 of file Pythia6Service.h.
Referenced by Pythia6Service(), setSLHAParams(), and ~Pythia6Service().
|
staticprivate |
Definition at line 62 of file Pythia6Service.h.
Referenced by enter(), Pythia6Service(), and ~Pythia6Service().
|
private |
Definition at line 53 of file Pythia6Service.h.
Referenced by gen::pyr_().
|
private |
Definition at line 60 of file Pythia6Service.h.
Referenced by closePYUPDA(), and openPYUPDA().
|
private |
Definition at line 59 of file Pythia6Service.h.
Referenced by closeSLHA(), and openSLHA().