#include <DPGAnalysis/SiStripTools/plugins/CommonModeAnalyzer.cc>
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< ConsumesInfo > | consumesInfo () 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 SiStripDetCabling * | m_detCabling |
The cabling object. More... | |
edm::EDGetTokenT< DetIdCollection > | m_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< DetIdSelector > | m_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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 66 of file CommonModeAnalyzer.cc.
|
explicit |
Definition at line 120 of file CommonModeAnalyzer.cc.
References edm::ParameterSet::getParameter(), diffTwoXMLs::label, m_cmdist, m_cmvsbxrun, m_cmvsdbxincycle, m_cmvsorbitrun, m_napvs, m_nmodules, m_rhm, m_selections, TFileService::make(), RunHistogramManager::makeTProfile(), corrVsCorr::selection, and AlCaHLTBitMon_QueryRunRegistry::string.
CommonModeAnalyzer::~CommonModeAnalyzer | ( | ) |
Definition at line 191 of file CommonModeAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 209 of file CommonModeAnalyzer.cc.
References edm::EventBase::bunchCrossing(), HcalObjRepresent::Fill(), spr::find(), edm::Event::getByToken(), SiStripDetCabling::getConnections(), APVCyclePhaseCollection::invalid, LogDebug, m_apvphasecollToken, m_cmdist, m_cmvsbxrun, m_cmvsdbxincycle, m_cmvsorbitrun, m_detCabling, m_digibadmodulecollectionToken, m_digicollectionToken, m_historyProductToken, m_ignorebadfedmod, m_ignorenotconnected, m_napvs, m_nevents, m_nmodules, m_phasepart, m_selections, mod(), APVCyclePhaseCollection::multiphase, APVCyclePhaseCollection::nopartition, edm::EventBase::orbitNumber(), and updateDetCabling().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 307 of file CommonModeAnalyzer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 279 of file CommonModeAnalyzer.cc.
References RunHistogramManager::beginRun(), m_cmvsbxrun, m_cmvsorbitrun, and m_rhm.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 314 of file CommonModeAnalyzer.cc.
References m_nevents.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 300 of file CommonModeAnalyzer.cc.
|
private |
Definition at line 319 of file CommonModeAnalyzer.cc.
References EnergyCorrector::c, edm::EventSetup::get(), m_cacheIdDet, m_detCabling, and edm::ESHandle< class >::product().
Referenced by analyze().
|
private |
Definition at line 85 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
DB cache ID used to establish if the cabling has changed during the run.
Definition at line 103 of file CommonModeAnalyzer.cc.
Referenced by updateDetCabling().
|
private |
Definition at line 94 of file CommonModeAnalyzer.cc.
Referenced by analyze(), and CommonModeAnalyzer().
|
private |
Definition at line 98 of file CommonModeAnalyzer.cc.
Referenced by analyze(), beginRun(), and CommonModeAnalyzer().
|
private |
Definition at line 97 of file CommonModeAnalyzer.cc.
Referenced by analyze(), and CommonModeAnalyzer().
|
private |
Definition at line 99 of file CommonModeAnalyzer.cc.
Referenced by analyze(), beginRun(), and CommonModeAnalyzer().
|
private |
The cabling object.
Definition at line 104 of file CommonModeAnalyzer.cc.
Referenced by analyze(), and updateDetCabling().
|
private |
Definition at line 86 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 83 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 88 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 93 of file CommonModeAnalyzer.cc.
|
private |
Definition at line 96 of file CommonModeAnalyzer.cc.
Referenced by analyze(), and CommonModeAnalyzer().
|
private |
Definition at line 90 of file CommonModeAnalyzer.cc.
|
private |
Definition at line 95 of file CommonModeAnalyzer.cc.
Referenced by analyze(), and CommonModeAnalyzer().
|
private |
Definition at line 87 of file CommonModeAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 101 of file CommonModeAnalyzer.cc.
Referenced by beginRun(), and CommonModeAnalyzer().
|
private |
Definition at line 92 of file CommonModeAnalyzer.cc.
Referenced by analyze(), and CommonModeAnalyzer().