#include <DTCalibValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) |
void | beginJob () |
BeginJob. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
BeginRun. More... | |
DTCalibValidation (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () |
Endjob. More... | |
virtual | ~DTCalibValidation () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
void | bookHistos (DTSuperLayerId slId, int step) |
template<typename type > | |
void | compute (const DTGeometry *dtGeom, const DTRecSegment4D &segment, 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 |
edm::ESHandle< DTGeometry > | dtGeom |
std::map< std::pair < DTSuperLayerId, int > , std::vector< MonitorElement * > > | histosPerSL |
int | nevent |
edm::ParameterSet | parameters |
std::string | recHits1DLabel |
int | rightSegment |
std::string | segment2DLabel |
std::string | segment4DLabel |
DQMStore * | theDbe |
int | wrongSegment |
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) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 36 of file DTCalibValidation.cc.
References cmsCodeRules.cppFunctionSkipper::operator, ExpressReco_HICollisions_FallBack::parameters, and CrabTask::pset.
|
virtual |
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 124 of file DTCalibValidation.cc.
References bookConverter::compute(), ExpressReco_HICollisions_FallBack::detailedAnalysis, LogTrace, nevent, edm::Handle< T >::product(), and ExpressReco_HICollisions_FallBack::recHits1DLabel.
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 59 of file DTCalibValidation.cc.
References ExpressReco_HICollisions_FallBack::detailedAnalysis, nevent, ExpressReco_HICollisions_FallBack::parameters, and ExpressReco_HICollisions_FallBack::recHits1DLabel.
|
virtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file DTCalibValidation.cc.
References bookHistos(), ExpressReco_HICollisions_FallBack::detailedAnalysis, edm::EventSetup::get(), and ExpressReco_HICollisions_FallBack::step.
|
private |
Definition at line 481 of file DTCalibValidation.cc.
References ExpressReco_HICollisions_FallBack::detailedAnalysis, combine::histos, LogTrace, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, cmsPerfCommons::Step, ExpressReco_HICollisions_FallBack::step, DTSuperLayerId::superlayer(), and DTChamberId::wheel().
|
private |
Definition at line 351 of file DTCalibValidation.cc.
References DTGeometry::chamber(), filterCSVwithJSON::copy, funct::cos(), DTRecSegment4D::dimension(), DTGeometry::layer(), DTRecSegment4D::localDirection(), DTRecSegment4D::localPosition(), LogTrace, DTRecSegment4D::phiSegment(), DTRecSegment2D::specificRecHits(), DTLayer::specificTopology(), DTSuperLayerId::superlayer(), PV3DBase< T, PVType, FrameType >::theta(), GeomDet::toGlobal(), GeomDet::toLocal(), DTWireId::wire(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and DTRecSegment4D::zSegment().
|
virtual |
Endjob.
Reimplemented from edm::EDAnalyzer.
Definition at line 106 of file DTCalibValidation.cc.
References ExpressReco_HICollisions_FallBack::outputFileName, and ExpressReco_HICollisions_FallBack::parameters.
|
private |
Definition at line 527 of file DTCalibValidation.cc.
References ExpressReco_HICollisions_FallBack::detailedAnalysis, and combine::histos.
|
private |
Definition at line 244 of file DTCalibValidation.cc.
|
private |
Definition at line 180 of file DTCalibValidation.cc.
References runTheMatrix::ret.
|
private |
Definition at line 194 of file DTCalibValidation.cc.
References runTheMatrix::ret.
|
private |
Definition at line 213 of file DTCalibValidation.cc.
References runTheMatrix::ret, and DTRecHit1D::wireId().
|
private |
Definition at line 267 of file DTCalibValidation.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 275 of file DTCalibValidation.cc.
References DTRecHit1D::localPosition(), DTLayer::specificTopology(), DTWireId::wire(), DTRecHit1D::wireId(), DTTopology::wirePosition(), and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 303 of file DTCalibValidation.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, GeomDet::toGlobal(), GeomDet::toLocal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 331 of file DTCalibValidation.cc.
References DTRecHit1D::localPosition(), GeomDet::toGlobal(), GeomDet::toLocal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 77 of file DTCalibValidation.h.
|
private |
Definition at line 79 of file DTCalibValidation.h.
|
private |
Definition at line 133 of file DTCalibValidation.h.
|
private |
Definition at line 75 of file DTCalibValidation.h.
|
private |
Definition at line 72 of file DTCalibValidation.h.
Referenced by python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 82 of file DTCalibValidation.h.
|
private |
Definition at line 74 of file DTCalibValidation.h.
|
private |
Definition at line 84 of file DTCalibValidation.h.
|
private |
Definition at line 86 of file DTCalibValidation.h.
|
private |
Definition at line 66 of file DTCalibValidation.h.
|
private |
Definition at line 73 of file DTCalibValidation.h.