#include <CSCRecHit2DValidation.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
void | bookHistograms (DQMStore::IBooker &) |
CSCRecHit2DValidation (const edm::InputTag &inputTag, edm::ConsumesCollector &&iC) | |
virtual | ~CSCRecHit2DValidation () |
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 7 of file CSCRecHit2DValidation.cc.
References HiClusterCompatibility_cfi::inputTag, and rechits_Token_.
|
virtual |
Definition at line 16 of file CSCRecHit2DValidation.cc.
References MonitorElement::getMean(), MonitorElement::getName(), MonitorElement::getRMS(), mps_fire::i, theResolutionPlots, and theTPeaks.
|
virtual |
Implements CSCBaseValidation.
Definition at line 53 of file CSCRecHit2DValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), PSimHitMap::detsWithHits(), MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), mps_fire::i, 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 25 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 110 of file CSCRecHit2DValidation.cc.
References MonitorElement::Fill(), CSCLayer::geometry(), PSimHit::localPosition(), CSCRecHit2D::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 23 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and CSCRecHit2DValidation().
|
private |
Definition at line 28 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 35 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 29 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), plotResolution(), and ~CSCRecHit2DValidation().
|
private |
Definition at line 33 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 36 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 34 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 37 of file CSCRecHit2DValidation.h.
Referenced by analyze(), bookHistograms(), and ~CSCRecHit2DValidation().
|
private |
Definition at line 32 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 31 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().