#include <DTt0DBValidation.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | 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::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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_, metname_, Utilities::operator, outputFileName_, outputMEsInRootFile_, muonDTDigis_cfi::pset, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and t0TestName_.
|
override |
|
inlineoverridevirtual |
|
override |
Operations.
Definition at line 60 of file DTt0DBValidation.cc.
References DTT0::begin(), bookHistos(), totem::nt2::vfat::channelId(), DTTimeUnits::counts, dtGeom, DTT0::end(), DTTopology::firstChannel(), DTT0::get(), labelDB_, labelDBRef_, DTTopology::lastChannel(), DTGeometry::layer(), LogTrace, genParticles_cff::map, metname_, muonGeomToken_, singleTopDQM_cfi::setup, DTLayer::specificTopology(), t0DiffHistos_, t0Map_, t0RefMap_, tzero, tZeroMap_, tZeroRefMap_, DTT0::version(), makeMuonMisalignmentScenario::wheel, and wheelSummary_.
|
private |
Definition at line 187 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_, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by beginRun().
|
private |
Definition at line 219 of file DTt0DBValidation.cc.
References dqm::implementation::IBooker::book2D(), dbe_, dqm::implementation::DQMStore::setCurrentFolder(), makeMuonMisalignmentScenario::wheel, and wheelSummary_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 180 of file DTt0DBValidation.cc.
References dbe_, outputFileName_, outputMEsInRootFile_, and dqm::implementation::DQMStore::save().
|
override |
Definition at line 151 of file DTt0DBValidation.cc.
References MonitorElementData::QReport::getBadChannels(), MonitorElementData::QReport::getMessage(), MonitorElementData::QReport::getQTresult(), MonitorElementData::QReport::getStatus(), metname_, t0DiffHistos_, t0TestName_, wheelSummary_, and photonAnalyzer_cfi::xBin.
|
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().