#include <RivetAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | endJob () override |
List of registered analysis data objects. More... | |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) override |
RivetAnalyzer (const edm::ParameterSet &) | |
virtual | ~RivetAnalyzer () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | normalizeTree () |
Private Attributes | |
Rivet::AnalysisHandler | _analysisHandler |
bool | _doFinalize |
edm::EDGetTokenT < GenEventInfoProduct > | _genEventInfoCollection |
edm::EDGetTokenT < edm::HepMCProduct > | _hepmcCollection |
bool | _isFirstEvent |
edm::EDGetTokenT< LHEEventProduct > | _LHECollection |
int | _LHEweightNumber |
std::vector< MonitorElement * > | _mes |
std::string | _outFileName |
bool | _produceDQM |
bool | _useExternalWeight |
bool | _useLHEweights |
double | _xsection |
DQMStore * | dbe |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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 21 of file RivetAnalyzer.h.
RivetAnalyzer::RivetAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 15 of file RivetAnalyzer.cc.
References _analysisHandler, _genEventInfoCollection, _hepmcCollection, _LHECollection, _LHEweightNumber, _produceDQM, _useExternalWeight, _useLHEweights, _xsection, dbe, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and cppFunctionSkipper::operator.
|
virtual |
Definition at line 65 of file RivetAnalyzer.cc.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 83 of file RivetAnalyzer.cc.
References _analysisHandler, _genEventInfoCollection, _hepmcCollection, _isFirstEvent, _LHECollection, _LHEweightNumber, _useExternalWeight, _useLHEweights, _xsection, Exception, edm::Event::getByToken(), and gen::WeightsInfo::wgt.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 68 of file RivetAnalyzer.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 79 of file RivetAnalyzer.cc.
|
overridevirtual |
List of registered analysis data objects.
Reimplemented from edm::EDAnalyzer.
Definition at line 162 of file RivetAnalyzer.cc.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 138 of file RivetAnalyzer.cc.
References _analysisHandler, _doFinalize, and _outFileName.
|
private |
Definition at line 166 of file RivetAnalyzer.cc.
References _analysisHandler, _mes, _produceDQM, dbe, and nevent.
|
private |
Definition at line 48 of file RivetAnalyzer.h.
Referenced by analyze(), endRun(), normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 51 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 47 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 42 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 49 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 45 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 56 of file RivetAnalyzer.h.
Referenced by normalizeTree().
|
private |
Definition at line 50 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 52 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 43 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 53 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 55 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().