#include <DTRecHitQuality.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
Perform the real analysis. More... | |
DTRecHitQuality (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) |
virtual | ~DTRecHitQuality () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
template<typename type > | |
void | compute (const DTGeometry *dtGeom, std::map< DTWireId, std::vector< PSimHit > > simHitsPerWire, 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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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
Definition at line 44 of file DTRecHitQuality.h.
DTRecHitQuality::DTRecHitQuality | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 39 of file DTRecHitQuality.cc.
References dbe_, debug, edm::ParameterSet::getUntrackedParameter(), and cppFunctionSkipper::operator.
|
virtual |
|
virtual |
Perform the real analysis.
Implements edm::EDAnalyzer.
Definition at line 211 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 443 of file DTRecHitQuality.cc.
References abs, gather_cfg::cout, debug, PV3DBase< T, PVType, FrameType >::eta(), HRes1DHit::Fill(), HEff1DHit::Fill(), DTHitQualityUtils::findMuSimHit(), DTGeometry::layer(), PSimHit::localPosition(), Association::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 133 of file DTRecHitQuality.cc.
|
private |
Definition at line 404 of file DTRecHitQuality.cc.
|
private |
Definition at line 305 of file DTRecHitQuality.cc.
References run_regression::ret.
|
private |
Definition at line 319 of file DTRecHitQuality.cc.
References run_regression::ret.
|
private |
Definition at line 341 of file DTRecHitQuality.cc.
References run_regression::ret, and DTRecHit1D::wireId().
|
private |
Definition at line 427 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 437 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 391 of file DTRecHitQuality.cc.
References DTTopology::cellLenght(), PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 368 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 381 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 194 of file DTRecHitQuality.h.
|
private |
Definition at line 70 of file DTRecHitQuality.h.
|
private |
Definition at line 195 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 175 of file DTRecHitQuality.h.
|
private |
Definition at line 179 of file DTRecHitQuality.h.
|
private |
Definition at line 183 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 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 188 of file DTRecHitQuality.h.
|
private |
Definition at line 192 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 189 of file DTRecHitQuality.h.
|
private |
Definition at line 193 of file DTRecHitQuality.h.
|
private |
Definition at line 143 of file DTRecHitQuality.h.
|
private |
Definition at line 163 of file DTRecHitQuality.h.
|
private |
Definition at line 167 of file DTRecHitQuality.h.
|
private |
Definition at line 171 of file DTRecHitQuality.h.
|
private |
Definition at line 147 of file DTRecHitQuality.h.
|
private |
Definition at line 151 of file DTRecHitQuality.h.
|
private |
Definition at line 155 of file DTRecHitQuality.h.
|
private |
Definition at line 159 of file DTRecHitQuality.h.
|
private |
Definition at line 144 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 148 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 145 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 149 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 82 of file DTRecHitQuality.h.
|
private |
Definition at line 74 of file DTRecHitQuality.h.
|
private |
Definition at line 72 of file DTRecHitQuality.h.
|
private |
Definition at line 75 of file DTRecHitQuality.h.
|
private |
Definition at line 76 of file DTRecHitQuality.h.
|
private |
Definition at line 73 of file DTRecHitQuality.h.