![]() |
![]() |
#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 () |
virtual | ~DTRecHitQuality () |
Destructor. More... | |
![]() | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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) |
Private Attributes | |
bool | debug |
bool | doStep1 |
bool | doStep2 |
bool | doStep3 |
HEff1DHit * | hEff_S1RPhi |
HEff1DHit * | hEff_S1RZ |
HEff1DHit * | hEff_S1RZ_W0 |
HEff1DHit * | hEff_S1RZ_W1 |
HEff1DHit * | hEff_S1RZ_W2 |
HEff1DHit * | hEff_S2RPhi |
HEff1DHit * | hEff_S2RZ |
HEff1DHit * | hEff_S2RZ_W0 |
HEff1DHit * | hEff_S2RZ_W1 |
HEff1DHit * | hEff_S2RZ_W2 |
HEff1DHit * | hEff_S3RPhi |
HEff1DHit * | hEff_S3RZ |
HEff1DHit * | hEff_S3RZ_W0 |
HEff1DHit * | hEff_S3RZ_W1 |
HEff1DHit * | hEff_S3RZ_W2 |
HRes1DHit * | hRes_S1RPhi |
HRes1DHit * | hRes_S1RZ |
HRes1DHit * | hRes_S1RZ_W0 |
HRes1DHit * | hRes_S1RZ_W1 |
HRes1DHit * | hRes_S1RZ_W2 |
HRes1DHit * | hRes_S2RPhi |
HRes1DHit * | hRes_S2RZ |
HRes1DHit * | hRes_S2RZ_W0 |
HRes1DHit * | hRes_S2RZ_W1 |
HRes1DHit * | hRes_S2RZ_W2 |
HRes1DHit * | hRes_S3RPhi |
HRes1DHit * | hRes_S3RZ |
HRes1DHit * | hRes_S3RZ_W0 |
HRes1DHit * | hRes_S3RZ_W1 |
HRes1DHit * | hRes_S3RZ_W2 |
std::string | recHitLabel |
std::string | rootFileName |
std::string | segment2DLabel |
std::string | segment4DLabel |
std::string | simHitLabel |
TFile * | theFile |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
Basic analyzer class which accesses 1D DTRecHits and plot resolution comparing reconstructed and simulated quantities
Definition at line 39 of file DTRecHitQuality.h.
DTRecHitQuality::DTRecHitQuality | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 36 of file DTRecHitQuality.cc.
References debug, edm::ParameterSet::getUntrackedParameter(), dtT0WireCalibration_cfg::rootFileName, and interactiveExample::theFile.
|
virtual |
|
virtual |
Perform the real analysis.
Implements edm::EDAnalyzer.
Definition at line 178 of file DTRecHitQuality.cc.
References bookConverter::compute(), gather_cfg::cout, debug, edm::EventSetup::get(), DTHitQualityUtils::mapSimHitsPerWire(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), trackerHits::simHits, and interactiveExample::theFile.
|
private |
Definition at line 396 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(), python.multivaluedict::map(), PV3DBase< T, PVType, FrameType >::phi(), DTSuperLayerId::superLayer(), DTSuperLayerId::superlayer(), GeomDet::toGlobal(), and DTChamberId::wheel().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 108 of file DTRecHitQuality.cc.
References interactiveExample::theFile.
|
private |
Definition at line 357 of file DTRecHitQuality.cc.
|
private |
Definition at line 258 of file DTRecHitQuality.cc.
References runTheMatrix::ret.
|
private |
Definition at line 272 of file DTRecHitQuality.cc.
References runTheMatrix::ret.
|
private |
Definition at line 294 of file DTRecHitQuality.cc.
References runTheMatrix::ret, and DTRecHit1D::wireId().
|
private |
Definition at line 380 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 390 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 572 of file DTRecHitQuality.cc.
References DTEnums::Left, DTRecHit1DPair::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 577 of file DTRecHitQuality.cc.
References DTRecHit1D::localPositionError(), mathSSE::sqrt(), and LocalError::xx().
|
private |
Definition at line 344 of file DTRecHitQuality.cc.
References DTTopology::cellLenght(), PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 321 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 334 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 71 of file DTRecHitQuality.h.
|
private |
Definition at line 72 of file DTRecHitQuality.h.
|
private |
Definition at line 73 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 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 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 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 135 of file DTRecHitQuality.h.
|
private |
Definition at line 139 of file DTRecHitQuality.h.
|
private |
Definition at line 143 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 136 of file DTRecHitQuality.h.
|
private |
Definition at line 140 of file DTRecHitQuality.h.
|
private |
Definition at line 144 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 137 of file DTRecHitQuality.h.
|
private |
Definition at line 141 of file DTRecHitQuality.h.
|
private |
Definition at line 145 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 66 of file DTRecHitQuality.h.
|
private |
Definition at line 64 of file DTRecHitQuality.h.
|
private |
Definition at line 67 of file DTRecHitQuality.h.
|
private |
Definition at line 68 of file DTRecHitQuality.h.
|
private |
Definition at line 65 of file DTRecHitQuality.h.
|
private |
Definition at line 60 of file DTRecHitQuality.h.