CMS 3D CMS Logo

CSCBaseValidation Class Reference

#include <Validation/MuonCSCDigis/interface/CSCBaseValidation.h>

Inheritance diagram for CSCBaseValidation:

CSCComparatorDigiValidation CSCRecHit2DValidation CSCSegmentValidation CSCStripDigiValidation CSCWireDigiValidation

List of all members.

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &eventSetup)=0
 CSCBaseValidation (DQMStore *dbe, const edm::InputTag &inputTag)
void setGeometry (const CSCGeometry *geom)
void setSimHitMap (const PSimHitMap *simHitMap)
virtual ~CSCBaseValidation ()

Protected Member Functions

const CSCLayerfindLayer (int detId) const

Protected Attributes

DQMStoredbe_
const CSCGeometrytheCSCGeometry
edm::InputTag theInputTag
const PSimHitMaptheSimHitMap


Detailed Description

Definition at line 16 of file CSCBaseValidation.h.


Constructor & Destructor Documentation

CSCBaseValidation::CSCBaseValidation ( DQMStore dbe,
const edm::InputTag inputTag 
)

Definition at line 4 of file CSCBaseValidation.cc.

00005 : dbe_(dbe),
00006   theInputTag(inputTag),
00007   theSimHitMap(0),
00008   theCSCGeometry(0)
00009 {
00010 }

virtual CSCBaseValidation::~CSCBaseValidation (  )  [inline, virtual]

Definition at line 19 of file CSCBaseValidation.h.

00019 {}


Member Function Documentation

virtual void CSCBaseValidation::analyze ( const edm::Event e,
const edm::EventSetup eventSetup 
) [pure virtual]

Implemented in CSCRecHit2DValidation, CSCSegmentValidation, CSCComparatorDigiValidation, CSCStripDigiValidation, and CSCWireDigiValidation.

const CSCLayer * CSCBaseValidation::findLayer ( int  detId  )  const [protected]

Definition at line 13 of file CSCBaseValidation.cc.

References CSCGeometry::idToDetUnit(), and theCSCGeometry.

Referenced by CSCComparatorDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCSegmentValidation::analyze(), and CSCRecHit2DValidation::analyze().

00013                                                              {
00014   assert(theCSCGeometry != 0);
00015   const GeomDetUnit* detUnit = theCSCGeometry->idToDetUnit(CSCDetId(detId));
00016   return dynamic_cast<const CSCLayer *>(detUnit);
00017 }

void CSCBaseValidation::setGeometry ( const CSCGeometry geom  )  [inline]

Reimplemented in CSCStripDigiValidation.

Definition at line 21 of file CSCBaseValidation.h.

References theCSCGeometry.

Referenced by CSCRecHitValidation::analyze(), and CSCDigiValidation::analyze().

00021 {theCSCGeometry = geom;}

void CSCBaseValidation::setSimHitMap ( const PSimHitMap simHitMap  )  [inline]

Definition at line 22 of file CSCBaseValidation.h.

References theSimHitMap.

Referenced by CSCRecHitValidation::analyze(), and CSCDigiValidation::CSCDigiValidation().

00022 {theSimHitMap = simHitMap;}


Member Data Documentation

DQMStore* CSCBaseValidation::dbe_ [protected]

Definition at line 29 of file CSCBaseValidation.h.

Referenced by CSCComparatorDigiValidation::CSCComparatorDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), CSCStripDigiValidation::CSCStripDigiValidation(), and CSCWireDigiValidation::CSCWireDigiValidation().

const CSCGeometry* CSCBaseValidation::theCSCGeometry [protected]

Definition at line 32 of file CSCBaseValidation.h.

Referenced by findLayer(), setGeometry(), and CSCStripDigiValidation::setGeometry().

edm::InputTag CSCBaseValidation::theInputTag [protected]

Definition at line 30 of file CSCBaseValidation.h.

Referenced by CSCComparatorDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCSegmentValidation::analyze(), CSCStripDigiValidation::analyze(), and CSCRecHit2DValidation::analyze().

const PSimHitMap* CSCBaseValidation::theSimHitMap [protected]

Definition at line 31 of file CSCBaseValidation.h.

Referenced by CSCWireDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), CSCSegmentValidation::fillLayerHitsPerChamber(), CSCSegmentValidation::keyHit(), and setSimHitMap().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:05 2009 for CMSSW by  doxygen 1.5.4