CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HarvestingDataCertification Class Reference

#include <HarvestingDataCertification.h>

Inheritance diagram for HarvestingDataCertification:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void beginRun (const edm::Run &, const edm::EventSetup &) override
 
void endJob () override
 
void endRun (const edm::Run &, const edm::EventSetup &) override
 
 HarvestingDataCertification (const edm::ParameterSet &)
 
 ~HarvestingDataCertification () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- 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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

std::string fName
 
int verbosity
 

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)
 

Detailed Description

Class to fill dqm monitor elements from existing EDM file

Author
M. Strang SUNY-Buffalo

Definition at line 32 of file HarvestingDataCertification.h.

Constructor & Destructor Documentation

HarvestingDataCertification::HarvestingDataCertification ( const edm::ParameterSet iPSet)
explicit

Definition at line 3 of file HarvestingDataCertification.cc.

References fName, edm::ParameterSet::getUntrackedParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.

4 {
5  std::string MsgLoggerCat = "HarvestingDataCertification_HarvestingDataCertification";
6 
7  fName = iPSet.getUntrackedParameter<std::string>("Name");
8  verbosity = iPSet.getUntrackedParameter<int>("Verbosity");
9 
10  if (verbosity >= 0) {
11  edm::LogInfo(MsgLoggerCat)
12  << "\n===============================\n"
13  << "Initialized as EDAnalyzer with parameter values:\n"
14  << " Name = " << fName << "\n"
15  << " Verbosity = " << verbosity << "\n"
16  << "===============================\n";
17  }
18 }
T getUntrackedParameter(std::string const &, T const &) const
HarvestingDataCertification::~HarvestingDataCertification ( )
override

Definition at line 20 of file HarvestingDataCertification.cc.

20 {}

Member Function Documentation

void HarvestingDataCertification::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 44 of file HarvestingDataCertification.cc.

46 {
47  return;
48 }
void HarvestingDataCertification::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 22 of file HarvestingDataCertification.cc.

23 {
24  return;
25 }
void HarvestingDataCertification::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
override

Definition at line 32 of file HarvestingDataCertification.cc.

34 {
35  return;
36 }
void HarvestingDataCertification::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 27 of file HarvestingDataCertification.cc.

28 {
29  return;
30 }
void HarvestingDataCertification::endRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
override

Definition at line 38 of file HarvestingDataCertification.cc.

40 {
41  return;
42 }

Member Data Documentation

std::string HarvestingDataCertification::fName
private

Definition at line 47 of file HarvestingDataCertification.h.

Referenced by HarvestingDataCertification().

int HarvestingDataCertification::verbosity
private

Definition at line 48 of file HarvestingDataCertification.h.

Referenced by HarvestingDataCertification().