#include <CSCSegmentValidation.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
void | bookHistograms (DQMStore::IBooker &) |
CSCSegmentValidation (const edm::InputTag &inputTag, edm::ConsumesCollector &&iC) | |
virtual | ~CSCSegmentValidation () |
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 | |
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 CSCSegmentValidation.h.
|
private |
Definition at line 32 of file CSCSegmentValidation.h.
|
private |
Definition at line 39 of file CSCSegmentValidation.h.
CSCSegmentValidation::CSCSegmentValidation | ( | const edm::InputTag & | inputTag, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 6 of file CSCSegmentValidation.cc.
References beam_dqm_sourceclient-live_cfg::inputTag, and segments_Token_.
|
virtual |
Definition at line 15 of file CSCSegmentValidation.cc.
|
virtual |
Implements CSCBaseValidation.
Definition at line 60 of file CSCSegmentValidation.cc.
References PSimHit::detUnitId(), MonitorElement::Fill(), fillEfficiencyPlots(), fillLayerHitsPerChamber(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), 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 19 of file CSCSegmentValidation.cc.
References DQMStore::IBooker::book1D(), 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 95 of file CSCSegmentValidation.cc.
References MonitorElement::Fill(), hasSegment(), theLayerHitsPerChamber, theShowerThreshold, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, theTypePlot6HitsShowerSeg, findQualityFiles::v, and whatChamberType().
Referenced by analyze().
|
private |
Definition at line 203 of file CSCSegmentValidation.cc.
References CSCDetId::chamberId(), PSimHitMap::detsWithHits(), PSimHitMap::hits(), i, nhits, DetId::rawId(), theLayerHitsPerChamber, and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 158 of file CSCSegmentValidation.cc.
References theChamberSegmentMap.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 231 of file CSCSegmentValidation.cc.
References PSimHitMap::hits(), mps_fire::result, CSCSegmentValidationUtils::SimHitPabsLessThan(), and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 171 of file CSCSegmentValidation.cc.
References MonitorElement::Fill(), CSCSegment::localDirection(), PSimHit::localDirection(), CSCSegment::localDirectionError(), CSCSegment::localPosition(), PSimHit::localPosition(), CSCSegment::localPositionError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), 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 164 of file CSCSegmentValidation.cc.
References CSCDetId::ring(), CSCDetId::station(), and CSCChamberSpecs::whatChamberType().
Referenced by analyze(), and fillEfficiencyPlots().
|
private |
Definition at line 28 of file CSCSegmentValidation.h.
Referenced by analyze(), and CSCSegmentValidation().
|
private |
Definition at line 40 of file CSCSegmentValidation.h.
Referenced by analyze(), and hasSegment().
|
private |
Definition at line 52 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 51 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 54 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 53 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 33 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots(), and fillLayerHitsPerChamber().
|
private |
Definition at line 46 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 44 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 45 of file CSCSegmentValidation.h.
Referenced by analyze(), and bookHistograms().
|
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 42 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 50 of file CSCSegmentValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 49 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
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().
|
private |
Definition at line 64 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 65 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 66 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().
|
private |
Definition at line 67 of file CSCSegmentValidation.h.
Referenced by bookHistograms(), and fillEfficiencyPlots().