#include <CSCRecHit2DValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &) |
CSCRecHit2DValidation (const edm::InputTag &inputTag, edm::ConsumesCollector &&iC) | |
~CSCRecHit2DValidation () override | |
Public Member Functions inherited from CSCBaseValidation | |
CSCBaseValidation (const edm::InputTag &inputTag) | |
void | setGeometry (const CSCGeometry *geom) |
void | setSimHitMap (const PSimHitMap *simHitMap) |
virtual | ~CSCBaseValidation () |
Private Member Functions | |
void | plotResolution (const PSimHit &simHit, const CSCRecHit2D &recHit, const CSCLayer *layer, int chamberType) |
Private Attributes | |
edm::EDGetTokenT< CSCRecHit2DCollection > | rechits_Token_ |
MonitorElement * | theNPerEventPlot |
MonitorElement * | thePullPlots [10] |
MonitorElement * | theRecHitPosInStrip [10] |
MonitorElement * | theResolutionPlots [10] |
MonitorElement * | theScatterPlots [10] |
MonitorElement * | theSimHitPosInStrip [10] |
MonitorElement * | theSimHitScatterPlots [10] |
MonitorElement * | theTPeaks [10] |
MonitorElement * | theYPullPlots [10] |
MonitorElement * | theYResolutionPlots [10] |
Additional Inherited Members | |
Protected Member Functions inherited from CSCBaseValidation | |
const CSCLayer * | findLayer (int detId) const |
Protected Attributes inherited from CSCBaseValidation | |
const CSCGeometry * | theCSCGeometry |
edm::InputTag | theInputTag |
const PSimHitMap * | theSimHitMap |
Definition at line 12 of file CSCRecHit2DValidation.h.
CSCRecHit2DValidation::CSCRecHit2DValidation | ( | const edm::InputTag & | inputTag, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file CSCRecHit2DValidation.cc.
References HiClusterCompatibility_cfi::inputTag, and rechits_Token_.
|
override |
Definition at line 10 of file CSCRecHit2DValidation.cc.
References MonitorElement::getMean(), MonitorElement::getName(), MonitorElement::getRMS(), mps_fire::i, theResolutionPlots, and theTPeaks.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 45 of file CSCRecHit2DValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), PSimHitMap::detsWithHits(), MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), mps_fire::i, phase1PixelTopology::localX(), phase1PixelTopology::localY(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), plotResolution(), edm::Handle< T >::product(), rechits_Token_, trackerHits::simHits, CSCChamber::specs(), theNPerEventPlot, theScatterPlots, CSCBaseValidation::theSimHitMap, theSimHitScatterPlots, theTPeaks, and GeomDet::toGlobal().
Referenced by CSCRecHitValidation::analyze().
void CSCRecHit2DValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 18 of file CSCRecHit2DValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), mps_fire::i, theNPerEventPlot, thePullPlots, theRecHitPosInStrip, theResolutionPlots, theScatterPlots, theSimHitPosInStrip, theSimHitScatterPlots, theTPeaks, theYPullPlots, and theYResolutionPlots.
Referenced by CSCRecHitValidation::bookHistograms().
|
private |
Definition at line 96 of file CSCRecHit2DValidation.cc.
References PVValHelper::dy, MonitorElement::Fill(), CSCLayer::geometry(), CSCRecHit2D::localPosition(), PSimHit::localPosition(), CSCRecHit2D::localPositionError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), mathSSE::sqrt(), CSCLayerGeometry::strip(), thePullPlots, theRecHitPosInStrip, theResolutionPlots, theSimHitPosInStrip, theYPullPlots, theYResolutionPlots, GeomDet::toGlobal(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by analyze().
|
private |
Definition at line 20 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and CSCRecHit2DValidation().
|
private |
Definition at line 24 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 26 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 31 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 25 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), plotResolution(), and ~CSCRecHit2DValidation().
|
private |
Definition at line 29 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 32 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 30 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 33 of file CSCRecHit2DValidation.h.
Referenced by analyze(), bookHistograms(), and ~CSCRecHit2DValidation().
|
private |
Definition at line 28 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 27 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().