#include <RPCChamberQuality.h>
Public Member Functions | |
RPCChamberQuality (const edm::ParameterSet &ps) | |
virtual | ~RPCChamberQuality () |
Public Member Functions inherited from DQMEDHarvester | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) final |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDHarvester (void) | |
virtual void | endJob () final |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
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 () |
Protected Member Functions | |
void | beginJob () |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup 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) |
Private Types | |
enum | chamberQualityState { GoodState = 1, OffState =2, NoisyStripState = 3, NoisyRollState = 4, PartiallyDeadState =5, DeadState =6, BadShapeState =7 } |
Private Member Functions | |
void | fillMonitorElements (DQMStore::IGetter &) |
void | myBooker (DQMStore::IBooker &) |
void | performeClientOperation (std::string, int, MonitorElement *, DQMStore::IGetter &) |
Private Attributes | |
bool | enableDQMClients_ |
bool | init_ |
int | lumiCounter_ |
int | minEvents |
int | numberOfDisks_ |
int | numLumBlock_ |
bool | offlineDQM_ |
std::string | prefixDir_ |
int | prescaleFactor_ |
MonitorElement * | RpcEvents |
std::string | summaryDir_ |
bool | useRollInfo_ |
Static Private Attributes | |
static const std::string | regions_ [3] = {"EndcapNegative","Barrel","EndcapPositive"} |
static const std::string | xLabels_ [7] = {"Good", "OFF", "Nois.St","Nois.Ch","Part.Dead","Dead","Bad.Shape"} |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 11 of file RPCChamberQuality.h.
|
private |
Enumerator | |
---|---|
GoodState | |
OffState | |
NoisyStripState | |
NoisyRollState | |
PartiallyDeadState | |
DeadState | |
BadShapeState |
Definition at line 30 of file RPCChamberQuality.h.
RPCChamberQuality::RPCChamberQuality | ( | const edm::ParameterSet & | ps | ) |
Definition at line 13 of file RPCChamberQuality.cc.
References enableDQMClients_, edm::ParameterSet::getUntrackedParameter(), init_, lumiCounter_, minEvents, numberOfDisks_, offlineDQM_, prefixDir_, prescaleFactor_, AlCaHLTBitMon_QueryRunRegistry::string, summaryDir_, and useRollInfo_.
|
virtual |
Definition at line 36 of file RPCChamberQuality.cc.
|
protectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 40 of file RPCChamberQuality.cc.
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 68 of file RPCChamberQuality.cc.
References enableDQMClients_, fillMonitorElements(), init_, myBooker(), and offlineDQM_.
|
protectedvirtual |
Reimplemented from DQMEDHarvester.
Definition at line 46 of file RPCChamberQuality.cc.
References enableDQMClients_, fillMonitorElements(), lumiCounter_, myBooker(), offlineDQM_, and prescaleFactor_.
|
private |
Definition at line 145 of file RPCChamberQuality.cc.
References DQMStore::IGetter::get(), MonitorElement::getBinContent(), MonitorElement::getEntries(), i, init_, minEvents, NULL, numberOfDisks_, performeClientOperation(), prefixDir_, alignCSCRings::r, regions_, MonitorElement::Reset(), RpcEvents, MonitorElement::setBinContent(), edmLumisInFiles::summary, summaryDir_, and x.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
|
private |
Definition at line 81 of file RPCChamberQuality.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), ztail::d, init_, rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), numberOfDisks_, alignCSCRings::r, regions_, MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), summaryDir_, useRollInfo_, w, x, and xLabels_.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
|
private |
Definition at line 214 of file RPCChamberQuality.cc.
References BadShapeState, DeadState, MonitorElement::Fill(), HcalObjRepresent::Fill(), DQMStore::IGetter::get(), MonitorElement::getBinContent(), GoodState, AnalysisDataFormats_SUSYBSMObjects::hv, VarParsing::mult, NoisyRollState, NoisyStripState, NULL, OffState, PartiallyDeadState, MonitorElement::Reset(), summaryDir_, x, and y.
Referenced by fillMonitorElements().
|
private |
Definition at line 34 of file RPCChamberQuality.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and RPCChamberQuality().
|
private |
Definition at line 46 of file RPCChamberQuality.h.
Referenced by dqmEndJob(), fillMonitorElements(), myBooker(), and RPCChamberQuality().
|
private |
Definition at line 32 of file RPCChamberQuality.h.
Referenced by dqmEndLuminosityBlock(), and RPCChamberQuality().
|
private |
Definition at line 48 of file RPCChamberQuality.h.
Referenced by fillMonitorElements(), and RPCChamberQuality().
|
private |
Definition at line 44 of file RPCChamberQuality.h.
Referenced by fillMonitorElements(), myBooker(), and RPCChamberQuality().
|
private |
Definition at line 49 of file RPCChamberQuality.h.
|
private |
Definition at line 35 of file RPCChamberQuality.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and RPCChamberQuality().
|
private |
Definition at line 39 of file RPCChamberQuality.h.
Referenced by fillMonitorElements(), and RPCChamberQuality().
|
private |
Definition at line 43 of file RPCChamberQuality.h.
Referenced by dqmEndLuminosityBlock(), and RPCChamberQuality().
|
staticprivate |
Definition at line 41 of file RPCChamberQuality.h.
Referenced by fillMonitorElements(), and myBooker().
|
private |
Definition at line 29 of file RPCChamberQuality.h.
Referenced by fillMonitorElements().
|
private |
Definition at line 39 of file RPCChamberQuality.h.
Referenced by fillMonitorElements(), myBooker(), performeClientOperation(), and RPCChamberQuality().
|
private |
Definition at line 42 of file RPCChamberQuality.h.
Referenced by myBooker(), and RPCChamberQuality().
|
staticprivate |
Definition at line 40 of file RPCChamberQuality.h.
Referenced by myBooker().