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 () |
std::unique_ptr< 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 |
std::unique_ptr< HepMC::GenEvent > | getGenEvent () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::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 (std::unique_ptr< HepMC::GenEvent > event) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (std::unique_ptr< lhef::LHEEvent > event) |
void | setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer () noexcept(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::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_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 111 of file SherpaHadronizer.cc.
References arguments, Exception, edm::ParameterSet::exists(), spf::SherpackFetcher::Fetch(), edm::ParameterSet::getParameter(), mps_fire::i, isInitialized, maxEventsToPrint, submitPVValidationJobs::params, rearrangeWeights, SherpaDefaultWeight, SherpaParameterSet, SherpaPath, SherpaPathPiece, SherpaProcess, SherpaResultDir, AlCaHLTBitMon_QueryRunRegistry::string, variationweightlist, and weightlist.
|
override |
Definition at line 212 of file SherpaHadronizer.cc.
|
inline |
Definition at line 56 of file SherpaHadronizer.cc.
bool SherpaHadronizer::decay | ( | ) |
Definition at line 328 of file SherpaHadronizer.cc.
|
inline |
Definition at line 48 of file SherpaHadronizer.cc.
bool SherpaHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 233 of file SherpaHadronizer.cc.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 90 of file SherpaHadronizer.cc.
References Exception, isInitialized, isRNGinitialized, edm::errors::LogicError, summarizeEdmComparisonLogfiles::ran, CMS_SHERPA_RNG::setRandomEngine(), and findQualityFiles::v.
void SherpaHadronizer::finalizeEvent | ( | ) |
Definition at line 332 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::event(), and maxEventsToPrint.
bool SherpaHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 247 of file SherpaHadronizer.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, Exception, mps_fire::i, eostools::move(), rearrangeWeights, gen::BaseHadronizer::resetEvent(), variationweightlist, and weightlist.
|
overridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 362 of file SherpaHadronizer.cc.
References genWeightsTable_cfi::genLumiInfoHeader, mps_fire::i, rearrangeWeights, variationweightlist, and weightlist.
bool SherpaHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 219 of file SherpaHadronizer.cc.
References dir2webdir::argc, arguments, cmsBatch::argv, isInitialized, and MainPageGenerator::l.
|
inline |
Definition at line 45 of file SherpaHadronizer.cc.
bool SherpaHadronizer::residualDecay | ( | ) |
Definition at line 330 of file SherpaHadronizer.cc.
void SherpaHadronizer::statistics | ( | ) |
Definition at line 235 of file SherpaHadronizer.cc.
References gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 69 of file SherpaHadronizer.cc.
Referenced by initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 70 of file SherpaHadronizer.cc.
|
private |
Definition at line 71 of file SherpaHadronizer.cc.
Referenced by doSetRandomEngine(), initializeForInternalPartons(), and SherpaHadronizer().
|
private |
Definition at line 72 of file SherpaHadronizer.cc.
Referenced by doSetRandomEngine().
|
private |
Definition at line 68 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 62 of file SherpaHadronizer.cc.
|
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 63 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 64 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 61 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 65 of file SherpaHadronizer.cc.
Referenced by SherpaHadronizer().
|
private |
Definition at line 74 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().
|
private |
Definition at line 73 of file SherpaHadronizer.cc.
Referenced by generatePartonsAndHadronize(), getGenLumiInfoHeader(), and SherpaHadronizer().