#include <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.
: dbe_(dbe), theInputTag(inputTag), theSimHitMap(0), theCSCGeometry(0) { }
virtual CSCBaseValidation::~CSCBaseValidation | ( | ) | [inline, virtual] |
Definition at line 19 of file CSCBaseValidation.h.
{}
virtual void CSCBaseValidation::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) | [pure virtual] |
const CSCLayer * CSCBaseValidation::findLayer | ( | int | detId | ) | const [protected] |
Definition at line 13 of file CSCBaseValidation.cc.
References CSCDetId, CSCGeometry::idToDetUnit(), and theCSCGeometry.
Referenced by CSCComparatorDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCSegmentValidation::analyze(), and CSCRecHit2DValidation::analyze().
{ assert(theCSCGeometry != 0); const GeomDetUnit* detUnit = theCSCGeometry->idToDetUnit(CSCDetId(detId)); return dynamic_cast<const CSCLayer *>(detUnit); }
void CSCBaseValidation::setGeometry | ( | const CSCGeometry * | geom | ) | [inline] |
Reimplemented in CSCStripDigiValidation.
Definition at line 21 of file CSCBaseValidation.h.
References relativeConstraints::geom, and theCSCGeometry.
Referenced by CSCDigiValidation::analyze(), and CSCRecHitValidation::analyze().
{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().
{theSimHitMap = simHitMap;}
DQMStore* CSCBaseValidation::dbe_ [protected] |
Definition at line 29 of file CSCBaseValidation.h.
Referenced by CSCALCTDigiValidation::CSCALCTDigiValidation(), CSCCLCTDigiValidation::CSCCLCTDigiValidation(), 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(), CSCCLCTDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCSegmentValidation::analyze(), CSCALCTDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), and CSCStripDigiValidation::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().