#include <RivetAnalyzer.h>
Public Member Functions | |
template<> | |
TH1F * | aida2root (const AIDA::IHistogram1D *aidah, const std::string &name) |
template<> | |
TProfile * | aida2root (const AIDA::IProfile1D *aidah, const std::string &name) |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
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 | |
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 |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
template<class AIDATYPE , class ROOTTYPE > | |
ROOTTYPE * | aida2root (const AIDATYPE *, const std::string &) |
void | normalizeTree (AIDA::ITree &tree) |
template<class AIDATYPE , class ROOTTYPE > | |
ROOTTYPE * | prebook (const AIDATYPE *, const std::string &) |
Private Attributes | |
Rivet::AnalysisHandler | _analysisHandler |
bool | _doFinalize |
edm::InputTag | _genEventInfoCollection |
edm::InputTag | _hepmcCollection |
bool | _isFirstEvent |
std::vector< MonitorElement * > | _mes |
std::string | _outFileName |
bool | _produceDQM |
bool | _useExternalWeight |
DQMStore * | dbe |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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 28 of file RivetAnalyzer.h.
RivetAnalyzer::RivetAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 25 of file RivetAnalyzer.cc.
References _analysisHandler, _genEventInfoCollection, _hepmcCollection, _produceDQM, _useExternalWeight, dbe, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), cppFunctionSkipper::operator, and DQMStore::setVerbose().
|
virtual |
Definition at line 71 of file RivetAnalyzer.cc.
|
private |
TH1F* RivetAnalyzer::aida2root | ( | const AIDA::IHistogram1D * | aidah, |
const std::string & | name | ||
) |
Definition at line 91 of file RivetAnalyzer.h.
References h, i, and mergeVDriftHistosByStation::name.
TProfile* RivetAnalyzer::aida2root | ( | const AIDA::IProfile1D * | aidah, |
const std::string & | name | ||
) |
Definition at line 121 of file RivetAnalyzer.h.
References h, i, and mergeVDriftHistosByStation::name.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 89 of file RivetAnalyzer.cc.
References _analysisHandler, _genEventInfoCollection, _hepmcCollection, _isFirstEvent, _useExternalWeight, edm::hlt::Exception, and edm::Event::getByLabel().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 74 of file RivetAnalyzer.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 85 of file RivetAnalyzer.cc.
|
virtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 128 of file RivetAnalyzer.cc.
References _analysisHandler, _doFinalize, _outFileName, and normalizeTree().
|
private |
Definition at line 143 of file RivetAnalyzer.cc.
References _analysisHandler, _mes, _produceDQM, DQMStore::book1D(), DQMStore::bookProfile(), gather_cfg::cout, dbe, h, timingPdfMaker::histo, nevent, AlCaHLTBitMon_ParallelJobs::p, getHLTPrescaleColumns::path, EgammaValidation_cff::paths, and DQMStore::setCurrentFolder().
Referenced by endRun().
|
private |
Definition at line 67 of file RivetAnalyzer.h.
References edm::hlt::Exception, h, i, and pileupCalc::nbins.
|
private |
Definition at line 55 of file RivetAnalyzer.h.
Referenced by analyze(), endRun(), normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 58 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 54 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 52 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 56 of file RivetAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 62 of file RivetAnalyzer.h.
Referenced by normalizeTree().
|
private |
Definition at line 57 of file RivetAnalyzer.h.
Referenced by endRun().
|
private |
Definition at line 59 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().
|
private |
Definition at line 53 of file RivetAnalyzer.h.
Referenced by analyze(), and RivetAnalyzer().
|
private |
Definition at line 61 of file RivetAnalyzer.h.
Referenced by normalizeTree(), and RivetAnalyzer().