![]() |
![]() |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
GenericBenchmarkAnalyzer (const edm::ParameterSet &) | |
~GenericBenchmarkAnalyzer () override | |
![]() | |
EDAnalyzer ()=default | |
EDAnalyzer (const EDAnalyzer &)=delete | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
bool | wantsInputProcessBlocks () const final |
bool | wantsProcessBlocks () const final |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const |
bool | wantsStreamRuns () const |
~EDAnalyzerBase () override | |
![]() | |
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 | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
![]() | |
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=nullptr, 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 () noexcept(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 | |
![]() | |
typedef EDAnalyzerBase | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
![]() | |
PFBenchmarkAlgo * | algo_ |
DQMStore * | dbe_ |
Definition at line 32 of file GenericBenchmarkAnalyzer.cc.
|
explicit |
Definition at line 70 of file GenericBenchmarkAnalyzer.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 98 of file GenericBenchmarkAnalyzer.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 117 of file GenericBenchmarkAnalyzer.cc.
References gather_cfg::cout, ntuplemaker::fill, iEvent, TauSpinner_cfi::isReco, and edm::Handle< T >::product().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 100 of file GenericBenchmarkAnalyzer.cc.
References Utilities::operator, castor_dqm_sourceclient_file_cfg::path, singleTopDQM_cfi::setup, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 177 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 48 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 55 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 60 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 47 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 46 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 57 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 59 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 54 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 56 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 58 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 53 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 45 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 44 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 51 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 43 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 50 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 52 of file GenericBenchmarkAnalyzer.cc.
|
private |
Definition at line 49 of file GenericBenchmarkAnalyzer.cc.