#include <CSCSegmentValidation.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
CSCSegmentValidation (DQMStore *dbe, const edm::InputTag &inputTag, edm::ConsumesCollector &&iC) | |
virtual | ~CSCSegmentValidation () |
Public Member Functions inherited from CSCBaseValidation | |
CSCBaseValidation (DQMStore *dbe, 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 | |
DQMStore * | dbe_ |
const CSCGeometry * | theCSCGeometry |
edm::InputTag | theInputTag |
const PSimHitMap * | theSimHitMap |
Definition at line 12 of file CSCSegmentValidation.h.
|
private |
Definition at line 31 of file CSCSegmentValidation.h.
|
private |
Definition at line 38 of file CSCSegmentValidation.h.
CSCSegmentValidation::CSCSegmentValidation | ( | DQMStore * | dbe, |
const edm::InputTag & | inputTag, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 7 of file CSCSegmentValidation.cc.
References DQMStore::book1D(), CSCBaseValidation::dbe_, i, segments_Token_, DQMStore::setCurrentFolder(), thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theRdPhiPullPlots, theRdPhiResolutionPlots, theThetaPullPlots, and theThetaResolutionPlots.
|
inlinevirtual |
Definition at line 17 of file CSCSegmentValidation.h.
|
virtual |
Implements CSCBaseValidation.
Definition at line 57 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().
|
private |
Definition at line 93 of file CSCSegmentValidation.cc.
References MonitorElement::Fill(), hasSegment(), python.multivaluedict::sort(), 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 201 of file CSCSegmentValidation.cc.
References CSCDetId::chamberId(), PSimHitMap::detsWithHits(), PSimHitMap::hits(), i, DetId::rawId(), theLayerHitsPerChamber, and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 156 of file CSCSegmentValidation.cc.
References theChamberSegmentMap.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 229 of file CSCSegmentValidation.cc.
References PSimHitMap::hits(), query::result, CSCSegmentValidationUtils::SimHitPabsLessThan(), and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 169 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 162 of file CSCSegmentValidation.cc.
References CSCDetId::ring(), CSCDetId::station(), and CSCChamberSpecs::whatChamberType().
Referenced by analyze(), and fillEfficiencyPlots().
|
private |
Definition at line 27 of file CSCSegmentValidation.h.
Referenced by analyze(), and CSCSegmentValidation().
|
private |
Definition at line 39 of file CSCSegmentValidation.h.
Referenced by analyze(), and hasSegment().
|
private |
Definition at line 51 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 50 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 53 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 52 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 32 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots(), and fillLayerHitsPerChamber().
|
private |
Definition at line 45 of file CSCSegmentValidation.h.
Referenced by analyze().
|
private |
Definition at line 43 of file CSCSegmentValidation.h.
Referenced by analyze().
|
private |
Definition at line 44 of file CSCSegmentValidation.h.
Referenced by analyze().
|
private |
Definition at line 47 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 46 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 41 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 49 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation().
|
private |
Definition at line 48 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 57 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 58 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 59 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 60 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 61 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 62 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 63 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 64 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 65 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 66 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 67 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 68 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().