#include <CSCSegmentValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &) |
CSCSegmentValidation (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
~CSCSegmentValidation () 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 Types | |
typedef std::map< int, std::vector< int > > | ChamberHitMap |
typedef std::map< int, std::vector< CSCSegment > > | ChamberSegmentMap |
Private Member Functions | |
void | fillEfficiencyPlots () |
void | fillLayerHitsPerChamber () |
bool | hasSegment (int chamberId) const |
const PSimHit * | keyHit (int chamberId) const |
void | plotResolution (const PSimHit &simHit, const CSCSegment &recHit, const CSCLayer *layer, int chamberType) |
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 |
Protected Attributes inherited from CSCBaseValidation | |
bool | doSim_ |
const CSCGeometry * | theCSCGeometry |
const PSimHitMap * | theSimHitMap |
Definition at line 8 of file CSCSegmentValidation.h.
|
private |
Definition at line 26 of file CSCSegmentValidation.h.
|
private |
Definition at line 33 of file CSCSegmentValidation.h.
CSCSegmentValidation::CSCSegmentValidation | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file CSCSegmentValidation.cc.
References edm::ParameterSet::getParameterSet(), inputTag_, muonDTDigis_cfi::pset, and segments_Token_.
|
override |
Definition at line 12 of file CSCSegmentValidation.cc.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 53 of file CSCSegmentValidation.cc.
References MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), fillEfficiencyPlots(), fillLayerHitsPerChamber(), CSCBaseValidation::findLayer(), keyHit(), phase1PixelTopology::layer, plotResolution(), edm::Handle< T >::product(), segments_Token_, theChamberSegmentMap, theNPerChamberTypePlot, theNPerEventPlot, and theNRecHitsPlot.
void CSCSegmentValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 14 of file CSCSegmentValidation.cc.
References dqm::implementation::IBooker::book1D(), CSCDetId::chamberName(), mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, RandomServiceHelper::t1, RandomServiceHelper::t2, RandomServiceHelper::t3, thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theNPerChamberTypePlot, theNPerEventPlot, theNRecHitsPlot, theRdPhiPullPlots, theRdPhiResolutionPlots, theThetaResolutionPlots, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, and theTypePlot6HitsShowerSeg.
|
private |
Definition at line 84 of file CSCSegmentValidation.cc.
References dqm::impl::MonitorElement::Fill(), hasSegment(), CSCDetId::iChamberType(), jetUpdater_cfi::sort, theLayerHitsPerChamber, theShowerThreshold, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, theTypePlot6HitsShowerSeg, tier0::unique(), and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 178 of file CSCSegmentValidation.cc.
References CSCDetId::chamberId(), PSimHitMap::detsWithHits(), PSimHitMap::hits(), mps_fire::i, nhits, DetId::rawId(), theLayerHitsPerChamber, and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 144 of file CSCSegmentValidation.cc.
References theChamberSegmentMap.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 192 of file CSCSegmentValidation.cc.
References PSimHitMap::hits(), p1, p2, mps_fire::result, and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 148 of file CSCSegmentValidation.cc.
References dqm::impl::MonitorElement::Fill(), phase1PixelTopology::layer, CSCSegment::localDirection(), CSCSegment::localDirectionError(), CSCSegment::localPosition(), CSCSegment::localPositionError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), rpcPointValidation_cfi::simHit, mathSSE::sqrt(), thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theRdPhiPullPlots, theRdPhiResolutionPlots, PV3DBase< T, PVType, FrameType >::theta(), theThetaResolutionPlots, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 21 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation().
|
private |
Definition at line 20 of file CSCSegmentValidation.h.
Referenced by analyze(), and CSCSegmentValidation().
|
private |
Definition at line 34 of file CSCSegmentValidation.h.
Referenced by analyze(), and hasSegment().
|
private |
Definition at line 45 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 44 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 47 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 46 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 27 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots(), and fillLayerHitsPerChamber().
|
private |
Definition at line 40 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 38 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 39 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 42 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 41 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 36 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 43 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 49 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 50 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 51 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 52 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 53 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 54 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 55 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 56 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 57 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 58 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 59 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 60 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().