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 () | |
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 () |
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 () | |
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 41 of file SherpaHadronizer.cc.
SherpaHadronizer::SherpaHadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 118 of file SherpaHadronizer.cc.
References arguments, edm::hlt::Exception, edm::ParameterSet::exists(), spf::SherpackFetcher::Fetch(), edm::ParameterSet::getParameter(), i, isInitialized, maxEventsToPrint, rearrangeWeights, SherpaDefaultWeight, SherpaParameterSet, SherpaPath, SherpaPathPiece, SherpaProcess, SherpaResultDir, AlCaHLTBitMon_QueryRunRegistry::string, variationweightlist, and weightlist.
SherpaHadronizer::~SherpaHadronizer | ( | ) |
Definition at line 204 of file SherpaHadronizer.cc.
|
inline |
Definition at line 57 of file SherpaHadronizer.cc.
bool SherpaHadronizer::decay | ( | ) |
Definition at line 334 of file SherpaHadronizer.cc.
|
inline |
Definition at line 49 of file SherpaHadronizer.cc.
bool SherpaHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 231 of file SherpaHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 99 of file SherpaHadronizer.cc.
References edm::hlt::Exception, isRNGinitialized, edm::errors::LogicError, summarizeEdmComparisonLogfiles::ran, and CMS_SHERPA_RNG::setRandomEngine().
void SherpaHadronizer::finalizeEvent | ( | ) |
Definition at line 344 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::event(), and maxEventsToPrint.
bool SherpaHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 252 of file SherpaHadronizer.cc.
References dtNoiseDBValidation_cfg::cerr, HTMLExport::elem(), edm::hlt::Exception, relval_steps::gen(), i, rearrangeWeights, gen::BaseHadronizer::resetEvent(), variationweightlist, and weightlist.
|
overridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 375 of file SherpaHadronizer.cc.
References i, rearrangeWeights, variationweightlist, weightlist, and GenLumiInfoHeader::weightNames().
bool SherpaHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 213 of file SherpaHadronizer.cc.
References dir2webdir::argc, arguments, getDQMSummary::argv, isInitialized, and prof2calltree::l.
|
inline |
Definition at line 46 of file SherpaHadronizer.cc.
bool SherpaHadronizer::residualDecay | ( | ) |
Definition at line 339 of file SherpaHadronizer.cc.
void SherpaHadronizer::statistics | ( | ) |
Definition at line 237 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 72 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 73 of file SherpaHadronizer.cc.
|
private |
Definition at line 74 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 75 of file SherpaHadronizer.cc.
Referenced by doSetRandomEngine().
|
private |
Definition at line 71 of file SherpaHadronizer.cc.
Referenced by finalizeEvent(), and SherpaHadronizer().
bool SherpaHadronizer::rearrangeWeights |
Definition at line 53 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().
|
private |
Definition at line 65 of file SherpaHadronizer.cc.
|
private |
Definition at line 69 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 70 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 66 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 67 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 64 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 68 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 78 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().
|
private |
Definition at line 77 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().