#include <DTRecHitQuality.h>
Private Member Functions | |
void | bookHistograms (DQMStore::ConcurrentBooker &, 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 edm::global::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::global::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) |
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<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
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) |
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 88 of file DTRecHitQuality.cc.
References edm::ParameterSet::getUntrackedParameter().
|
overrideprivatevirtual |
Implements DQMGlobalEDAnalyzer< dtrechit::Histograms >.
Definition at line 111 of file DTRecHitQuality.cc.
References dtrechit::Histograms::hEff_S1RPhi, dtrechit::Histograms::hEff_S1RPhiWS, dtrechit::Histograms::hEff_S1RZ, dtrechit::Histograms::hEff_S1RZ_W0, dtrechit::Histograms::hEff_S1RZ_W1, dtrechit::Histograms::hEff_S1RZ_W2, dtrechit::Histograms::hEff_S1RZWS, dtrechit::Histograms::hEff_S2RPhi, dtrechit::Histograms::hEff_S2RZ, dtrechit::Histograms::hEff_S2RZ_W0, dtrechit::Histograms::hEff_S2RZ_W1, dtrechit::Histograms::hEff_S2RZ_W2, dtrechit::Histograms::hEff_S3RPhi, dtrechit::Histograms::hEff_S3RPhiWS, dtrechit::Histograms::hEff_S3RZ, dtrechit::Histograms::hEff_S3RZ_W0, dtrechit::Histograms::hEff_S3RZ_W1, dtrechit::Histograms::hEff_S3RZ_W2, dtrechit::Histograms::hEff_S3RZWS, dtrechit::Histograms::hRes_S1RPhi, dtrechit::Histograms::hRes_S1RPhi_W0, dtrechit::Histograms::hRes_S1RPhi_W1, dtrechit::Histograms::hRes_S1RPhi_W2, dtrechit::Histograms::hRes_S1RZ, dtrechit::Histograms::hRes_S1RZ_W0, dtrechit::Histograms::hRes_S1RZ_W1, dtrechit::Histograms::hRes_S1RZ_W2, dtrechit::Histograms::hRes_S2RPhi, dtrechit::Histograms::hRes_S2RPhi_W0, dtrechit::Histograms::hRes_S2RPhi_W1, dtrechit::Histograms::hRes_S2RPhi_W2, dtrechit::Histograms::hRes_S2RZ, dtrechit::Histograms::hRes_S2RZ_W0, dtrechit::Histograms::hRes_S2RZ_W1, dtrechit::Histograms::hRes_S2RZ_W2, dtrechit::Histograms::hRes_S3RPhi, dtrechit::Histograms::hRes_S3RPhi_W0, dtrechit::Histograms::hRes_S3RPhi_W1, dtrechit::Histograms::hRes_S3RPhi_W2, dtrechit::Histograms::hRes_S3RPhiWS, dtrechit::Histograms::hRes_S3RZ, dtrechit::Histograms::hRes_S3RZ_W0, dtrechit::Histograms::hRes_S3RZ_W1, dtrechit::Histograms::hRes_S3RZ_W2, dtrechit::Histograms::hRes_S3RZWS, alignCSCRings::s, and w.
|
private |
Definition at line 400 of file DTRecHitQuality.cc.
References funct::abs(), gather_cfg::cout, PV3DBase< T, PVType, FrameType >::eta(), HRes1DHit::fill(), HEff1DHit::fill(), DTHitQualityUtils::findMuSimHit(), dtrechit::Histograms::hEff_S1RPhi, dtrechit::Histograms::hEff_S1RPhiWS, dtrechit::Histograms::hEff_S1RZ, dtrechit::Histograms::hEff_S1RZ_W0, dtrechit::Histograms::hEff_S1RZ_W1, dtrechit::Histograms::hEff_S1RZ_W2, dtrechit::Histograms::hEff_S1RZWS, dtrechit::Histograms::hEff_S2RPhi, dtrechit::Histograms::hEff_S2RZ, dtrechit::Histograms::hEff_S2RZ_W0, dtrechit::Histograms::hEff_S2RZ_W1, dtrechit::Histograms::hEff_S2RZ_W2, dtrechit::Histograms::hEff_S3RPhi, dtrechit::Histograms::hEff_S3RPhiWS, dtrechit::Histograms::hEff_S3RZ, dtrechit::Histograms::hEff_S3RZ_W0, dtrechit::Histograms::hEff_S3RZ_W1, dtrechit::Histograms::hEff_S3RZ_W2, dtrechit::Histograms::hEff_S3RZWS, dtrechit::Histograms::hRes_S1RPhi, dtrechit::Histograms::hRes_S1RPhi_W0, dtrechit::Histograms::hRes_S1RPhi_W1, dtrechit::Histograms::hRes_S1RPhi_W2, dtrechit::Histograms::hRes_S1RZ, dtrechit::Histograms::hRes_S1RZ_W0, dtrechit::Histograms::hRes_S1RZ_W1, dtrechit::Histograms::hRes_S1RZ_W2, dtrechit::Histograms::hRes_S2RPhi, dtrechit::Histograms::hRes_S2RPhi_W0, dtrechit::Histograms::hRes_S2RPhi_W1, dtrechit::Histograms::hRes_S2RPhi_W2, dtrechit::Histograms::hRes_S2RZ, dtrechit::Histograms::hRes_S2RZ_W0, dtrechit::Histograms::hRes_S2RZ_W1, dtrechit::Histograms::hRes_S2RZ_W2, dtrechit::Histograms::hRes_S3RPhi, dtrechit::Histograms::hRes_S3RPhi_W0, dtrechit::Histograms::hRes_S3RPhi_W1, dtrechit::Histograms::hRes_S3RPhi_W2, dtrechit::Histograms::hRes_S3RPhiWS, dtrechit::Histograms::hRes_S3RZ, dtrechit::Histograms::hRes_S3RZ_W0, dtrechit::Histograms::hRes_S3RZ_W1, dtrechit::Histograms::hRes_S3RZ_W2, dtrechit::Histograms::hRes_S3RZWS, DTGeometry::layer(), PSimHit::localPosition(), PV3DBase< T, PVType, FrameType >::phi(), DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
overrideprivate |
Perform the real analysis.
Definition at line 181 of file DTRecHitQuality.cc.
References bookConverter::compute(), gather_cfg::cout, edm::EventSetup::get(), ecalSelectiveReadoutValidation_cfi::histograms, edm::HandleBase::isValid(), DTHitQualityUtils::mapSimHitsPerWire(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), and trackerHits::simHits.
|
private |
Definition at line 361 of file DTRecHitQuality.cc.
References rpcPointValidation_cfi::recHit.
|
private |
Definition at line 271 of file DTRecHitQuality.cc.
|
private |
Definition at line 284 of file DTRecHitQuality.cc.
|
private |
Definition at line 300 of file DTRecHitQuality.cc.
References hfClusterShapes_cfi::hits.
|
private |
Definition at line 384 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 394 of file DTRecHitQuality.cc.
References DTRecHit1D::localPosition(), DTLayer::specificTopology(), DTWireId::wire(), DTRecHit1D::wireId(), DTTopology::wirePosition(), and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 648 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 653 of file DTRecHitQuality.cc.
References DEFINE_FWK_MODULE, DTRecHit1D::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 345 of file DTRecHitQuality.cc.
References DTTopology::cellLenght(), PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 322 of file DTRecHitQuality.cc.
References PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), DTWireId::wire(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 335 of file DTRecHitQuality.cc.
References PSimHit::entryPoint(), PSimHit::exitPoint(), theta(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 62 of file DTRecHitQuality.h.
|
private |
Definition at line 80 of file DTRecHitQuality.h.
|
private |
Definition at line 76 of file DTRecHitQuality.h.
|
private |
Definition at line 77 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 71 of file DTRecHitQuality.h.
|
private |
Definition at line 66 of file DTRecHitQuality.h.
|
private |
Definition at line 72 of file DTRecHitQuality.h.
|
private |
Definition at line 67 of file DTRecHitQuality.h.
|
private |
Definition at line 73 of file DTRecHitQuality.h.
|
private |
Definition at line 68 of file DTRecHitQuality.h.
|
private |
Definition at line 68 of file DTRecHitQuality.h.
|
private |
Definition at line 65 of file DTRecHitQuality.h.