#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 |
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 49 of file DTRecHitQuality.h.
DTRecHitQuality::DTRecHitQuality | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 37 of file DTRecHitQuality.cc.
References dbe_, debug, edm::ParameterSet::getUntrackedParameter(), cppFunctionSkipper::operator, alignCSCRings::s, and w().
|
virtual |
|
virtual |
Perform the real analysis.
Implements edm::EDAnalyzer.
Definition at line 184 of file DTRecHitQuality.cc.
References bookConverter::compute(), gather_cfg::cout, debug, edm::EventSetup::get(), edm::HandleBase::isValid(), DTHitQualityUtils::mapSimHitsPerWire(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), and trackerHits::simHits.
|
private |
Definition at line 416 of file DTRecHitQuality.cc.
References funct::abs(), gather_cfg::cout, debug, PV3DBase< T, PVType, FrameType >::eta(), HRes1DHit::Fill(), HEff1DHit::Fill(), DTHitQualityUtils::findMuSimHit(), DTGeometry::layer(), PSimHit::localPosition(), python.multivaluedict::map(), PV3DBase< T, PVType, FrameType >::phi(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTSuperLayerId::superlayer(), GeomDet::toGlobal(), and DTChamberId::wheel().
|
virtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 151 of file DTRecHitQuality.cc.
|
private |
Definition at line 377 of file DTRecHitQuality.cc.
|
private |
Definition at line 278 of file DTRecHitQuality.cc.
References run_regression::ret.
|
private |
Definition at line 292 of file DTRecHitQuality.cc.
References run_regression::ret.
|
private |
Definition at line 314 of file DTRecHitQuality.cc.
References run_regression::ret, and DTRecHit1D::wireId().
|
private |
Definition at line 400 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 410 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 616 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 621 of file DTRecHitQuality.cc.
References DTRecHit1D::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 364 of file DTRecHitQuality.cc.
References DTTopology::cellLenght(), PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 341 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 354 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 208 of file DTRecHitQuality.h.
|
private |
Definition at line 75 of file DTRecHitQuality.h.
|
private |
Definition at line 209 of file DTRecHitQuality.h.
|
private |
Definition at line 84 of file DTRecHitQuality.h.
|
private |
Definition at line 85 of file DTRecHitQuality.h.
|
private |
Definition at line 86 of file DTRecHitQuality.h.
|
private |
Definition at line 183 of file DTRecHitQuality.h.
|
private |
Definition at line 203 of file DTRecHitQuality.h.
|
private |
Definition at line 187 of file DTRecHitQuality.h.
|
private |
Definition at line 191 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 205 of file DTRecHitQuality.h.
|
private |
Definition at line 184 of file DTRecHitQuality.h.
|
private |
Definition at line 188 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 185 of file DTRecHitQuality.h.
|
private |
Definition at line 204 of file DTRecHitQuality.h.
|
private |
Definition at line 189 of file DTRecHitQuality.h.
|
private |
Definition at line 193 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 206 of file DTRecHitQuality.h.
|
private |
Definition at line 148 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 176 of file DTRecHitQuality.h.
|
private |
Definition at line 152 of file DTRecHitQuality.h.
|
private |
Definition at line 156 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 149 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 177 of file DTRecHitQuality.h.
|
private |
Definition at line 153 of file DTRecHitQuality.h.
|
private |
Definition at line 157 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 150 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 178 of file DTRecHitQuality.h.
|
private |
Definition at line 180 of file DTRecHitQuality.h.
|
private |
Definition at line 154 of file DTRecHitQuality.h.
|
private |
Definition at line 158 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 181 of file DTRecHitQuality.h.
|
private |
Definition at line 87 of file DTRecHitQuality.h.
|
private |
Definition at line 79 of file DTRecHitQuality.h.
|
private |
Definition at line 77 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 78 of file DTRecHitQuality.h.