#include <CSCSegmentValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &) |
CSCSegmentValidation (const edm::InputTag &inputTag, edm::ConsumesCollector &&iC) | |
~CSCSegmentValidation () 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 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) |
Static Private Member Functions | |
static int | whatChamberType (int detId) |
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 | |
const CSCGeometry * | theCSCGeometry |
edm::InputTag | theInputTag |
const PSimHitMap * | theSimHitMap |
Definition at line 11 of file CSCSegmentValidation.h.
|
private |
Definition at line 28 of file CSCSegmentValidation.h.
|
private |
Definition at line 35 of file CSCSegmentValidation.h.
CSCSegmentValidation::CSCSegmentValidation | ( | const edm::InputTag & | inputTag, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file CSCSegmentValidation.cc.
References SimL1EmulatorRepack_Full_cff::inputTag, and segments_Token_.
|
override |
Definition at line 10 of file CSCSegmentValidation.cc.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 51 of file CSCSegmentValidation.cc.
References MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), fillEfficiencyPlots(), fillLayerHitsPerChamber(), CSCBaseValidation::findLayer(), keyHit(), plotResolution(), edm::Handle< T >::product(), segments_Token_, theChamberSegmentMap, theNPerChamberTypePlot, theNPerEventPlot, theNRecHitsPlot, and whatChamberType().
Referenced by CSCRecHitValidation::analyze().
void CSCSegmentValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 12 of file CSCSegmentValidation.cc.
References dqm::implementation::IBooker::book1D(), mps_fire::i, thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theNPerChamberTypePlot, theNPerEventPlot, theNRecHitsPlot, theRdPhiPullPlots, theRdPhiResolutionPlots, theThetaPullPlots, theThetaResolutionPlots, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, and theTypePlot6HitsShowerSeg.
Referenced by CSCRecHitValidation::bookHistograms().
|
private |
Definition at line 83 of file CSCSegmentValidation.cc.
References dqm::impl::MonitorElement::Fill(), hasSegment(), theLayerHitsPerChamber, theShowerThreshold, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, theTypePlot6HitsShowerSeg, tier0::unique(), findQualityFiles::v, and whatChamberType().
Referenced by analyze().
|
private |
Definition at line 185 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 205 of file CSCSegmentValidation.cc.
References PSimHitMap::hits(), mps_fire::result, CSCSegmentValidationUtils::SimHitPabsLessThan(), and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 153 of file CSCSegmentValidation.cc.
References dqm::impl::MonitorElement::Fill(), 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, GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
staticprivate |
Definition at line 148 of file CSCSegmentValidation.cc.
References CSCDetId::ring(), CSCDetId::station(), and CSCChamberSpecs::whatChamberType().
Referenced by analyze(), and fillEfficiencyPlots().
|
private |
Definition at line 24 of file CSCSegmentValidation.h.
Referenced by analyze(), and CSCSegmentValidation().
|
private |
Definition at line 36 of file CSCSegmentValidation.h.
Referenced by analyze(), and hasSegment().
|
private |
Definition at line 48 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 50 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 49 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 29 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots(), and fillLayerHitsPerChamber().
|
private |
Definition at line 42 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 40 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 41 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 44 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 43 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 38 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 46 of file CSCSegmentValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 45 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
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().
|
private |
Definition at line 61 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 62 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 63 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().