CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
BenchmarkAnalyzer Class Reference

abtract base class for benchmark analyzers More...

#include <BenchmarkAnalyzer.h>

Inheritance diagram for BenchmarkAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > CandidateBenchmarkAnalyzer MatchMETBenchmarkAnalyzer METBenchmarkAnalyzer PFCandidateBenchmarkAnalyzer PFCandidateManagerAnalyzer

Public Member Functions

 BenchmarkAnalyzer ()
 Constructors. More...
 
 BenchmarkAnalyzer (const edm::ParameterSet &)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 ~BenchmarkAnalyzer () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Protected Attributes

std::string benchmarkLabel_
 benchmark label More...
 
std::string eventInfoFolder_
 
edm::InputTag inputLabel_
 input collection More...
 
std::string outputFile_
 name of the output root file More...
 
std::string subsystemname_
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Detailed Description

abtract base class for benchmark analyzers

Definition at line 14 of file BenchmarkAnalyzer.h.

Constructor & Destructor Documentation

◆ BenchmarkAnalyzer() [1/2]

BenchmarkAnalyzer::BenchmarkAnalyzer ( )

Constructors.

◆ BenchmarkAnalyzer() [2/2]

BenchmarkAnalyzer::BenchmarkAnalyzer ( const edm::ParameterSet parameterSet)
explicit

Definition at line 15 of file BenchmarkAnalyzer.cc.

References benchmarkLabel_, printsummarytable::folder, edm::ParameterSet::getParameter(), edm::parameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.

15  {
16  inputLabel_ = parameterSet.getParameter<edm::InputTag>("InputCollection");
18 
20 
21  subsystemname_ = "ParticleFlow";
23 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string benchmarkLabel_
benchmark label
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
edm::InputTag inputLabel_
input collection
std::string subsystemname_
std::string eventInfoFolder_

◆ ~BenchmarkAnalyzer()

BenchmarkAnalyzer::~BenchmarkAnalyzer ( )
inlineoverride

Destructor.

Definition at line 21 of file BenchmarkAnalyzer.h.

21 {}

Member Function Documentation

◆ bookHistograms()

void BenchmarkAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Member Data Documentation

◆ benchmarkLabel_

std::string BenchmarkAnalyzer::benchmarkLabel_
protected

benchmark label

Definition at line 33 of file BenchmarkAnalyzer.h.

◆ eventInfoFolder_

std::string BenchmarkAnalyzer::eventInfoFolder_
protected

Definition at line 35 of file BenchmarkAnalyzer.h.

◆ inputLabel_

edm::InputTag BenchmarkAnalyzer::inputLabel_
protected

◆ outputFile_

std::string BenchmarkAnalyzer::outputFile_
protected

name of the output root file

Definition at line 27 of file BenchmarkAnalyzer.h.

◆ subsystemname_

std::string BenchmarkAnalyzer::subsystemname_
protected

Definition at line 36 of file BenchmarkAnalyzer.h.