CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Private Attributes
EDMtoMEConverter Class Reference

#include <EDMtoMEConverter.h>

Inheritance diagram for EDMtoMEConverter:
edm::EDAnalyzer edm::EDConsumerBase

Classes

class  Tokens
 

Public Types

typedef std::vector< uint32_t > TagList
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
 
 EDMtoMEConverter (const edm::ParameterSet &)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
virtual void endRun (const edm::Run &, const edm::EventSetup &)
 
template<class T >
void getData (T &iGetFrom)
 
virtual void respondToOpenInputFile (const edm::FileBlock &)
 
virtual ~EDMtoMEConverter ()
 
- 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
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

bool convertOnEndLumi
 
bool convertOnEndRun
 
DQMStoredbe
 
int frequency
 
std::map< int, int > iCount
 
unsigned int iCountf
 
std::string name
 
std::tuple< Tokens< TH1F >
, Tokens< TH1S >, Tokens< TH1D >
, Tokens< TH2F >, Tokens< TH2S >
, Tokens< TH2D >, Tokens< TH3F >
, Tokens< TProfile >, Tokens
< TProfile2D >, Tokens< double >
, Tokens< int >, Tokens< long
long >, Tokens< TString > > 
tokens_
 
int verbosity
 

Additional Inherited Members

- 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

Class to take dqm monitor elements and convert into a ROOT dataformat stored in Run tree of edm file

Author
M. Strang SUNY-Buffalo

Definition at line 50 of file EDMtoMEConverter.h.

Member Typedef Documentation

typedef std::vector<uint32_t> EDMtoMEConverter::TagList

Definition at line 69 of file EDMtoMEConverter.h.

Constructor & Destructor Documentation

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

Definition at line 218 of file EDMtoMEConverter.cc.

EDMtoMEConverter::~EDMtoMEConverter ( )
virtual

Definition at line 265 of file EDMtoMEConverter.cc.

Member Function Documentation

void EDMtoMEConverter::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 325 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 267 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::beginLuminosityBlock ( const edm::LuminosityBlock iLumi,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 314 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 287 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 271 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::endLuminosityBlock ( const edm::LuminosityBlock iLumi,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 318 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::endRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 307 of file EDMtoMEConverter.cc.

template<class T >
void EDMtoMEConverter::getData ( T iGetFrom)

Definition at line 331 of file EDMtoMEConverter.cc.

void EDMtoMEConverter::respondToOpenInputFile ( const edm::FileBlock iFb)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 281 of file EDMtoMEConverter.cc.

Member Data Documentation

bool EDMtoMEConverter::convertOnEndLumi
private

Definition at line 77 of file EDMtoMEConverter.h.

bool EDMtoMEConverter::convertOnEndRun
private

Definition at line 78 of file EDMtoMEConverter.h.

DQMStore* EDMtoMEConverter::dbe
private

Definition at line 80 of file EDMtoMEConverter.h.

int EDMtoMEConverter::frequency
private

Definition at line 75 of file EDMtoMEConverter.h.

std::map<int,int> EDMtoMEConverter::iCount
private

Definition at line 84 of file EDMtoMEConverter.h.

unsigned int EDMtoMEConverter::iCountf
private

Definition at line 83 of file EDMtoMEConverter.h.

std::string EDMtoMEConverter::name
private
std::tuple< Tokens<TH1F>, Tokens<TH1S>, Tokens<TH1D>, Tokens<TH2F>, Tokens<TH2S>, Tokens<TH2D>, Tokens<TH3F>, Tokens<TProfile>, Tokens<TProfile2D>, Tokens<double>, Tokens<int>, Tokens<long long>, Tokens<TString> > EDMtoMEConverter::tokens_
private

Definition at line 118 of file EDMtoMEConverter.h.

int EDMtoMEConverter::verbosity
private

Definition at line 74 of file EDMtoMEConverter.h.