#include <RivetAnalyzer.h>
Private Attributes | |
std::unique_ptr< Rivet::AnalysisHandler > | _analysisHandler |
std::vector< std::string > | _analysisNames |
std::vector< std::string > | _cleanedWeightNames |
std::string | _deselectMultiWeights |
bool | _doFinalize |
edm::EDGetTokenT< GenEventInfoProduct > | _genEventInfoCollection |
edm::EDGetTokenT< GenLumiInfoHeader > | _genLumiInfoToken |
edm::EDGetTokenT< edm::HepMCProduct > | _hepmcCollection |
bool | _isFirstEvent |
edm::EDGetTokenT< LHEEventProduct > | _LHECollection |
const edm::InputTag | _lheLabel |
edm::EDGetTokenT< LHERunInfoProduct > | _lheRunInfoToken |
std::vector< std::string > | _lheWeightNames |
double | _NLOSmearing |
std::string | _outFileName |
std::string | _selectMultiWeights |
bool | _setIgnoreBeams |
std::string | _setNominalWeightName |
bool | _skipMultiWeights |
bool | _useLHEweights |
double | _weightCap |
std::vector< std::string > | _weightNames |
double | _xsection |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 22 of file RivetAnalyzer.h.
RivetAnalyzer::RivetAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 19 of file RivetAnalyzer.cc.
References _deselectMultiWeights, _genLumiInfoToken, _hepmcCollection, _LHECollection, _lheLabel, _lheRunInfoToken, _NLOSmearing, _selectMultiWeights, _setIgnoreBeams, _setNominalWeightName, _skipMultiWeights, _useLHEweights, _weightCap, _xsection, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 51 of file RivetAnalyzer.cc.
|
overridevirtual |
Set analysis handler weight options
Implements edm::one::EDAnalyzerBase.
Definition at line 96 of file RivetAnalyzer.cc.
References _analysisHandler, _analysisNames, _cleanedWeightNames, _deselectMultiWeights, _genLumiInfoToken, _hepmcCollection, _isFirstEvent, _LHECollection, _lheWeightNames, _NLOSmearing, _selectMultiWeights, _setIgnoreBeams, _setNominalWeightName, _skipMultiWeights, _useLHEweights, _weightCap, _weightNames, _xsection, edm::HepMCProduct::GetEvent(), mps_fire::i, iEvent, LHEEventProduct::originalXWGTUP(), AlCaHLTBitMon_QueryRunRegistry::string, to_string(), and LHEEventProduct::weights().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 53 of file RivetAnalyzer.cc.
References SiStripCommissioningSource_FromEDM_cfg::cmsswbase, free(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 75 of file RivetAnalyzer.cc.
References _lheLabel, _lheWeightNames, _useLHEweights, edm::Run::getByLabel(), LHERunInfoProduct::headers_begin(), LHERunInfoProduct::headers_end(), groupFilesInBlocks::lines, and match().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 194 of file RivetAnalyzer.cc.
|
override |
Definition at line 186 of file RivetAnalyzer.cc.
References _analysisHandler, _doFinalize, and _outFileName.
|
private |
Definition at line 52 of file RivetAnalyzer.h.
|
private |
Definition at line 55 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 61 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 46 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 56 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 49 of file RivetAnalyzer.h.
|
private |
Definition at line 50 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 39 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 53 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 48 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 57 of file RivetAnalyzer.h.
Referenced by beginRun(), and RivetAnalyzer().
|
private |
Definition at line 51 of file RivetAnalyzer.h.
Referenced by RivetAnalyzer().
|
private |
Definition at line 60 of file RivetAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 42 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 54 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 45 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 43 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 47 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 44 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 40 of file RivetAnalyzer.h.
Referenced by analyze(), beginRun(), and RivetAnalyzer().
|
private |
Definition at line 41 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 59 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 58 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().