CMS 3D CMS Logo

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

#include <SiStripCommissioningSource.h>

Inheritance diagram for SiStripCommissioningSource:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

typedef std::map< unsigned int,
CommissioningTask * > 
TaskMap
 
typedef std::vector
< CommissioningTask * > 
VecOfTasks
 
typedef std::vector< VecOfTasksVecOfVecOfTasks
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 
void beginRun (edm::Run const &, const edm::EventSetup &)
 
void endJob ()
 
 SiStripCommissioningSource (const edm::ParameterSet &)
 
 ~SiStripCommissioningSource ()
 
- 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 clearCablingTasks ()
 
void clearTasks ()
 
void createCablingTasks ()
 
void createRunNumber ()
 
void createTask (const SiStripEventSummary *const, const edm::EventSetup &)
 
void createTasks (sistrip::RunType, const edm::EventSetup &)
 
void directory (std::stringstream &, uint32_t run_number=0)
 
DQMStore *const dqm (std::string method="") const
 
void fillCablingHistos (const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &)
 
void fillHistos (const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &)
 
void remove ()
 
 SiStripCommissioningSource ()
 

Private Attributes

std::string base_
 
bool cablingTask_
 
TaskMap cablingTasks_
 
edm::EDGetTokenT
< edm::DetSetVector
< SiStripRawDigi > > 
digiFineDelaySelectionToken_
 
edm::EDGetTokenT
< edm::DetSetVector
< SiStripRawDigi > > 
digiScopeModeToken_
 
edm::EDGetTokenT
< edm::DetSetVector
< SiStripRawDigi > > 
digiVirginRawToken_
 
DQMStoredqm_
 
SiStripFecCablingfecCabling_
 
SiStripFedCablingfedCabling_
 
std::string filename_
 
std::string inputModuleLabel_
 
std::string inputModuleLabelSummary_
 
edm::EDGetTokenT
< SiStripEventSummary
inputModuleSummaryToken_
 
edm::ParameterSet parameters_
 
uint32_t run_
 
sistrip::RunType task_
 
std::string taskConfigurable_
 
VecOfVecOfTasks tasks_
 
bool tasksExist_
 
int32_t time_
 
int updateFreq_
 
std::string view_
 

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

Definition at line 27 of file SiStripCommissioningSource.h.

Member Typedef Documentation

typedef std::map<unsigned int, CommissioningTask*> SiStripCommissioningSource::TaskMap

Map of task objects, identified through FedChanelId

Definition at line 32 of file SiStripCommissioningSource.h.

Definition at line 33 of file SiStripCommissioningSource.h.

Definition at line 34 of file SiStripCommissioningSource.h.

Constructor & Destructor Documentation

SiStripCommissioningSource::SiStripCommissioningSource ( const edm::ParameterSet pset)

Definition at line 55 of file SiStripCommissioningSource.cc.

SiStripCommissioningSource::~SiStripCommissioningSource ( )

Definition at line 89 of file SiStripCommissioningSource.cc.

SiStripCommissioningSource::SiStripCommissioningSource ( )
private

Private default constructor.

Member Function Documentation

void SiStripCommissioningSource::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 262 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::beginRun ( edm::Run const &  run,
const edm::EventSetup setup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 112 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::clearCablingTasks ( )
private

Definition at line 1106 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::clearTasks ( )
private

Definition at line 1116 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::createCablingTasks ( )
private

Definition at line 797 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::createRunNumber ( )
private

Definition at line 688 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::createTask ( const SiStripEventSummary * const  summary,
const edm::EventSetup setup 
)
private

Definition at line 708 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::createTasks ( sistrip::RunType  run_type,
const edm::EventSetup setup 
)
private

Definition at line 935 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::directory ( std::stringstream &  dir,
uint32_t  run_number = 0 
)
private

Definition at line 1142 of file SiStripCommissioningSource.cc.

DQMStore *const SiStripCommissioningSource::dqm ( std::string  method = "") const
private

Definition at line 97 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 164 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::fillCablingHistos ( const SiStripEventSummary * const  summary,
const edm::DetSetVector< SiStripRawDigi > &  raw 
)
private

Definition at line 370 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::fillHistos ( const SiStripEventSummary * const  summary,
const edm::DetSetVector< SiStripRawDigi > &  raw 
)
private

Definition at line 603 of file SiStripCommissioningSource.cc.

void SiStripCommissioningSource::remove ( )
private

Definition at line 1131 of file SiStripCommissioningSource.cc.

Member Data Documentation

std::string SiStripCommissioningSource::base_
private

Definition at line 142 of file SiStripCommissioningSource.h.

bool SiStripCommissioningSource::cablingTask_
private

Flag to indicate whether task is FED cabling or not.

Definition at line 136 of file SiStripCommissioningSource.h.

TaskMap SiStripCommissioningSource::cablingTasks_
private

Map of cabling task objects (indexed using FEC key).

Definition at line 130 of file SiStripCommissioningSource.h.

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripCommissioningSource::digiFineDelaySelectionToken_
private

Definition at line 103 of file SiStripCommissioningSource.h.

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripCommissioningSource::digiScopeModeToken_
private

Definition at line 102 of file SiStripCommissioningSource.h.

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripCommissioningSource::digiVirginRawToken_
private

Definition at line 101 of file SiStripCommissioningSource.h.

DQMStore* SiStripCommissioningSource::dqm_
private

Interface to Data Quality Monitoring framework.

Definition at line 91 of file SiStripCommissioningSource.h.

SiStripFecCabling* SiStripCommissioningSource::fecCabling_
private

Definition at line 97 of file SiStripCommissioningSource.h.

SiStripFedCabling* SiStripCommissioningSource::fedCabling_
private

Definition at line 94 of file SiStripCommissioningSource.h.

std::string SiStripCommissioningSource::filename_
private

Filename of output root file containing source histos.

Definition at line 110 of file SiStripCommissioningSource.h.

std::string SiStripCommissioningSource::inputModuleLabel_
private

Name of digi input module.

Definition at line 106 of file SiStripCommissioningSource.h.

std::string SiStripCommissioningSource::inputModuleLabelSummary_
private

Definition at line 107 of file SiStripCommissioningSource.h.

edm::EDGetTokenT<SiStripEventSummary> SiStripCommissioningSource::inputModuleSummaryToken_
private

Definition at line 100 of file SiStripCommissioningSource.h.

edm::ParameterSet SiStripCommissioningSource::parameters_
private

parameters to pass to the tasks

Definition at line 148 of file SiStripCommissioningSource.h.

uint32_t SiStripCommissioningSource::run_
private

Run number used for naming of root file.

Definition at line 113 of file SiStripCommissioningSource.h.

sistrip::RunType SiStripCommissioningSource::task_
private

Identifies commissioning task.

Definition at line 124 of file SiStripCommissioningSource.h.

std::string SiStripCommissioningSource::taskConfigurable_
private

Identifies commissioning task read from cfg file.

Definition at line 121 of file SiStripCommissioningSource.h.

VecOfVecOfTasks SiStripCommissioningSource::tasks_
private

Vector of vector of task objects (indexed using FED id.ch.

Definition at line 127 of file SiStripCommissioningSource.h.

bool SiStripCommissioningSource::tasksExist_
private

Flag to indicate whether histo objects exist or not.

Definition at line 133 of file SiStripCommissioningSource.h.

int32_t SiStripCommissioningSource::time_
private

Record of time used to calculate event rate.

Definition at line 116 of file SiStripCommissioningSource.h.

int SiStripCommissioningSource::updateFreq_
private

Update frequency for histograms (ignored for cabling).

Definition at line 139 of file SiStripCommissioningSource.h.

std::string SiStripCommissioningSource::view_
private

flag for choosing the organizational 'view' the DQM histogram tree

Definition at line 145 of file SiStripCommissioningSource.h.