#include <CSCRecHit2DValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &) |
CSCRecHit2DValidation (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
~CSCRecHit2DValidation () override | |
Public Member Functions inherited from CSCBaseValidation | |
CSCBaseValidation (const edm::ParameterSet &ps) | |
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::InputTag | inputTag_ |
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 | |
Public Types inherited from CSCBaseValidation | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Protected Member Functions inherited from CSCBaseValidation | |
const CSCLayer * | findLayer (int detId) const |
bool | isSimTrackGood (const SimTrack &t) const |
Protected Attributes inherited from CSCBaseValidation | |
bool | doSim_ |
double | simTrackMaxEta_ |
double | simTrackMinEta_ |
double | simTrackMinPt_ |
const CSCGeometry * | theCSCGeometry |
const PSimHitMap * | theSimHitMap |
Definition at line 8 of file CSCRecHit2DValidation.h.
CSCRecHit2DValidation::CSCRecHit2DValidation | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file CSCRecHit2DValidation.cc.
References edm::ParameterSet::getParameterSet(), inputTag_, TrackValidation_cff::pset, and rechits_Token_.
|
override |
Definition at line 12 of file CSCRecHit2DValidation.cc.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 44 of file CSCRecHit2DValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), Geom::Phi< T1, Range >::degrees(), PSimHitMap::detsWithHits(), CSCBaseValidation::doSim_, dqm::impl::MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), mps_fire::i, phase1PixelTopology::layer, phase1PixelTopology::localX(), pixelTopology::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().
void CSCRecHit2DValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 14 of file CSCRecHit2DValidation.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), CSCDetId::chamberName(), mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, theNPerEventPlot, thePullPlots, theRecHitPosInStrip, theResolutionPlots, theScatterPlots, theSimHitPosInStrip, theSimHitScatterPlots, theTPeaks, theYPullPlots, and theYResolutionPlots.
|
private |
Definition at line 92 of file CSCRecHit2DValidation.cc.
References PVValHelper::dy, dqm::impl::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 17 of file CSCRecHit2DValidation.h.
Referenced by CSCRecHit2DValidation().
|
private |
Definition at line 16 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and CSCRecHit2DValidation().
|
private |
Definition at line 21 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 23 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 28 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 22 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 26 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 29 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 27 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file CSCRecHit2DValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 25 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 24 of file CSCRecHit2DValidation.h.
Referenced by bookHistograms(), and plotResolution().