#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 | |
Rivet::AnalysisHandler | _analysisHandler |
bool | _doFinalize |
edm::EDGetTokenT< GenEventInfoProduct > | _genEventInfoCollection |
edm::EDGetTokenT< GenLumiInfoHeader > | _genLumiInfoToken |
int | _GENweightNumber |
edm::EDGetTokenT< edm::HepMCProduct > | _hepmcCollection |
bool | _isFirstEvent |
edm::EDGetTokenT< LHEEventProduct > | _LHECollection |
const edm::InputTag | _lheLabel |
edm::EDGetTokenT< LHERunInfoProduct > | _lheRunInfoToken |
std::vector< std::string > | _lheWeightNames |
int | _LHEweightNumber |
std::vector< MonitorElement * > | _mes |
std::string | _outFileName |
bool | _produceDQM |
bool | _useExternalWeight |
bool | _useGENweights |
bool | _useLHEweights |
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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
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 _analysisHandler, _genLumiInfoToken, _hepmcCollection, _LHECollection, _lheLabel, _lheRunInfoToken, _produceDQM, _useLHEweights, _xsection, dbe, edm::ParameterSet::getParameter(), and Utilities::operator.
|
override |
Definition at line 56 of file RivetAnalyzer.cc.
|
override |
Definition at line 115 of file RivetAnalyzer.cc.
References _analysisHandler, _hepmcCollection, _isFirstEvent, _LHECollection, _lheWeightNames, _useLHEweights, _weightNames, _xsection, edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), mps_fire::i, LHEEventProduct::originalXWGTUP(), AlCaHLTBitMon_QueryRunRegistry::string, and LHEEventProduct::weights().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 58 of file RivetAnalyzer.cc.
References SiStripCommissioningSource_FromEDM_cfg::cmsswbase, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 101 of file RivetAnalyzer.cc.
References _genLumiInfoToken, _weightNames, edm::LuminosityBlock::getByToken(), and GenLumiInfoHeader::weightNames().
|
override |
Definition at line 80 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 191 of file RivetAnalyzer.cc.
|
override |
Definition at line 113 of file RivetAnalyzer.cc.
|
override |
Definition at line 172 of file RivetAnalyzer.cc.
References _analysisHandler, _doFinalize, and _outFileName.
|
private |
Definition at line 193 of file RivetAnalyzer.cc.
References _analysisHandler, _mes, _produceDQM, hltExoticaValidator_cfi::analyses, dqm::dqmstoreimpl::DQMStore::book1D(), dbe, DEFINE_FWK_MODULE, nevent, and dqm::dqmstoreimpl::DQMStore::setCurrentFolder().
|
private |
Definition at line 59 of file RivetAnalyzer.h.
Referenced by analyze(), endRun(), normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 62 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 56 of file RivetAnalyzer.h.
|
private |
Definition at line 57 of file RivetAnalyzer.h.
Referenced by beginLuminosityBlock(), and RivetAnalyzer().
|
private |
Definition at line 54 of file RivetAnalyzer.h.
|
private |
Definition at line 49 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 60 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 64 of file RivetAnalyzer.h.
Referenced by beginRun(), and RivetAnalyzer().
|
private |
Definition at line 58 of file RivetAnalyzer.h.
Referenced by RivetAnalyzer().
|
private |
Definition at line 67 of file RivetAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 52 of file RivetAnalyzer.h.
|
private |
Definition at line 70 of file RivetAnalyzer.h.
Referenced by normalizeTree().
|
private |
Definition at line 61 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 63 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 50 of file RivetAnalyzer.h.
|
private |
Definition at line 53 of file RivetAnalyzer.h.
|
private |
Definition at line 51 of file RivetAnalyzer.h.
Referenced by analyze(), beginRun(), and RivetAnalyzer().
|
private |
Definition at line 66 of file RivetAnalyzer.h.
Referenced by analyze(), and beginLuminosityBlock().
|
private |
Definition at line 65 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 69 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().