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 () |
GenLumiInfoHeader * | getGenLumiInfoHeader () const override |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
SherpaHadronizer (const edm::ParameterSet ¶ms) | |
void | statistics () |
~SherpaHadronizer () 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 |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
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 |
virtual | ~BaseHadronizer ()(false) |
Public Attributes | |
bool | rearrangeWeights |
Private Member Functions | |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
Private Attributes | |
std::vector< std::string > | arguments |
SHERPA::Sherpa * | Generator = new SHERPA::Sherpa() |
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 |
std::vector< std::string > | variationweightlist |
std::vector< std::string > | weightlist |
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 40 of file SherpaHadronizer.cc.
SherpaHadronizer::SherpaHadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 115 of file SherpaHadronizer.cc.
References arguments, Exception, edm::ParameterSet::exists(), spf::SherpackFetcher::Fetch(), edm::ParameterSet::getParameter(), mps_fire::i, isInitialized, maxEventsToPrint, rearrangeWeights, SherpaDefaultWeight, SherpaParameterSet, SherpaPath, SherpaPathPiece, SherpaProcess, SherpaResultDir, AlCaHLTBitMon_QueryRunRegistry::string, variationweightlist, and weightlist.
|
override |
Definition at line 200 of file SherpaHadronizer.cc.
|
inline |
Definition at line 56 of file SherpaHadronizer.cc.
References doSetRandomEngine(), and findQualityFiles::v.
bool SherpaHadronizer::decay | ( | ) |
Definition at line 328 of file SherpaHadronizer.cc.
Referenced by declareSpecialSettings().
|
inline |
Definition at line 48 of file SherpaHadronizer.cc.
References decay(), generatePartonsAndHadronize(), and statistics().
bool SherpaHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 226 of file SherpaHadronizer.cc.
Referenced by readSettings().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 97 of file SherpaHadronizer.cc.
References Exception, isRNGinitialized, edm::errors::LogicError, summarizeEdmComparisonLogfiles::ran, and CMS_SHERPA_RNG::setRandomEngine().
Referenced by classname().
void SherpaHadronizer::finalizeEvent | ( | ) |
Definition at line 338 of file SherpaHadronizer.cc.
References DECLARE_GETTER(), gen::BaseHadronizer::event(), maxEventsToPrint, and harvestTrackValidationPlots::str.
bool SherpaHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 246 of file SherpaHadronizer.cc.
References MessageLogger_cfi::cerr, HTMLExport::elem(), Exception, mps_fire::i, rearrangeWeights, gen::BaseHadronizer::resetEvent(), variationweightlist, and weightlist.
Referenced by declareSpecialSettings().
|
overridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 368 of file SherpaHadronizer.cc.
References mps_fire::i, rearrangeWeights, variationweightlist, weightlist, and GenLumiInfoHeader::weightNames().
bool SherpaHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 208 of file SherpaHadronizer.cc.
References dir2webdir::argc, arguments, cmsBatch::argv, isInitialized, and checklumidiff::l.
Referenced by readSettings().
|
inline |
Definition at line 45 of file SherpaHadronizer.cc.
References declareStableParticles(), and initializeForInternalPartons().
bool SherpaHadronizer::residualDecay | ( | ) |
Definition at line 333 of file SherpaHadronizer.cc.
void SherpaHadronizer::statistics | ( | ) |
Definition at line 232 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
Referenced by declareSpecialSettings().
|
private |
Definition at line 71 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 72 of file SherpaHadronizer.cc.
|
private |
Definition at line 73 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 74 of file SherpaHadronizer.cc.
Referenced by doSetRandomEngine().
|
private |
Definition at line 70 of file SherpaHadronizer.cc.
Referenced by finalizeEvent(), and SherpaHadronizer().
bool SherpaHadronizer::rearrangeWeights |
Definition at line 52 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().
|
private |
Definition at line 64 of file SherpaHadronizer.cc.
|
private |
Definition at line 68 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 69 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 65 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 66 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 63 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 67 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 76 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().
|
private |
Definition at line 75 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().