CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes
CSCSegmentValidation Class Reference

#include <CSCSegmentValidation.h>

Inheritance diagram for CSCSegmentValidation:
CSCBaseValidation

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 PSimHitkeyHit (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)
 

Private Attributes

edm::EDGetTokenT
< CSCSegmentCollection
segments_Token_
 
ChamberSegmentMap theChamberSegmentMap
 
MonitorElementthedXdZPullPlots [10]
 
MonitorElementthedXdZResolutionPlots [10]
 
MonitorElementthedYdZPullPlots [10]
 
MonitorElementthedYdZResolutionPlots [10]
 
ChamberHitMap theLayerHitsPerChamber
 
MonitorElementtheNPerChamberTypePlot
 
MonitorElementtheNPerEventPlot
 
MonitorElementtheNRecHitsPlot
 
MonitorElementtheRdPhiPullPlots [10]
 
MonitorElementtheRdPhiResolutionPlots [10]
 
int theShowerThreshold
 
MonitorElementtheThetaPullPlots [10]
 
MonitorElementtheThetaResolutionPlots [10]
 
MonitorElementtheTypePlot4HitsNoShower
 
MonitorElementtheTypePlot4HitsNoShowerSeg
 
MonitorElementtheTypePlot4HitsShower
 
MonitorElementtheTypePlot4HitsShowerSeg
 
MonitorElementtheTypePlot5HitsNoShower
 
MonitorElementtheTypePlot5HitsNoShowerSeg
 
MonitorElementtheTypePlot5HitsShower
 
MonitorElementtheTypePlot5HitsShowerSeg
 
MonitorElementtheTypePlot6HitsNoShower
 
MonitorElementtheTypePlot6HitsNoShowerSeg
 
MonitorElementtheTypePlot6HitsShower
 
MonitorElementtheTypePlot6HitsShowerSeg
 

Additional Inherited Members

- Protected Member Functions inherited from CSCBaseValidation
const CSCLayerfindLayer (int detId) const
 
- Protected Attributes inherited from CSCBaseValidation
const CSCGeometrytheCSCGeometry
 
edm::InputTag theInputTag
 
const PSimHitMaptheSimHitMap
 

Detailed Description

Definition at line 12 of file CSCSegmentValidation.h.

Member Typedef Documentation

typedef std::map<int, std::vector<int> > CSCSegmentValidation::ChamberHitMap
private

Definition at line 32 of file CSCSegmentValidation.h.

typedef std::map<int, std::vector<CSCSegment> > CSCSegmentValidation::ChamberSegmentMap
private

Definition at line 39 of file CSCSegmentValidation.h.

Constructor & Destructor Documentation

CSCSegmentValidation::CSCSegmentValidation ( const edm::InputTag inputTag,
edm::ConsumesCollector &&  iC 
)

Definition at line 6 of file CSCSegmentValidation.cc.

CSCSegmentValidation::~CSCSegmentValidation ( )
virtual

Definition at line 15 of file CSCSegmentValidation.cc.

Member Function Documentation

void CSCSegmentValidation::analyze ( const edm::Event e,
const edm::EventSetup eventSetup 
)
virtual

Implements CSCBaseValidation.

Definition at line 60 of file CSCSegmentValidation.cc.

Referenced by CSCRecHitValidation::analyze().

void CSCSegmentValidation::bookHistograms ( DQMStore::IBooker iBooker)

Definition at line 19 of file CSCSegmentValidation.cc.

Referenced by CSCRecHitValidation::bookHistograms().

void CSCSegmentValidation::fillEfficiencyPlots ( )
private

Definition at line 95 of file CSCSegmentValidation.cc.

void CSCSegmentValidation::fillLayerHitsPerChamber ( )
private

Definition at line 203 of file CSCSegmentValidation.cc.

bool CSCSegmentValidation::hasSegment ( int  chamberId) const
private

Definition at line 158 of file CSCSegmentValidation.cc.

const PSimHit * CSCSegmentValidation::keyHit ( int  chamberId) const
private

Definition at line 231 of file CSCSegmentValidation.cc.

void CSCSegmentValidation::plotResolution ( const PSimHit simHit,
const CSCSegment recHit,
const CSCLayer layer,
int  chamberType 
)
private

Definition at line 171 of file CSCSegmentValidation.cc.

int CSCSegmentValidation::whatChamberType ( int  detId)
staticprivate

Definition at line 164 of file CSCSegmentValidation.cc.

Member Data Documentation

edm::EDGetTokenT<CSCSegmentCollection> CSCSegmentValidation::segments_Token_
private

Definition at line 28 of file CSCSegmentValidation.h.

ChamberSegmentMap CSCSegmentValidation::theChamberSegmentMap
private

Definition at line 40 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::thedXdZPullPlots[10]
private

Definition at line 52 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::thedXdZResolutionPlots[10]
private

Definition at line 51 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::thedYdZPullPlots[10]
private

Definition at line 54 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::thedYdZResolutionPlots[10]
private

Definition at line 53 of file CSCSegmentValidation.h.

ChamberHitMap CSCSegmentValidation::theLayerHitsPerChamber
private

Definition at line 33 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theNPerChamberTypePlot
private

Definition at line 46 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theNPerEventPlot
private

Definition at line 44 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theNRecHitsPlot
private

Definition at line 45 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theRdPhiPullPlots[10]
private

Definition at line 48 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theRdPhiResolutionPlots[10]
private

Definition at line 47 of file CSCSegmentValidation.h.

int CSCSegmentValidation::theShowerThreshold
private

Definition at line 42 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theThetaPullPlots[10]
private

Definition at line 50 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theThetaResolutionPlots[10]
private

Definition at line 49 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot4HitsNoShower
private

Definition at line 56 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot4HitsNoShowerSeg
private

Definition at line 57 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot4HitsShower
private

Definition at line 58 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot4HitsShowerSeg
private

Definition at line 59 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot5HitsNoShower
private

Definition at line 60 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot5HitsNoShowerSeg
private

Definition at line 61 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot5HitsShower
private

Definition at line 62 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot5HitsShowerSeg
private

Definition at line 63 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot6HitsNoShower
private

Definition at line 64 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot6HitsNoShowerSeg
private

Definition at line 65 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot6HitsShower
private

Definition at line 66 of file CSCSegmentValidation.h.

MonitorElement* CSCSegmentValidation::theTypePlot6HitsShowerSeg
private

Definition at line 67 of file CSCSegmentValidation.h.