#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 DTRecHit1DPair &hitPair, const DTLayer *layer) const |
float | recHitDistFromWire (const DTRecHit1D &recHit, const DTLayer *layer) const |
float | recHitPositionError (const DTRecHit1DPair &recHit) const |
float | recHitPositionError (const DTRecHit1D &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<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 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) |
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 47 of file DTRecHitQuality.h.
DTRecHitQuality::DTRecHitQuality | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 87 of file DTRecHitQuality.cc.
References debug_, doall_, doStep1_, doStep2_, doStep3_, local_, muonDTDigis_cfi::pset, recHitLabel_, recHitToken_, segment2DLabel_, segment2DToken_, segment4DLabel_, segment4DToken_, simHitLabel_, and simHitToken_.
|
overrideprivatevirtual |
Implements DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... >.
Definition at line 110 of file DTRecHitQuality.cc.
References doall_, doStep1_, doStep2_, doStep3_, local_, hfnoseParametersInitialization_cfi::name2, alignCSCRings::s, and w().
|
private |
Definition at line 414 of file DTRecHitQuality.cc.
References funct::abs(), gather_cfg::cout, debug_, doall_, PV3DBase< T, PVType, FrameType >::eta(), HRes1DHit::fill(), HEff1DHit::fill(), findBestRecHit(), DTHitQualityUtils::findMuSimHit(), PixelMapPlotter::hRes, DTGeometry::layer(), phase1PixelTopology::layer, local_, PSimHit::localPosition(), PV3DBase< T, PVType, FrameType >::phi(), recHitDistFromWire(), recHitPositionError(), FastTrackerRecHitMaskProducer_cfi::recHits, simHitDistFromFE(), simHitDistFromWire(), simHitImpactAngle(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by dqmAnalyze().
|
overrideprivatevirtual |
Perform the real analysis.
Implements DQMGlobalEDAnalyzerBase< dtrechit::Histograms, Args... >.
Definition at line 211 of file DTRecHitQuality.cc.
References compute(), gather_cfg::cout, debug_, doall_, doStep1_, doStep2_, doStep3_, edm::HandleBase::isValid(), map1DRecHitsPerWire(), DTHitQualityUtils::mapSimHitsPerWire(), muonGeomToken_, edm::Handle< T >::product(), recHitLabel_, recHitToken_, segment2DLabel_, segment2DToken_, segment4DLabel_, segment4DToken_, singleTopDQM_cfi::setup, FastTrackerRecHitCombiner_cfi::simHits, and simHitToken_.
|
private |
Definition at line 384 of file DTRecHitQuality.cc.
References phase1PixelTopology::layer, rpcPointValidation_cfi::recHit, recHitDistFromWire(), and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by compute().
|
private |
Definition at line 302 of file DTRecHitQuality.cc.
References runTheMatrix::ret.
Referenced by dqmAnalyze().
|
private |
|
private |
Definition at line 330 of file DTRecHitQuality.cc.
References hfClusterShapes_cfi::hits, and runTheMatrix::ret.
|
private |
Definition at line 403 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
Referenced by compute(), and findBestRecHit().
|
private |
Definition at line 409 of file DTRecHitQuality.cc.
References phase1PixelTopology::layer, and rpcPointValidation_cfi::recHit.
|
private |
Definition at line 697 of file DTRecHitQuality.cc.
References DTEnums::Left, rpcPointValidation_cfi::recHit, and mathSSE::sqrt().
Referenced by compute().
|
private |
Definition at line 702 of file DTRecHitQuality.cc.
References rpcPointValidation_cfi::recHit, and mathSSE::sqrt().
|
private |
Definition at line 372 of file DTRecHitQuality.cc.
References phase1PixelTopology::layer, and PV3DBase< T, PVType, FrameType >::y().
Referenced by compute().
|
private |
Definition at line 353 of file DTRecHitQuality.cc.
References phase1PixelTopology::layer, DTWireId::wire(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compute().
|
private |
Definition at line 364 of file DTRecHitQuality.cc.
References theta(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compute().
|
private |
Definition at line 64 of file DTRecHitQuality.h.
Referenced by compute(), dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 86 of file DTRecHitQuality.h.
Referenced by bookHistograms(), compute(), dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 82 of file DTRecHitQuality.h.
Referenced by bookHistograms(), dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 83 of file DTRecHitQuality.h.
Referenced by bookHistograms(), dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 84 of file DTRecHitQuality.h.
Referenced by bookHistograms(), dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 85 of file DTRecHitQuality.h.
Referenced by bookHistograms(), compute(), and DTRecHitQuality().
|
private |
Definition at line 67 of file DTRecHitQuality.h.
Referenced by dqmAnalyze().
|
private |
Definition at line 77 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 71 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 78 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 72 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 79 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 73 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().
|
private |
Definition at line 74 of file DTRecHitQuality.h.
Referenced by DTRecHitQuality().
|
private |
Definition at line 70 of file DTRecHitQuality.h.
Referenced by dqmAnalyze(), and DTRecHitQuality().