#include <DTResolutionAnalysisTask.h>
Private Member Functions | |
void | bookHistos (DQMStore::IBooker &ibooker, DTSuperLayerId slId) |
void | fillHistos (DTSuperLayerId slId, float distExtr, float residual) |
Private Attributes | |
const DTGeometry * | dtGeom |
std::map< DTSuperLayerId, std::vector< MonitorElement * > > | histosPerSL |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
int | prescaleFactor |
edm::EDGetTokenT< DTRecSegment4DCollection > | recHits4DToken_ |
int | resetCycle |
u_int32_t | thePhiHitsCut |
u_int32_t | theZHitsCut |
std::string | topHistoFolder |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer<> | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMOneEDAnalyzer<> | |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
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 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) |
Protected Attributes inherited from DQMOneEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 33 of file DTResolutionAnalysisTask.h.
DTResolutionAnalysisTask::DTResolutionAnalysisTask | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 32 of file DTResolutionAnalysisTask.cc.
References ProducerED_cfi::InputTag, prescaleFactor, muonDTDigis_cfi::pset, recHits4DToken_, resetCycle, thePhiHitsCut, theZHitsCut, and topHistoFolder.
|
override |
|
overridevirtual |
To reset the MEs.
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 93 of file DTResolutionAnalysisTask.cc.
References relativeConstraints::chamber, DTGeometry::chamber(), filterCSVwithJSON::copy, funct::cos(), dtGeom, fillHistos(), edm::HandleBase::isValid(), nano_mu_digi_cff::layer, DTWireId::layerId(), FastTimerService_cff::range, recHits4DToken_, DTRecSegment2D::specificRecHits(), DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), thePhiHitsCut, theZHitsCut, DTWireId::wire(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
BookHistograms.
Implements DQMOneEDAnalyzer<>.
Definition at line 60 of file DTResolutionAnalysisTask.cc.
References bookHistos(), relativeConstraints::chamber, DTGeometry::chambers(), chambers, dtGeom, and DTChamberId::station().
|
private |
Definition at line 206 of file DTResolutionAnalysisTask.cc.
References dqm::implementation::IBooker::book1D(), combine::histos, histosPerSL, nano_mu_digi_cff::sector, DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, nano_mu_digi_cff::superLayer, DTSuperLayerId::superlayer(), topHistoFolder, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
overridevirtual |
BeginRun.
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 55 of file DTResolutionAnalysisTask.cc.
References dtGeom, muonGeomToken_, and singleTopDQM_cfi::setup.
|
private |
Definition at line 232 of file DTResolutionAnalysisTask.cc.
References combine::histos, and histosPerSL.
Referenced by analyze().
|
private |
Definition at line 57 of file DTResolutionAnalysisTask.h.
Referenced by analyze(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 73 of file DTResolutionAnalysisTask.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 56 of file DTResolutionAnalysisTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 59 of file DTResolutionAnalysisTask.h.
Referenced by DTResolutionAnalysisTask().
|
private |
Definition at line 66 of file DTResolutionAnalysisTask.h.
Referenced by analyze(), and DTResolutionAnalysisTask().
|
private |
Definition at line 60 of file DTResolutionAnalysisTask.h.
Referenced by DTResolutionAnalysisTask().
|
private |
Definition at line 62 of file DTResolutionAnalysisTask.h.
Referenced by analyze(), and DTResolutionAnalysisTask().
|
private |
Definition at line 63 of file DTResolutionAnalysisTask.h.
Referenced by analyze(), and DTResolutionAnalysisTask().
|
private |
Definition at line 76 of file DTResolutionAnalysisTask.h.
Referenced by bookHistos(), and DTResolutionAnalysisTask().