#include <DTt0DBValidation.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | bookHistos (DTLayerId lId, int firstWire, int lastWire) |
void | bookHistos (int wheel) |
Private Attributes | |
DQMStore * | dbe_ |
const DTGeometry * | dtGeom |
edm::ESGetToken< DTT0, DTT0Rcd > | labelDB_ |
edm::ESGetToken< DTT0, DTT0Rcd > | labelDBRef_ |
std::string | metname_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
std::string | outputFileName_ |
bool | outputMEsInRootFile_ |
std::map< DTLayerId, MonitorElement * > | t0DiffHistos_ |
std::map< DTWireId, std::vector< float > > | t0Map_ |
std::map< DTWireId, std::vector< float > > | t0RefMap_ |
std::string | t0TestName_ |
const DTT0 * | tZeroMap_ |
const DTT0 * | tZeroRefMap_ |
std::map< int, MonitorElement * > | wheelSummary_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Plot the t0 from the DB
Definition at line 32 of file DTt0DBValidation.h.
Definition at line 35 of file DTt0DBValidation.h.
Definition at line 34 of file DTt0DBValidation.h.
DTt0DBValidation::DTt0DBValidation | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 35 of file DTt0DBValidation.cc.
References dbe_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), metname_, Utilities::operator, outputFileName_, outputMEsInRootFile_, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and t0TestName_.
|
override |
|
inlineoverridevirtual |
|
overridevirtual |
Operations.
Reimplemented from edm::EDAnalyzer.
Definition at line 59 of file DTt0DBValidation.cc.
References DTT0::begin(), bookHistos(), DTTimeUnits::counts, dtGeom, DTT0::end(), DTTopology::firstChannel(), DTT0::get(), edm::EventSetup::getData(), labelDB_, labelDBRef_, DTTopology::lastChannel(), DTGeometry::layer(), LogTrace, metname_, muonGeomToken_, DTLayer::specificTopology(), t0DiffHistos_, t0Map_, t0RefMap_, tzero, tZeroMap_, tZeroRefMap_, DTT0::version(), and wheelSummary_.
|
private |
Definition at line 186 of file DTt0DBValidation.cc.
References dqm::implementation::IBooker::book1D(), DTSuperLayerId::chamberId(), dbe_, DTLayerId::layer(), phase1PixelTopology::layer, LogTrace, metname_, DTChamberId::sector(), dqm::implementation::DQMStore::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), t0DiffHistos_, and DTChamberId::wheel().
Referenced by beginRun().
|
private |
Definition at line 218 of file DTt0DBValidation.cc.
References dqm::implementation::IBooker::book2D(), dbe_, dqm::implementation::DQMStore::setCurrentFolder(), and wheelSummary_.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 179 of file DTt0DBValidation.cc.
References dbe_, outputFileName_, outputMEsInRootFile_, and dqm::implementation::DQMStore::save().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file DTt0DBValidation.cc.
References MonitorElementData::QReport::getBadChannels(), MonitorElementData::QReport::getMessage(), MonitorElementData::QReport::getQTresult(), MonitorElementData::QReport::getStatus(), metname_, t0DiffHistos_, t0TestName_, and wheelSummary_.
|
private |
Definition at line 53 of file DTt0DBValidation.h.
Referenced by bookHistos(), DTt0DBValidation(), and endJob().
|
private |
Definition at line 68 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 58 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 57 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 55 of file DTt0DBValidation.h.
Referenced by beginRun(), bookHistos(), DTt0DBValidation(), and endRun().
|
private |
Definition at line 67 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 62 of file DTt0DBValidation.h.
Referenced by DTt0DBValidation(), and endJob().
|
private |
Definition at line 61 of file DTt0DBValidation.h.
Referenced by DTt0DBValidation(), and endJob().
|
private |
Definition at line 79 of file DTt0DBValidation.h.
Referenced by beginRun(), bookHistos(), and endRun().
|
private |
Definition at line 76 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 75 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 64 of file DTt0DBValidation.h.
Referenced by DTt0DBValidation(), and endRun().
|
private |
Definition at line 72 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 71 of file DTt0DBValidation.h.
Referenced by beginRun().
|
private |
Definition at line 82 of file DTt0DBValidation.h.
Referenced by beginRun(), bookHistos(), and endRun().