#include <Validation/MuonCSCDigis/interface/CSCBaseValidation.h>
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 CSCLayer * | findLayer (int detId) const |
Protected Attributes | |
DQMStore * | dbe_ |
const CSCGeometry * | theCSCGeometry |
edm::InputTag | theInputTag |
const PSimHitMap * | theSimHitMap |
Definition at line 16 of file CSCBaseValidation.h.
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] |
virtual void CSCBaseValidation::analyze | ( | const edm::Event & | e, | |
const edm::EventSetup & | eventSetup | |||
) | [pure virtual] |
Implemented in CSCRecHit2DValidation, CSCSegmentValidation, CSCComparatorDigiValidation, CSCStripDigiValidation, and CSCWireDigiValidation.
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;}
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().