CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Protected Member Functions | Protected Attributes
SiStripBaseServiceFromDQM< T > Class Template Reference

#include <SiStripBaseServiceFromDQM.h>

Inheritance diagram for SiStripBaseServiceFromDQM< T >:
SiStripCondObjBuilderBase< T >

Classes

struct  StringNotMatch
 

Public Member Functions

virtual bool checkForCompatibility (std::string ss)
 Check is the transfer is needed. More...
 
virtual void getMetaDataString (std::stringstream &ss)
 Used to fill the logDB. More...
 
 SiStripBaseServiceFromDQM (const edm::ParameterSet &)
 
virtual ~SiStripBaseServiceFromDQM ()
 
- Public Member Functions inherited from SiStripCondObjBuilderBase< T >
virtual void getObj (T *&obj)
 
virtual void initialize ()
 
 SiStripCondObjBuilderBase (const edm::ParameterSet &pset)
 
virtual ~SiStripCondObjBuilderBase ()
 

Protected Member Functions

void getModuleFolderList (std::vector< std::string > &mfolders)
 Fill the mfolders vector with the full list of directories for all the modules. More...
 
MonitorElementgetModuleHistogram (const uint32_t detId, const std::string &name)
 
uint32_t getRunNumber () const
 Returns the run number from the cfg. More...
 
bool goToDir (const std::string &name)
 Uses DQM utilities to access the requested dir. More...
 
void openRequestedFile ()
 Uses DQMStore to access the DQM file. More...
 

Protected Attributes

DQMStoredqmStore_
 
boost::shared_ptr
< SiStripFolderOrganizer
folderOrganizer_
 
edm::ParameterSet iConfig_
 
- Protected Attributes inherited from SiStripCondObjBuilderBase< T >
edm::ParameterSet _pset
 
Tobj_
 

Detailed Description

template<class T>
class SiStripBaseServiceFromDQM< T >

Author
M. De Mattia @ Base class for methods shared between all services reading from DQM and writing in the Database.

Definition at line 30 of file SiStripBaseServiceFromDQM.h.

Constructor & Destructor Documentation

template<class T >
SiStripBaseServiceFromDQM< T >::SiStripBaseServiceFromDQM ( const edm::ParameterSet iConfig)
explicit

Definition at line 82 of file SiStripBaseServiceFromDQM.h.

template<class T >
SiStripBaseServiceFromDQM< T >::~SiStripBaseServiceFromDQM ( )
virtual

Definition at line 93 of file SiStripBaseServiceFromDQM.h.

Member Function Documentation

template<class T >
bool SiStripBaseServiceFromDQM< T >::checkForCompatibility ( std::string  ss)
virtual

Check is the transfer is needed.

Reimplemented from SiStripCondObjBuilderBase< T >.

Definition at line 197 of file SiStripBaseServiceFromDQM.h.

template<class T >
void SiStripBaseServiceFromDQM< T >::getMetaDataString ( std::stringstream &  ss)
virtual

Used to fill the logDB.

Reimplemented from SiStripCondObjBuilderBase< T >.

Definition at line 190 of file SiStripBaseServiceFromDQM.h.

template<class T >
void SiStripBaseServiceFromDQM< T >::getModuleFolderList ( std::vector< std::string > &  mfolders)
protected

Fill the mfolders vector with the full list of directories for all the modules.

Definition at line 141 of file SiStripBaseServiceFromDQM.h.

template<class T>
MonitorElement* SiStripBaseServiceFromDQM< T >::getModuleHistogram ( const uint32_t  detId,
const std::string &  name 
)
protected

Returns a pointer to the monitoring element corresponding to the given detId and name.
The name convention for module histograms is NAME__det__DETID. The name provided must be NAME, removing all the __det__DETID part. This latter part will be built and attached internally using the provided detId.

template<class T >
uint32_t SiStripBaseServiceFromDQM< T >::getRunNumber ( ) const
protected

Returns the run number from the cfg.

Definition at line 183 of file SiStripBaseServiceFromDQM.h.

template<class T >
bool SiStripBaseServiceFromDQM< T >::goToDir ( const std::string &  name)
protected

Uses DQM utilities to access the requested dir.

Definition at line 118 of file SiStripBaseServiceFromDQM.h.

template<class T >
void SiStripBaseServiceFromDQM< T >::openRequestedFile ( )
protected

Uses DQMStore to access the DQM file.

Definition at line 98 of file SiStripBaseServiceFromDQM.h.

Member Data Documentation

template<class T>
DQMStore* SiStripBaseServiceFromDQM< T >::dqmStore_
protected

Definition at line 60 of file SiStripBaseServiceFromDQM.h.

template<class T>
boost::shared_ptr<SiStripFolderOrganizer> SiStripBaseServiceFromDQM< T >::folderOrganizer_
protected

Definition at line 62 of file SiStripBaseServiceFromDQM.h.

template<class T>
edm::ParameterSet SiStripBaseServiceFromDQM< T >::iConfig_
protected

Definition at line 61 of file SiStripBaseServiceFromDQM.h.