#include <DTRecHitQuality.h>
Private Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtrechit::Histograms &) const override |
Book the DQM plots. More... | |
template<typename type > | |
void | compute (const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit >> &simHitsPerWire, const std::map< DTWireId, std::vector< type >> &recHitsPerWire, dtrechit::Histograms const &histograms, int step) const |
void | dqmAnalyze (edm::Event const &, edm::EventSetup const &, dtrechit::Histograms const &) const override |
Perform the real analysis. More... | |
template<typename type > | |
const type * | findBestRecHit (const DTLayer *layer, const DTWireId &wireId, const std::vector< type > &recHits, float simHitDist) const |
std::map< DTWireId, std::vector< DTRecHit1DPair > > | map1DRecHitsPerWire (const DTRecHitCollection *dt1DRecHitPairs) const |
std::map< DTWireId, std::vector< DTRecHit1D > > | map1DRecHitsPerWire (const DTRecSegment2DCollection *segment2Ds) const |
std::map< DTWireId, std::vector< DTRecHit1D > > | map1DRecHitsPerWire (const DTRecSegment4DCollection *segment4Ds) const |
float | recHitDistFromWire (const DTRecHit1D &recHit, const DTLayer *layer) const |
float | recHitDistFromWire (const DTRecHit1DPair &hitPair, const DTLayer *layer) const |
float | recHitPositionError (const DTRecHit1D &recHit) const |
float | recHitPositionError (const DTRecHit1DPair &recHit) const |
float | simHitDistFromFE (const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const |
float | simHitDistFromWire (const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const |
float | simHitImpactAngle (const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const |
Additional Inherited Members | |
Public Types inherited from DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
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::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... > | |
uint64_t | meId (edm::Run const &run) const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Protected Attributes inherited from DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... > | |
DQMStore * | dqmstore_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Basic analyzer class which accesses 1D DTRecHits and plot resolution comparing reconstructed and simulated quantities
Residual/pull plots are filled for the rechit with distance from wire closer to that of the muon simhit.
Efficiencies are defined as the fraction of muon simhits with a rechit in the same cell, for the given reconstruction step. Hence, for S2 and S3 the definition incorporate the segment reconstruction efficiency.
Definition at line 46 of file DTRecHitQuality.h.
DTRecHitQuality::DTRecHitQuality | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 88 of file DTRecHitQuality.cc.
References muonDTDigis_cfi::pset.
|
overrideprivatevirtual |
Implements DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... >.
Definition at line 111 of file DTRecHitQuality.cc.
References hfnoseParametersInitialization_cfi::name2, alignCSCRings::s, and w.
|
private |
Definition at line 416 of file DTRecHitQuality.cc.
References funct::abs(), gather_cfg::cout, PV3DBase< T, PVType, FrameType >::eta(), HRes1DHit::fill(), HEff1DHit::fill(), DTHitQualityUtils::findMuSimHit(), PixelMapPlotter::hRes, DTGeometry::layer(), PSimHit::localPosition(), PV3DBase< T, PVType, FrameType >::phi(), FastTrackerRecHitMaskProducer_cfi::recHits, DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
overrideprivatevirtual |
Perform the real analysis.
Implements DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... >.
Definition at line 212 of file DTRecHitQuality.cc.
References bookConverter::compute(), gather_cfg::cout, get, bookConverter::histograms, edm::HandleBase::isValid(), DTHitQualityUtils::mapSimHitsPerWire(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), singleTopDQM_cfi::setup, and FastTrackerRecHitCombiner_cfi::simHits.
|
private |
Definition at line 386 of file DTRecHitQuality.cc.
References rpcPointValidation_cfi::recHit, and FastTrackerRecHitMaskProducer_cfi::recHits.
|
private |
|
private |
|
private |
Definition at line 332 of file DTRecHitQuality.cc.
References hfClusterShapes_cfi::hits, and runTheMatrix::ret.
|
private |
Definition at line 411 of file DTRecHitQuality.cc.
References rpcPointValidation_cfi::recHit, DTLayer::specificTopology(), and DTTopology::wirePosition().
|
private |
Definition at line 405 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 704 of file DTRecHitQuality.cc.
References rpcPointValidation_cfi::recHit, and mathSSE::sqrt().
|
private |
Definition at line 699 of file DTRecHitQuality.cc.
References DTEnums::Left, rpcPointValidation_cfi::recHit, and mathSSE::sqrt().
|
private |
Definition at line 374 of file DTRecHitQuality.cc.
References DTTopology::cellLenght(), DTLayer::specificTopology(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 355 of file DTRecHitQuality.cc.
References DTLayer::specificTopology(), DTWireId::wire(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 366 of file DTRecHitQuality.cc.
References theta(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 63 of file DTRecHitQuality.h.
|
private |
Definition at line 82 of file DTRecHitQuality.h.
|
private |
Definition at line 78 of file DTRecHitQuality.h.
|
private |
Definition at line 79 of file DTRecHitQuality.h.
|
private |
Definition at line 80 of file DTRecHitQuality.h.
|
private |
Definition at line 81 of file DTRecHitQuality.h.
|
private |
Definition at line 73 of file DTRecHitQuality.h.
|
private |
Definition at line 67 of file DTRecHitQuality.h.
|
private |
Definition at line 74 of file DTRecHitQuality.h.
|
private |
Definition at line 68 of file DTRecHitQuality.h.
|
private |
Definition at line 75 of file DTRecHitQuality.h.
|
private |
Definition at line 69 of file DTRecHitQuality.h.
|
private |
Definition at line 70 of file DTRecHitQuality.h.
|
private |
Definition at line 66 of file DTRecHitQuality.h.