#include <DTCalibValidation.h>
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Private Member Functions | |
void | bookHistos (DTSuperLayerId slId, int step) |
template<typename type > | |
void | compute (const DTGeometry *dtGeom, const DTRecSegment4D &segment, const std::map< DTWireId, std::vector< type > > &recHitsPerWire, int step) |
void | fillHistos (DTSuperLayerId slId, float distance, float residualOnDistance, float position, float residualOnPosition, 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 | recHitPosition (const DTRecHit1DPair &hitPair, const DTLayer *layer, const DTChamber *chamber, float segmPos, int sl) |
float | recHitPosition (const DTRecHit1D &recHit, const DTLayer *layer, const DTChamber *chamber, float segmPos, int sl) |
Private Attributes | |
bool | detailedAnalysis |
const DTGeometry * | dtGeom |
std::map< std::pair< DTSuperLayerId, int >, std::vector< MonitorElement * > > | histosPerSL |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
int | nevent |
edm::ParameterSet | parameters |
edm::EDGetTokenT< DTRecHitCollection > | recHits1DToken_ |
int | rightSegment |
edm::EDGetTokenT< DTRecSegment2DCollection > | segment2DToken_ |
edm::EDGetTokenT< DTRecSegment4DCollection > | segment4DToken_ |
int | wrongSegment |
Analysis on DT residuals to validate the kFactor
Definition at line 40 of file DTCalibValidation.h.
DTCalibValidation::DTCalibValidation | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 30 of file DTCalibValidation.cc.
References detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), ProducerED_cfi::InputTag, nevent, parameters, muonDTDigis_cfi::pset, recHits1DToken_, rightSegment, segment2DToken_, segment4DToken_, and wrongSegment.
|
override |
Destructor.
Definition at line 55 of file DTCalibValidation.cc.
References rightSegment, and wrongSegment.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 67 of file DTCalibValidation.cc.
References compute(), detailedAnalysis, dtGeom, LogTrace, map1DRecHitsPerWire(), nevent, edm::Handle< T >::product(), recHits1DToken_, segment2DToken_, and segment4DToken_.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 374 of file DTCalibValidation.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), DTGeometry::chambers(), detailedAnalysis, dtGeom, combine::histos, histosPerSL, LogTrace, nano_mu_digi_cff::sector, DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, nano_mu_digi_cff::superLayer, DTSuperLayerId::superlayer(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
|
private |
Definition at line 241 of file DTCalibValidation.cc.
References relativeConstraints::chamber, DTGeometry::chamber(), filterCSVwithJSON::copy, funct::cos(), DTRecSegment4D::dimension(), dtGeom, fillHistos(), findBestRecHit(), nano_mu_digi_cff::layer, DTGeometry::layer(), DTRecSegment4D::localDirection(), DTRecSegment4D::localPosition(), LogTrace, DTRecSegment4D::phiSegment(), recHitDistFromWire(), recHitPosition(), FastTrackerRecHitMaskProducer_cfi::recHits, rightSegment, DTRecSegment2D::specificRecHits(), DTSuperLayerId::superlayer(), PV3DBase< T, PVType, FrameType >::theta(), DTWireId::wire(), wrongSegment, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and DTRecSegment4D::zSegment().
Referenced by analyze().
|
overridevirtual |
BeginRun.
Reimplemented from DQMEDAnalyzer.
Definition at line 62 of file DTCalibValidation.cc.
References dtGeom, muonGeomToken_, and singleTopDQM_cfi::setup.
|
private |
Definition at line 455 of file DTCalibValidation.cc.
References detailedAnalysis, HLT_2023v12_cff::distance, combine::histos, histosPerSL, and position.
Referenced by compute().
|
private |
Definition at line 170 of file DTCalibValidation.cc.
References nano_mu_digi_cff::layer, rpcPointValidation_cfi::recHit, recHitDistFromWire(), and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by compute().
|
private |
Definition at line 115 of file DTCalibValidation.cc.
References runTheMatrix::ret.
Referenced by analyze().
|
private |
Definition at line 128 of file DTCalibValidation.cc.
References runTheMatrix::ret.
|
private |
Definition at line 144 of file DTCalibValidation.cc.
References hfClusterShapes_cfi::hits, runTheMatrix::ret, and DTRecHit1D::wireId().
|
private |
Definition at line 189 of file DTCalibValidation.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
Referenced by compute(), and findBestRecHit().
|
private |
Definition at line 194 of file DTCalibValidation.cc.
References nano_mu_digi_cff::layer, and rpcPointValidation_cfi::recHit.
|
private |
Definition at line 199 of file DTCalibValidation.cc.
References relativeConstraints::chamber, nano_mu_digi_cff::layer, DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by compute().
|
private |
Definition at line 224 of file DTCalibValidation.cc.
References relativeConstraints::chamber, nano_mu_digi_cff::layer, rpcPointValidation_cfi::recHit, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 65 of file DTCalibValidation.h.
Referenced by analyze(), bookHistograms(), DTCalibValidation(), and fillHistos().
|
private |
Definition at line 68 of file DTCalibValidation.h.
Referenced by analyze(), bookHistograms(), compute(), and dqmBeginRun().
|
private |
Definition at line 119 of file DTCalibValidation.h.
Referenced by bookHistograms(), and fillHistos().
|
private |
Definition at line 67 of file DTCalibValidation.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 63 of file DTCalibValidation.h.
Referenced by analyze(), and DTCalibValidation().
|
private |
Definition at line 60 of file DTCalibValidation.h.
Referenced by DTCalibValidation().
|
private |
Definition at line 71 of file DTCalibValidation.h.
Referenced by analyze(), and DTCalibValidation().
|
private |
Definition at line 62 of file DTCalibValidation.h.
Referenced by compute(), DTCalibValidation(), and ~DTCalibValidation().
|
private |
Definition at line 73 of file DTCalibValidation.h.
Referenced by analyze(), and DTCalibValidation().
|
private |
Definition at line 75 of file DTCalibValidation.h.
Referenced by analyze(), and DTCalibValidation().
|
private |
Definition at line 61 of file DTCalibValidation.h.
Referenced by compute(), DTCalibValidation(), and ~DTCalibValidation().