#include <CSCSegmentValidation.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
CSCSegmentValidation (DQMStore *dbe, const edm::InputTag &inputTag) | |
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 10 of file CSCSegmentValidation.h.
|
private |
Definition at line 27 of file CSCSegmentValidation.h.
|
private |
Definition at line 34 of file CSCSegmentValidation.h.
CSCSegmentValidation::CSCSegmentValidation | ( | DQMStore * | dbe, |
const edm::InputTag & | inputTag | ||
) |
Definition at line 8 of file CSCSegmentValidation.cc.
References DQMStore::book1D(), CSCBaseValidation::dbe_, i, DQMStore::setCurrentFolder(), thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theRdPhiPullPlots, theRdPhiResolutionPlots, theThetaPullPlots, and theThetaResolutionPlots.
|
inlinevirtual |
Definition at line 15 of file CSCSegmentValidation.h.
|
virtual |
Implements CSCBaseValidation.
Definition at line 56 of file CSCSegmentValidation.cc.
References PSimHit::detUnitId(), MonitorElement::Fill(), fillEfficiencyPlots(), fillLayerHitsPerChamber(), CSCBaseValidation::findLayer(), edm::Event::getByLabel(), keyHit(), plotResolution(), edm::Handle< T >::product(), theChamberSegmentMap, CSCBaseValidation::theInputTag, theNPerChamberTypePlot, theNPerEventPlot, theNRecHitsPlot, and whatChamberType().
Referenced by CSCRecHitValidation::analyze().
|
private |
Definition at line 92 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, v, and whatChamberType().
Referenced by analyze().
|
private |
Definition at line 200 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 155 of file CSCSegmentValidation.cc.
References theChamberSegmentMap.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 228 of file CSCSegmentValidation.cc.
References PSimHitMap::hits(), query::result, CSCSegmentValidationUtils::SimHitPabsLessThan(), and CSCBaseValidation::theSimHitMap.
Referenced by analyze().
|
private |
Definition at line 168 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 161 of file CSCSegmentValidation.cc.
References CSCDetId::ring(), CSCDetId::station(), and CSCChamberSpecs::whatChamberType().
Referenced by analyze(), and fillEfficiencyPlots().
|
private |
Definition at line 35 of file CSCSegmentValidation.h.
Referenced by analyze(), and hasSegment().
|
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 49 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 48 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 28 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots(), and fillLayerHitsPerChamber().
|
private |
Definition at line 41 of file CSCSegmentValidation.h.
Referenced by analyze().
|
private |
Definition at line 39 of file CSCSegmentValidation.h.
Referenced by analyze().
|
private |
Definition at line 40 of file CSCSegmentValidation.h.
Referenced by analyze().
|
private |
Definition at line 43 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 42 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 37 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 45 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation().
|
private |
Definition at line 44 of file CSCSegmentValidation.h.
Referenced by CSCSegmentValidation(), and plotResolution().
|
private |
Definition at line 53 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 54 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 55 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
private |
Definition at line 56 of file CSCSegmentValidation.h.
Referenced by fillEfficiencyPlots().
|
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().