Public Member Functions | |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &pdgIds) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
SherpaHadronizer (const edm::ParameterSet ¶ms) | |
void | statistics () |
~SherpaHadronizer () | |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
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 | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
Private Attributes | |
std::vector< std::string > | arguments |
SHERPA::Sherpa | Generator |
bool | isInitialized |
bool | isRNGinitialized |
unsigned int | maxEventsToPrint |
std::string | SherpaChecksum |
double | SherpaDefaultWeight |
edm::ParameterSet | SherpaParameterSet |
std::string | SherpaPath |
std::string | SherpaPathPiece |
std::string | SherpaProcess |
std::string | SherpaResultDir |
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 37 of file SherpaHadronizer.cc.
SherpaHadronizer::SherpaHadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 109 of file SherpaHadronizer.cc.
References arguments, gather_cfg::cout, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), i, isInitialized, maxEventsToPrint, SherpaDefaultWeight, SherpaParameterSet, SherpaPath, SherpaPathPiece, SherpaProcess, SherpaResultDir, and AlCaHLTBitMon_QueryRunRegistry::string.
SherpaHadronizer::~SherpaHadronizer | ( | ) |
Definition at line 174 of file SherpaHadronizer.cc.
|
inline |
Definition at line 51 of file SherpaHadronizer.cc.
bool SherpaHadronizer::decay | ( | ) |
Definition at line 274 of file SherpaHadronizer.cc.
|
inline |
Definition at line 45 of file SherpaHadronizer.cc.
bool SherpaHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 201 of file SherpaHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 90 of file SherpaHadronizer.cc.
References gather_cfg::cout, Exception, isRNGinitialized, edm::errors::LogicError, summarizeEdmComparisonLogfiles::ran, and CMS_SHERPA_RNG::setRandomEngine().
void SherpaHadronizer::finalizeEvent | ( | ) |
Definition at line 284 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::event(), and maxEventsToPrint.
bool SherpaHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 231 of file SherpaHadronizer.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, relval_steps::gen(), and gen::BaseHadronizer::resetEvent().
bool SherpaHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 178 of file SherpaHadronizer.cc.
References dir2webdir::argc, arguments, cmsStageWithFailover::argv, isInitialized, and cmsLHEtoEOSManager::l.
|
inline |
Definition at line 42 of file SherpaHadronizer.cc.
bool SherpaHadronizer::residualDecay | ( | ) |
Definition at line 279 of file SherpaHadronizer.cc.
void SherpaHadronizer::statistics | ( | ) |
Definition at line 216 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 66 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 67 of file SherpaHadronizer.cc.
|
private |
Definition at line 68 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 69 of file SherpaHadronizer.cc.
Referenced by doSetRandomEngine().
|
private |
Definition at line 65 of file SherpaHadronizer.cc.
Referenced by finalizeEvent(), and SherpaHadronizer().
|
private |
Definition at line 59 of file SherpaHadronizer.cc.
|
private |
Definition at line 63 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 64 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 60 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 61 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 58 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 62 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().