#include <DTRecHitQuality.h>
Private Member Functions | |
template<typename type > | |
void | compute (const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit > > &simHitsPerWire, const std::map< DTWireId, std::vector< type > > &recHitsPerWire, int step) |
template<typename type > | |
const type * | findBestRecHit (const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist) |
std::map< DTWireId, std::vector< DTRecHit1DPair > > | map1DRecHitsPerWire (const DTRecHitCollection *dt1DRecHitPairs) |
std::map< DTWireId, std::vector< DTRecHit1D > > | map1DRecHitsPerWire (const DTRecSegment2DCollection *segment2Ds) |
std::map< DTWireId, std::vector< DTRecHit1D > > | map1DRecHitsPerWire (const DTRecSegment4DCollection *segment4Ds) |
float | recHitDistFromWire (const DTRecHit1DPair &hitPair, const DTLayer *layer) |
float | recHitDistFromWire (const DTRecHit1D &recHit, const DTLayer *layer) |
float | recHitPositionError (const DTRecHit1DPair &recHit) |
float | recHitPositionError (const DTRecHit1D &recHit) |
float | simHitDistFromFE (const DTLayer *layer, DTWireId wireId, const PSimHit &hit) |
float | simHitDistFromWire (const DTLayer *layer, DTWireId wireId, const PSimHit &hit) |
float | simHitImpactAngle (const DTLayer *layer, DTWireId wireId, const PSimHit &hit) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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 50 of file DTRecHitQuality.h.
DTRecHitQuality::DTRecHitQuality | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 44 of file DTRecHitQuality.cc.
References debug, DTRecHitQuality_cfi::doall, DTRecHitQuality_cfi::doStep1, DTRecHitQuality_cfi::doStep2, DTRecHitQuality_cfi::doStep3, edm::ParameterSet::getUntrackedParameter(), DTRecHitQuality_cfi::local, cscRecHitValidation_cfi::recHitLabel, DTRecHitQuality_cfi::segment2DLabel, DTRecHitQuality_cfi::segment4DLabel, and AddPileupSummary_cfi::simHitLabel.
|
virtual |
void DTRecHitQuality::analyze | ( | const edm::Event & | event, |
const edm::EventSetup & | eventSetup | ||
) |
Perform the real analysis.
Definition at line 192 of file DTRecHitQuality.cc.
References bookConverter::compute(), gather_cfg::cout, debug, DTRecHitQuality_cfi::doall, DTRecHitQuality_cfi::doStep1, DTRecHitQuality_cfi::doStep2, DTRecHitQuality_cfi::doStep3, edm::EventSetup::get(), edm::HandleBase::isValid(), DTHitQualityUtils::mapSimHitsPerWire(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), cscRecHitValidation_cfi::recHitLabel, DTRecHitQuality_cfi::segment2DLabel, DTRecHitQuality_cfi::segment4DLabel, and trackerHits::simHits.
|
virtual |
Definition at line 67 of file DTRecHitQuality.cc.
References dbe_, DTRecHitQuality_cfi::doall, DTRecHitQuality_cfi::doStep1, DTRecHitQuality_cfi::doStep2, DTRecHitQuality_cfi::doStep3, DTRecHitQuality_cfi::local, cppFunctionSkipper::operator, alignCSCRings::s, and w.
|
private |
Definition at line 427 of file DTRecHitQuality.cc.
References funct::abs(), gather_cfg::cout, debug, DTRecHitQuality_cfi::doall, PV3DBase< T, PVType, FrameType >::eta(), HRes1DHit::Fill(), HEff1DHit::Fill(), DTHitQualityUtils::findMuSimHit(), DTGeometry::layer(), DTRecHitQuality_cfi::local, PSimHit::localPosition(), genParticles_cff::map, PV3DBase< T, PVType, FrameType >::phi(), DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 164 of file DTRecHitQuality.cc.
References DTRecHitQuality_cfi::doall, DTRecHitQuality_cfi::doStep1, DTRecHitQuality_cfi::doStep2, and DTRecHitQuality_cfi::doStep3.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 159 of file DTRecHitQuality.cc.
|
private |
Definition at line 388 of file DTRecHitQuality.cc.
References rpcPointValidation_cfi::recHit.
|
private |
Definition at line 286 of file DTRecHitQuality.cc.
|
private |
Definition at line 300 of file DTRecHitQuality.cc.
|
private |
Definition at line 322 of file DTRecHitQuality.cc.
References hfClusterShapes_cfi::hits, and DTRecHit1D::wireId().
|
private |
Definition at line 411 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 421 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 636 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 641 of file DTRecHitQuality.cc.
References DTRecHit1D::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 372 of file DTRecHitQuality.cc.
References DTTopology::cellLenght(), PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 349 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 362 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 216 of file DTRecHitQuality.h.
|
private |
Definition at line 78 of file DTRecHitQuality.h.
|
private |
Definition at line 217 of file DTRecHitQuality.h.
|
private |
Definition at line 92 of file DTRecHitQuality.h.
|
private |
Definition at line 93 of file DTRecHitQuality.h.
|
private |
Definition at line 94 of file DTRecHitQuality.h.
|
private |
Definition at line 191 of file DTRecHitQuality.h.
|
private |
Definition at line 211 of file DTRecHitQuality.h.
|
private |
Definition at line 195 of file DTRecHitQuality.h.
|
private |
Definition at line 199 of file DTRecHitQuality.h.
|
private |
Definition at line 203 of file DTRecHitQuality.h.
|
private |
Definition at line 207 of file DTRecHitQuality.h.
|
private |
Definition at line 213 of file DTRecHitQuality.h.
|
private |
Definition at line 192 of file DTRecHitQuality.h.
|
private |
Definition at line 196 of file DTRecHitQuality.h.
|
private |
Definition at line 200 of file DTRecHitQuality.h.
|
private |
Definition at line 204 of file DTRecHitQuality.h.
|
private |
Definition at line 208 of file DTRecHitQuality.h.
|
private |
Definition at line 193 of file DTRecHitQuality.h.
|
private |
Definition at line 212 of file DTRecHitQuality.h.
|
private |
Definition at line 197 of file DTRecHitQuality.h.
|
private |
Definition at line 201 of file DTRecHitQuality.h.
|
private |
Definition at line 205 of file DTRecHitQuality.h.
|
private |
Definition at line 209 of file DTRecHitQuality.h.
|
private |
Definition at line 214 of file DTRecHitQuality.h.
|
private |
Definition at line 156 of file DTRecHitQuality.h.
|
private |
Definition at line 176 of file DTRecHitQuality.h.
|
private |
Definition at line 180 of file DTRecHitQuality.h.
|
private |
Definition at line 184 of file DTRecHitQuality.h.
|
private |
Definition at line 160 of file DTRecHitQuality.h.
|
private |
Definition at line 164 of file DTRecHitQuality.h.
|
private |
Definition at line 168 of file DTRecHitQuality.h.
|
private |
Definition at line 172 of file DTRecHitQuality.h.
|
private |
Definition at line 157 of file DTRecHitQuality.h.
|
private |
Definition at line 177 of file DTRecHitQuality.h.
|
private |
Definition at line 181 of file DTRecHitQuality.h.
|
private |
Definition at line 185 of file DTRecHitQuality.h.
|
private |
Definition at line 161 of file DTRecHitQuality.h.
|
private |
Definition at line 165 of file DTRecHitQuality.h.
|
private |
Definition at line 169 of file DTRecHitQuality.h.
|
private |
Definition at line 173 of file DTRecHitQuality.h.
|
private |
Definition at line 158 of file DTRecHitQuality.h.
|
private |
Definition at line 178 of file DTRecHitQuality.h.
|
private |
Definition at line 182 of file DTRecHitQuality.h.
|
private |
Definition at line 186 of file DTRecHitQuality.h.
|
private |
Definition at line 188 of file DTRecHitQuality.h.
|
private |
Definition at line 162 of file DTRecHitQuality.h.
|
private |
Definition at line 166 of file DTRecHitQuality.h.
|
private |
Definition at line 170 of file DTRecHitQuality.h.
|
private |
Definition at line 174 of file DTRecHitQuality.h.
|
private |
Definition at line 189 of file DTRecHitQuality.h.
|
private |
Definition at line 95 of file DTRecHitQuality.h.
|
private |
Definition at line 87 of file DTRecHitQuality.h.
|
private |
Definition at line 82 of file DTRecHitQuality.h.
|
private |
Definition at line 80 of file DTRecHitQuality.h.
|
private |
Definition at line 88 of file DTRecHitQuality.h.
|
private |
Definition at line 83 of file DTRecHitQuality.h.
|
private |
Definition at line 89 of file DTRecHitQuality.h.
|
private |
Definition at line 84 of file DTRecHitQuality.h.
|
private |
Definition at line 84 of file DTRecHitQuality.h.
|
private |
Definition at line 81 of file DTRecHitQuality.h.