#include <RivetAnalyzer.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | normalizeTree () |
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 |
std::vector< MonitorElement * > | _mes |
double | _NLOSmearing |
std::string | _outFileName |
bool | _produceDQM |
std::string | _selectMultiWeights |
std::string | _setNominalWeightName |
bool | _skipMultiWeights |
bool | _useLHEweights |
double | _weightCap |
std::vector< std::string > | _weightNames |
double | _xsection |
DQMStore * | dbe |
Additional Inherited Members | |
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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 22 of file RivetAnalyzer.h.
Definition at line 25 of file RivetAnalyzer.h.
Definition at line 26 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, _produceDQM, _selectMultiWeights, _setNominalWeightName, _skipMultiWeights, _useLHEweights, _weightCap, _xsection, dbe, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 57 of file RivetAnalyzer.cc.
|
overridevirtual |
Set analysis handler weight options
Implements edm::one::EDAnalyzerBase.
Definition at line 118 of file RivetAnalyzer.cc.
References _analysisHandler, _analysisNames, _cleanedWeightNames, _deselectMultiWeights, _hepmcCollection, _isFirstEvent, _LHECollection, _lheWeightNames, _NLOSmearing, _selectMultiWeights, _setNominalWeightName, _skipMultiWeights, _useLHEweights, _weightCap, _weightNames, _xsection, edm::HepMCProduct::GetEvent(), mps_fire::i, iEvent, LHEEventProduct::originalXWGTUP(), AlCaHLTBitMon_QueryRunRegistry::string, and LHEEventProduct::weights().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 59 of file RivetAnalyzer.cc.
References SiStripCommissioningSource_FromEDM_cfg::cmsswbase, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 102 of file RivetAnalyzer.cc.
References _genLumiInfoToken, _weightNames, edm::LuminosityBlock::getByToken(), and GenLumiInfoHeader::weightNames().
|
override |
Definition at line 81 of file RivetAnalyzer.cc.
References _lheLabel, _lheWeightNames, _useLHEweights, edm::Run::getByLabel(), LHERunInfoProduct::headers_begin(), LHERunInfoProduct::headers_end(), groupFilesInBlocks::lines, and match().
|
overridevirtual |
List of registered analysis data objects.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 207 of file RivetAnalyzer.cc.
|
override |
Definition at line 116 of file RivetAnalyzer.cc.
|
override |
Definition at line 188 of file RivetAnalyzer.cc.
References _analysisHandler, _doFinalize, and _outFileName.
|
private |
Definition at line 209 of file RivetAnalyzer.cc.
References _analysisHandler, _mes, _produceDQM, hltExoticaValidator_cfi::analyses, dqm::implementation::IBooker::book1D(), dbe, nevent, and dqm::implementation::DQMStore::setCurrentFolder().
|
private |
Definition at line 61 of file RivetAnalyzer.h.
Referenced by analyze(), endRun(), and normalizeTree().
|
private |
Definition at line 64 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 71 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 55 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 65 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 58 of file RivetAnalyzer.h.
|
private |
Definition at line 59 of file RivetAnalyzer.h.
Referenced by beginLuminosityBlock(), and RivetAnalyzer().
|
private |
Definition at line 49 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 62 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 57 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 67 of file RivetAnalyzer.h.
Referenced by beginRun(), and RivetAnalyzer().
|
private |
Definition at line 60 of file RivetAnalyzer.h.
Referenced by RivetAnalyzer().
|
private |
Definition at line 70 of file RivetAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 74 of file RivetAnalyzer.h.
Referenced by normalizeTree().
|
private |
Definition at line 52 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 63 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 66 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 54 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 56 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 53 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 50 of file RivetAnalyzer.h.
Referenced by analyze(), beginRun(), and RivetAnalyzer().
|
private |
Definition at line 51 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 69 of file RivetAnalyzer.h.
Referenced by analyze(), and beginLuminosityBlock().
|
private |
Definition at line 68 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 73 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().