#include <DPGAnalysis/SiStripTools/plugins/CommonModeAnalyzer.cc>
Public Member Functions | |
CommonModeAnalyzer (const edm::ParameterSet &) | |
~CommonModeAnalyzer () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | endJob () override |
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.
|
override |
Definition at line 191 of file CommonModeAnalyzer.cc.
|
overrideprivate |
Definition at line 209 of file CommonModeAnalyzer.cc.
References edm::EDCollection< T >::begin(), edm::EventBase::bunchCrossing(), EventWithHistory::deltaBXinCycle(), edm::EDCollection< T >::end(), edm::HandleBase::failedToGet(), HcalObjRepresent::Fill(), spr::find(), edm::Event::getByToken(), SiStripDetCabling::getConnections(), APVCyclePhaseCollection::getPhase(), hcalSimParameters_cfi::he, APVCyclePhaseCollection::invalid, edm::HandleBase::isValid(), 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(), digi_MixPreMix_cfi::strip, and updateDetCabling().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 307 of file CommonModeAnalyzer.cc.
|
overrideprivate |
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.
|
overrideprivate |
Definition at line 300 of file CommonModeAnalyzer.cc.
|
private |
Definition at line 319 of file CommonModeAnalyzer.cc.
References EnergyCorrector::c, DEFINE_FWK_MODULE, edm::EventSetup::get(), m_cacheIdDet, m_detCabling, and edm::ESHandle< T >::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().