#include <DQM/SiStripMonitorCluster/interface/SiStripCertificationInfo.h>
Classes | |
struct | SubDetMEs |
Public Member Functions | |
SiStripCertificationInfo (const edm::ParameterSet &ps) | |
Constructor. More... | |
~SiStripCertificationInfo () override | |
Destructor. More... | |
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 (edm::Event const &, edm::EventSetup const &) override |
Analyze. More... | |
void | beginJob () override |
BeginJob. More... | |
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
Begin Run. More... | |
void | bookSiStripCertificationMEs () |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override |
End Of Luminosity. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
EndRun. More... | |
void | fillDummySiStripCertification () |
void | fillSiStripCertificationMEs (edm::EventSetup const &eSetup) |
void | fillSiStripCertificationMEsAtLumi () |
void | resetSiStripCertificationMEs () |
Private Attributes | |
edm::ESHandle< SiStripDetCabling > | detCabling_ |
DQMStore * | dqmStore_ |
unsigned long long | m_cacheID_ |
int | nFEDConnected_ |
MonitorElement * | SiStripCertification |
bool | sistripCertificationBooked_ |
MonitorElement * | SiStripCertificationMap |
MonitorElement * | SiStripCertificationSummaryMap |
std::map< std::string, SubDetMEs > | SubDetMEsMap |
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: Checks the # of SiStrip FEDs from DAQ Usage: <usage>
Definition at line 40 of file SiStripCertificationInfo.h.
SiStripCertificationInfo::SiStripCertificationInfo | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 33 of file SiStripCertificationInfo.cc.
References dqmStore_, Utilities::operator, and sistripCertificationBooked_.
|
override |
Destructor.
Definition at line 41 of file SiStripCertificationInfo.cc.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 48 of file SiStripCertificationInfo.cc.
|
overrideprivatevirtual |
Begin Run.
Reimplemented from edm::EDAnalyzer.
Definition at line 54 of file SiStripCertificationInfo.cc.
References bookSiStripCertificationMEs(), detCabling_, fillDummySiStripCertification(), edm::EventSetup::find(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), LogDebug, m_cacheID_, RunInfo::m_fed_in, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, and nFEDConnected_.
|
private |
Definition at line 90 of file SiStripCertificationInfo.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), DQMStore::cd(), SiStripCertificationInfo::SubDetMEs::det_fractionME, dqmStore_, SiStripCertificationInfo::SubDetMEs::folder_name, SiStripUtility::getTopFolderPath(), SiStripCertificationInfo::SubDetMEs::n_layer, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), SiStripCertification, sistripCertificationBooked_, SiStripCertificationSummaryMap, AlCaHLTBitMon_QueryRunRegistry::string, SiStripCertificationInfo::SubDetMEs::subdet_tag, SubDetMEsMap, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by beginRun(), and resetSiStripCertificationMEs().
|
overrideprivatevirtual |
End Of Luminosity.
Reimplemented from edm::EDAnalyzer.
Definition at line 176 of file SiStripCertificationInfo.cc.
References fillSiStripCertificationMEsAtLumi(), and nFEDConnected_.
|
overrideprivatevirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 187 of file SiStripCertificationInfo.cc.
References fillSiStripCertificationMEs(), and nFEDConnected_.
|
private |
Definition at line 293 of file SiStripCertificationInfo.cc.
References MonitorElement::Fill(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), resetSiStripCertificationMEs(), SiStripCertification, sistripCertificationBooked_, SiStripCertificationSummaryMap, and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 197 of file SiStripCertificationInfo.cc.
References funct::abs(), DQMStore::cd(), SiStripDetCabling::connectedNumber(), detCabling_, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, dqmStore_, MonitorElement::Fill(), edm::EventSetup::get(), DQMStore::get(), DQMStore::getContents(), MonitorElement::getFloatValue(), MonitorElement::getNbinsY(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripUtility::goToDir(), gen::k, MonitorElement::kind(), dataset::name, edm::ESHandle< T >::product(), DQMStore::pwd(), MonitorElement::Reset(), resetSiStripCertificationMEs(), SiStripCertification, sistripCertificationBooked_, SiStripCertificationSummaryMap, AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by endRun().
|
private |
Definition at line 313 of file SiStripCertificationInfo.cc.
References DQMStore::cd(), DEFINE_FWK_MODULE, MonitorElement::DQM_KIND_REAL, dqmStore_, MonitorElement::Fill(), DQMStore::get(), MonitorElement::getFloatValue(), SiStripUtility::getTopFolderPath(), MonitorElement::kind(), MonitorElement::Reset(), resetSiStripCertificationMEs(), SiStripCertification, sistripCertificationBooked_, AlCaHLTBitMon_QueryRunRegistry::string, and SubDetMEsMap.
Referenced by endLuminosityBlock().
|
private |
Definition at line 279 of file SiStripCertificationInfo.cc.
References bookSiStripCertificationMEs(), MonitorElement::Reset(), SiStripCertification, sistripCertificationBooked_, SiStripCertificationSummaryMap, and SubDetMEsMap.
Referenced by fillDummySiStripCertification(), fillSiStripCertificationMEs(), and fillSiStripCertificationMEsAtLumi().
|
private |
Definition at line 98 of file SiStripCertificationInfo.h.
Referenced by beginRun(), and fillSiStripCertificationMEs().
|
private |
Definition at line 79 of file SiStripCertificationInfo.h.
Referenced by bookSiStripCertificationMEs(), fillSiStripCertificationMEs(), fillSiStripCertificationMEsAtLumi(), and SiStripCertificationInfo().
|
private |
Definition at line 96 of file SiStripCertificationInfo.h.
Referenced by beginRun().
|
private |
Definition at line 100 of file SiStripCertificationInfo.h.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 90 of file SiStripCertificationInfo.h.
Referenced by bookSiStripCertificationMEs(), fillDummySiStripCertification(), fillSiStripCertificationMEs(), fillSiStripCertificationMEsAtLumi(), and resetSiStripCertificationMEs().
|
private |
Definition at line 95 of file SiStripCertificationInfo.h.
Referenced by bookSiStripCertificationMEs(), fillDummySiStripCertification(), fillSiStripCertificationMEs(), fillSiStripCertificationMEsAtLumi(), resetSiStripCertificationMEs(), and SiStripCertificationInfo().
|
private |
Definition at line 91 of file SiStripCertificationInfo.h.
|
private |
Definition at line 93 of file SiStripCertificationInfo.h.
Referenced by bookSiStripCertificationMEs(), fillDummySiStripCertification(), fillSiStripCertificationMEs(), and resetSiStripCertificationMEs().
|
private |
Definition at line 92 of file SiStripCertificationInfo.h.
Referenced by bookSiStripCertificationMEs(), fillDummySiStripCertification(), fillSiStripCertificationMEs(), fillSiStripCertificationMEsAtLumi(), and resetSiStripCertificationMEs().