#include <DQM/TrackerMonitorTrack/interface/MonitorTrackResiduals.cc>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &iSetup) |
void | createMEs (const edm::EventSetup &) |
virtual void | endJob (void) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
MonitorTrackResiduals (const edm::ParameterSet &) | |
void | resetLayerMEs (const std::pair< std::string, int32_t > &) |
void | resetModuleMEs (int32_t modid) |
~MonitorTrackResiduals () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
edm::ParameterSet | conf_ |
DQMStore * | dqmStore_ |
SiStripFolderOrganizer | folder_organizer |
GenericTriggerEventFlag * | genTriggerEventFlag_ |
HistoClass | HitResidual |
unsigned long long | m_cacheID_ |
std::map< std::pair < std::string, int32_t > , MonitorElement * > | m_SubdetLayerNormedResiduals |
std::map< std::pair < std::string, int32_t > , MonitorElement * > | m_SubdetLayerResiduals |
bool | ModOn |
HistoClass | NormedHitResiduals |
edm::ParameterSet | Parameters |
bool | reset_me_after_each_run |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Monitoring source for track residuals on each detector module
Definition at line 31 of file MonitorTrackResiduals.h.
|
explicit |
Definition at line 24 of file MonitorTrackResiduals.cc.
MonitorTrackResiduals::~MonitorTrackResiduals | ( | ) |
Definition at line 30 of file MonitorTrackResiduals.cc.
References genTriggerEventFlag_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 179 of file MonitorTrackResiduals.cc.
References GenericTriggerEventFlag::accept(), conf_, TrackerValidationVariables::fillHitQuantities(), folder_organizer, genTriggerEventFlag_, edm::EventSetup::get(), SiStripFolderOrganizer::GetSubDetAndLayer(), HitResidual, m_SubdetLayerNormedResiduals, m_SubdetLayerResiduals, ModOn, NormedHitResiduals, GenericTriggerEventFlag::on(), edm::ESHandle< class >::product(), and SiStripDetId::subDetector().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 35 of file MonitorTrackResiduals.cc.
References conf_, edm::ParameterSet::getParameter(), ModOn, and reset_me_after_each_run.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 40 of file MonitorTrackResiduals.cc.
References createMEs(), folder_organizer, genTriggerEventFlag_, edm::EventSetup::get(), SiStripFolderOrganizer::GetSubDetAndLayer(), HitResidual, GenericTriggerEventFlag::initRun(), m_cacheID_, m_SubdetLayerResiduals, Association::map, ModOn, GenericTriggerEventFlag::on(), edm::ESHandle< class >::product(), reset_me_after_each_run, resetLayerMEs(), and resetModuleMEs().
void MonitorTrackResiduals::createMEs | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 71 of file MonitorTrackResiduals.cc.
References abs, DQMStore::book1D(), conf_, dqmStore_, folder_organizer, edm::EventSetup::get(), edm::ParameterSet::getParameter(), SiStripFolderOrganizer::GetSubDetAndLayer(), HitResidual, m_SubdetLayerNormedResiduals, m_SubdetLayerResiduals, ModOn, NormedHitResiduals, edm::ESHandle< class >::product(), MonitorElement::setAxisTitle(), SiStripFolderOrganizer::setDetectorFolder(), SiStripFolderOrganizer::setLayerFolder(), SiStripFolderOrganizer::setSiStripFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and SiStripDetId::subDetector().
Referenced by beginRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 168 of file MonitorTrackResiduals.cc.
References conf_, dqmStore_, edm::ParameterSet::getParameter(), dumpDBToFile_GT_ttrig_cfg::outputFileName, DQMStore::save(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 164 of file MonitorTrackResiduals.cc.
void MonitorTrackResiduals::resetLayerMEs | ( | const std::pair< std::string, int32_t > & | subdetandlayer | ) |
Definition at line 157 of file MonitorTrackResiduals.cc.
References m_SubdetLayerNormedResiduals, and m_SubdetLayerResiduals.
Referenced by beginRun().
void MonitorTrackResiduals::resetModuleMEs | ( | int32_t | modid | ) |
Definition at line 152 of file MonitorTrackResiduals.cc.
References HitResidual, and NormedHitResiduals.
Referenced by beginRun().
|
private |
Definition at line 48 of file MonitorTrackResiduals.h.
Referenced by analyze(), beginJob(), createMEs(), and endJob().
|
private |
Definition at line 47 of file MonitorTrackResiduals.h.
Referenced by createMEs(), and endJob().
|
private |
Definition at line 54 of file MonitorTrackResiduals.h.
Referenced by analyze(), beginRun(), and createMEs().
|
private |
Definition at line 58 of file MonitorTrackResiduals.h.
Referenced by analyze(), beginRun(), and ~MonitorTrackResiduals().
|
private |
Definition at line 52 of file MonitorTrackResiduals.h.
Referenced by analyze(), beginRun(), createMEs(), and resetModuleMEs().
|
private |
Definition at line 55 of file MonitorTrackResiduals.h.
Referenced by beginRun().
|
private |
Definition at line 51 of file MonitorTrackResiduals.h.
Referenced by analyze(), createMEs(), and resetLayerMEs().
|
private |
Definition at line 50 of file MonitorTrackResiduals.h.
Referenced by analyze(), beginRun(), createMEs(), and resetLayerMEs().
|
private |
Definition at line 57 of file MonitorTrackResiduals.h.
Referenced by analyze(), beginJob(), beginRun(), and createMEs().
|
private |
Definition at line 53 of file MonitorTrackResiduals.h.
Referenced by analyze(), createMEs(), and resetModuleMEs().
|
private |
Definition at line 49 of file MonitorTrackResiduals.h.
|
private |
Definition at line 56 of file MonitorTrackResiduals.h.
Referenced by beginJob(), and beginRun().