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 | Private Member Functions | Private Attributes
SiStripDaqInfo Class Reference

#include <DQM/SiStripMonitorCluster/interface/SiStripDaqInfo.h>

Inheritance diagram for SiStripDaqInfo:
edm::EDAnalyzer edm::EDConsumerBase

Classes

struct  SubDetMEs
 

Public Member Functions

 SiStripDaqInfo (const edm::ParameterSet &ps)
 Constructor. More...
 
virtual ~SiStripDaqInfo ()
 Destructor. More...
 
- 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 Member Functions

void analyze (edm::Event const &, edm::EventSetup const &)
 Analyze. More...
 
void beginJob ()
 BeginJob. More...
 
void beginRun (edm::Run const &run, edm::EventSetup const &eSetup)
 Begin Run. More...
 
void bookStatus ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup)
 End Of Luminosity. More...
 
void endRun (edm::Run const &run, edm::EventSetup const &eSetup)
 EndRun. More...
 
void fillDummyStatus ()
 
void findExcludedModule (unsigned short fed_id, const TrackerTopology *tTopo)
 
void readFedIds (const edm::ESHandle< SiStripFedCabling > &fedcabling, edm::EventSetup const &iSetup)
 
void readSubdetFedFractions (std::vector< int > &fed_ids, edm::EventSetup const &iSetup)
 

Private Attributes

bool bookedStatus_
 
MonitorElementDaqFraction_
 
DQMStoredqmStore_
 
edm::ESHandle< SiStripFedCablingfedCabling_
 
unsigned long long m_cacheID_
 
int nFedTotal
 
std::map< std::string,
std::vector< unsigned short > > 
subDetFedMap
 
std::map< std::string, SubDetMEsSubDetMEsMap
 

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

Description: Checks the # of SiStrip FEDs from DAQ Usage: <usage>

Definition at line 41 of file SiStripDaqInfo.h.

Constructor & Destructor Documentation

SiStripDaqInfo::SiStripDaqInfo ( const edm::ParameterSet ps)

Constructor.

Definition at line 34 of file SiStripDaqInfo.cc.

SiStripDaqInfo::~SiStripDaqInfo ( )
virtual

Destructor.

Definition at line 45 of file SiStripDaqInfo.cc.

Member Function Documentation

void SiStripDaqInfo::analyze ( edm::Event const &  event,
edm::EventSetup const &  eSetup 
)
privatevirtual

Analyze.

Implements edm::EDAnalyzer.

Definition at line 162 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::beginJob ( void  )
privatevirtual

BeginJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 52 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
privatevirtual

Begin Run.

Reimplemented from edm::EDAnalyzer.

Definition at line 113 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::bookStatus ( )
private

Definition at line 58 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  iSetup 
)
privatevirtual

End Of Luminosity.

Reimplemented from edm::EDAnalyzer.

Definition at line 168 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::endRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
privatevirtual

EndRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 174 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::fillDummyStatus ( )
private

Definition at line 99 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::findExcludedModule ( unsigned short  fed_id,
const TrackerTopology tTopo 
)
private

Definition at line 259 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::readFedIds ( const edm::ESHandle< SiStripFedCabling > &  fedcabling,
edm::EventSetup const &  iSetup 
)
private

Definition at line 180 of file SiStripDaqInfo.cc.

void SiStripDaqInfo::readSubdetFedFractions ( std::vector< int > &  fed_ids,
edm::EventSetup const &  iSetup 
)
private

Definition at line 206 of file SiStripDaqInfo.cc.

Member Data Documentation

bool SiStripDaqInfo::bookedStatus_
private

Definition at line 91 of file SiStripDaqInfo.h.

MonitorElement* SiStripDaqInfo::DaqFraction_
private

Definition at line 80 of file SiStripDaqInfo.h.

DQMStore* SiStripDaqInfo::dqmStore_
private

Definition at line 79 of file SiStripDaqInfo.h.

edm::ESHandle< SiStripFedCabling > SiStripDaqInfo::fedCabling_
private

Definition at line 93 of file SiStripDaqInfo.h.

unsigned long long SiStripDaqInfo::m_cacheID_
private

Definition at line 89 of file SiStripDaqInfo.h.

int SiStripDaqInfo::nFedTotal
private

Definition at line 90 of file SiStripDaqInfo.h.

std::map<std::string,std::vector<unsigned short> > SiStripDaqInfo::subDetFedMap
private

Definition at line 77 of file SiStripDaqInfo.h.

std::map<std::string, SubDetMEs> SiStripDaqInfo::SubDetMEsMap
private

Definition at line 87 of file SiStripDaqInfo.h.