#include <DTRecHitQuality.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
Perform the real analysis. More... | |
virtual void | beginRun (const edm::Run &iRun, const edm::EventSetup &setup) |
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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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, and edm::ParameterSet::getUntrackedParameter().
|
virtual |
|
virtual |
Perform the real analysis.
Implements edm::EDAnalyzer.
Definition at line 192 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.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 67 of file DTRecHitQuality.cc.
References dbe_, cppFunctionSkipper::operator, alignCSCRings::s, and w.
|
private |
Definition at line 427 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(), HLT_25ns14e33_v3_cff::recHits, DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), and DTChamberId::wheel().
|
virtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 159 of file DTRecHitQuality.cc.
|
private |
Definition at line 388 of file DTRecHitQuality.cc.
|
private |
Definition at line 286 of file DTRecHitQuality.cc.
References run_regression::ret.
|
private |
Definition at line 300 of file DTRecHitQuality.cc.
References run_regression::ret.
|
private |
Definition at line 322 of file DTRecHitQuality.cc.
References run_regression::ret, 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.