CMS 3D CMS Logo

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

#include <DPGAnalysis/SiStripTools/plugins/CommonModeAnalyzer.cc>

Inheritance diagram for CommonModeAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 CommonModeAnalyzer (const edm::ParameterSet &)
 
 ~CommonModeAnalyzer ()
 
- 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

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void beginJob () override
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &) override
 
virtual void endJob () override
 
virtual void endRun (const edm::Run &, const edm::EventSetup &) override
 
void updateDetCabling (const edm::EventSetup &setup)
 

Private Attributes

edm::EDGetTokenT
< APVCyclePhaseCollection
m_apvphasecollToken
 
uint32_t m_cacheIdDet
 DB cache ID used to establish if the cabling has changed during the run. More...
 
std::vector< TH1D * > m_cmdist
 
std::vector< TProfile ** > m_cmvsbxrun
 
std::vector< TProfile * > m_cmvsdbxincycle
 
std::vector< TProfile ** > m_cmvsorbitrun
 
const SiStripDetCablingm_detCabling
 The cabling object. More...
 
edm::EDGetTokenT< DetIdCollectionm_digibadmodulecollectionToken
 
edm::EDGetTokenT
< edm::DetSetVector
< SiStripRawDigi > > 
m_digicollectionToken
 
edm::EDGetTokenT
< EventWithHistory
m_historyProductToken
 
const bool m_ignorebadfedmod
 
const bool m_ignorenotconnected
 
std::vector< std::string > m_labels
 
std::vector< TH1D * > m_napvs
 
int m_nevents
 
std::vector< TH1D * > m_nmodules
 
const std::string m_phasepart
 
RunHistogramManager m_rhm
 
std::vector< DetIdSelectorm_selections
 

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: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 66 of file CommonModeAnalyzer.cc.

Constructor & Destructor Documentation

CommonModeAnalyzer::CommonModeAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 120 of file CommonModeAnalyzer.cc.

CommonModeAnalyzer::~CommonModeAnalyzer ( )

Definition at line 191 of file CommonModeAnalyzer.cc.

Member Function Documentation

void CommonModeAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 209 of file CommonModeAnalyzer.cc.

void CommonModeAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 307 of file CommonModeAnalyzer.cc.

void CommonModeAnalyzer::beginRun ( const edm::Run iRun,
const edm::EventSetup  
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 279 of file CommonModeAnalyzer.cc.

void CommonModeAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 314 of file CommonModeAnalyzer.cc.

void CommonModeAnalyzer::endRun ( const edm::Run iRun,
const edm::EventSetup  
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 300 of file CommonModeAnalyzer.cc.

void CommonModeAnalyzer::updateDetCabling ( const edm::EventSetup setup)
private

Definition at line 319 of file CommonModeAnalyzer.cc.

Member Data Documentation

edm::EDGetTokenT<APVCyclePhaseCollection> CommonModeAnalyzer::m_apvphasecollToken
private

Definition at line 85 of file CommonModeAnalyzer.cc.

uint32_t CommonModeAnalyzer::m_cacheIdDet
private

DB cache ID used to establish if the cabling has changed during the run.

Definition at line 103 of file CommonModeAnalyzer.cc.

std::vector<TH1D*> CommonModeAnalyzer::m_cmdist
private

Definition at line 94 of file CommonModeAnalyzer.cc.

std::vector<TProfile**> CommonModeAnalyzer::m_cmvsbxrun
private

Definition at line 98 of file CommonModeAnalyzer.cc.

std::vector<TProfile*> CommonModeAnalyzer::m_cmvsdbxincycle
private

Definition at line 97 of file CommonModeAnalyzer.cc.

std::vector<TProfile**> CommonModeAnalyzer::m_cmvsorbitrun
private

Definition at line 99 of file CommonModeAnalyzer.cc.

const SiStripDetCabling* CommonModeAnalyzer::m_detCabling
private

The cabling object.

Definition at line 104 of file CommonModeAnalyzer.cc.

edm::EDGetTokenT<DetIdCollection> CommonModeAnalyzer::m_digibadmodulecollectionToken
private

Definition at line 86 of file CommonModeAnalyzer.cc.

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > CommonModeAnalyzer::m_digicollectionToken
private

Definition at line 83 of file CommonModeAnalyzer.cc.

edm::EDGetTokenT<EventWithHistory> CommonModeAnalyzer::m_historyProductToken
private

Definition at line 84 of file CommonModeAnalyzer.cc.

const bool CommonModeAnalyzer::m_ignorebadfedmod
private

Definition at line 88 of file CommonModeAnalyzer.cc.

const bool CommonModeAnalyzer::m_ignorenotconnected
private

Definition at line 89 of file CommonModeAnalyzer.cc.

std::vector<std::string> CommonModeAnalyzer::m_labels
private

Definition at line 93 of file CommonModeAnalyzer.cc.

std::vector<TH1D*> CommonModeAnalyzer::m_napvs
private

Definition at line 96 of file CommonModeAnalyzer.cc.

int CommonModeAnalyzer::m_nevents
private

Definition at line 90 of file CommonModeAnalyzer.cc.

std::vector<TH1D*> CommonModeAnalyzer::m_nmodules
private

Definition at line 95 of file CommonModeAnalyzer.cc.

const std::string CommonModeAnalyzer::m_phasepart
private

Definition at line 87 of file CommonModeAnalyzer.cc.

RunHistogramManager CommonModeAnalyzer::m_rhm
private

Definition at line 101 of file CommonModeAnalyzer.cc.

std::vector<DetIdSelector> CommonModeAnalyzer::m_selections
private

Definition at line 92 of file CommonModeAnalyzer.cc.