#include <GenericBenchmarkAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
GenericBenchmarkAnalyzer (const edm::ParameterSet &) | |
~GenericBenchmarkAnalyzer () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Public Member Functions inherited from GenericBenchmark | |
template<typename C > | |
void | fill (const C *RecoCollection, const C *GenCollection, bool startFromGen=false, bool PlotAgainstReco=true, bool onlyTwoJets=false, double recPt_cut=-1., double minEta_cut=-1., double maxEta_cut=-1., double deltaR_cut=-1.) |
GenericBenchmark () | |
void | setfile (TFile *file) |
void | setup (DQMStore *DQM=0, bool PlotAgainstReco_=true, float minDeltaEt=-100., float maxDeltaEt=50., float minDeltaPhi=-0.5, float maxDeltaPhi=0.5, bool doMetPlots=false) |
void | write (std::string Filename) |
virtual | ~GenericBenchmark ()(false) |
Private Attributes | |
std::string | benchmarkLabel_ |
double | deltaR_cut |
bool | doMetPlots_ |
edm::InputTag | inputRecoLabel_ |
edm::InputTag | inputTruthLabel_ |
float | maxDeltaEt_ |
float | maxDeltaPhi_ |
double | maxEta_cut |
float | minDeltaEt_ |
float | minDeltaPhi_ |
double | minEta_cut |
edm::EDGetTokenT< edm::View< reco::Candidate > > | myReco_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | myTruth_ |
bool | onlyTwoJets_ |
std::string | outputFile_ |
bool | plotAgainstRecoQuantities_ |
double | recPt_cut |
bool | startFromGen_ |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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) |
Protected Attributes inherited from GenericBenchmark | |
PFBenchmarkAlgo * | algo_ |
DQMStore * | dbe_ |
Definition at line 17 of file GenericBenchmarkAnalyzer.h.
|
explicit |
Definition at line 38 of file GenericBenchmarkAnalyzer.cc.
References benchmarkLabel_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 68 of file GenericBenchmarkAnalyzer.cc.
|
override |
Definition at line 90 of file GenericBenchmarkAnalyzer.cc.
References gather_cfg::cout, lumiContext::fill, edm::Event::getByToken(), and edm::Handle< T >::product().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 71 of file GenericBenchmarkAnalyzer.cc.
References benchmarkLabel_, dbe_, Utilities::operator, callgraph::path, GeneralSetup::setup(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 149 of file GenericBenchmarkAnalyzer.cc.
References dbe_.
|
private |
Definition at line 35 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 42 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 47 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 34 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 33 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 44 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 46 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 41 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 43 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 45 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 40 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 32 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 31 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 38 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 30 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 37 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 39 of file GenericBenchmarkAnalyzer.h.
|
private |
Definition at line 36 of file GenericBenchmarkAnalyzer.h.