CMS 3D CMS Logo

List of all members | Public Member Functions
thread_unsafe::DQMEDAnalyzer Class Referenceabstract

#include <DQMEDAnalyzer.h>

Inheritance diagram for thread_unsafe::DQMEDAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase L1TCSCTF

Public Member Functions

virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
- 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< ConsumesInfoconsumesInfo () 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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

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)
 

Detailed Description

Definition at line 68 of file DQMEDAnalyzer.h.

Constructor & Destructor Documentation

DQMEDAnalyzer::DQMEDAnalyzer ( void  )

Definition at line 96 of file DQMEDAnalyzer.cc.

96 {}

Member Function Documentation

void DQMEDAnalyzer::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
finalvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 98 of file DQMEDAnalyzer.cc.

References b, DQMEDAnalyzer::bookHistograms(), DQMStore::bookTransaction(), DQMStore::IBooker::cd(), DQMEDAnalyzer::dqmBeginRun(), Utilities::operator, and edm::RunBase::run().

99  {
100  dqmBeginRun(iRun, iSetup);
101  DQMStore * store = edm::Service<DQMStore>().operator->();
102  store->bookTransaction([this, &iRun, &iSetup](DQMStore::IBooker &b) {
103  b.cd();
104  this->bookHistograms(b, iRun, iSetup);
105  },
106  iRun.run(),
107  0,
108  0);
109 }
void cd(void)
Definition: DQMStore.cc:269
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQMEDAnalyzer.h:73
double b
Definition: hdecay.h:120
virtual void thread_unsafe::DQMEDAnalyzer::bookHistograms ( DQMStore::IBooker i,
edm::Run const &  ,
edm::EventSetup const &   
)
pure virtual

Implemented in L1TCSCTF.

virtual void thread_unsafe::DQMEDAnalyzer::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlinevirtual

Definition at line 73 of file DQMEDAnalyzer.h.

References bookHistograms(), and mps_fire::i.

73 {}