CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
CSCBaseValidation Class Referenceabstract

#include <CSCBaseValidation.h>

Inheritance diagram for CSCBaseValidation:
CSCALCTDigiValidation CSCCLCTDigiValidation CSCComparatorDigiValidation CSCRecHit2DValidation CSCSegmentValidation CSCStripDigiValidation CSCStubEfficiencyValidation CSCWireDigiValidation

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Public Member Functions

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

Protected Member Functions

const CSCLayerfindLayer (int detId) const
 

Protected Attributes

bool doSim_
 
const CSCGeometrytheCSCGeometry
 
const PSimHitMaptheSimHitMap
 

Detailed Description

Definition at line 14 of file CSCBaseValidation.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 16 of file CSCBaseValidation.h.

◆ MonitorElement

Definition at line 17 of file CSCBaseValidation.h.

Constructor & Destructor Documentation

◆ CSCBaseValidation()

CSCBaseValidation::CSCBaseValidation ( const edm::ParameterSet ps)

Definition at line 4 of file CSCBaseValidation.cc.

5  : doSim_(ps.getParameter<bool>("doSim")), theSimHitMap(nullptr), theCSCGeometry(nullptr) {}

◆ ~CSCBaseValidation()

virtual CSCBaseValidation::~CSCBaseValidation ( )
inlinevirtual

Definition at line 20 of file CSCBaseValidation.h.

20 {}

Member Function Documentation

◆ analyze()

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

◆ findLayer()

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

◆ setGeometry()

void CSCBaseValidation::setGeometry ( const CSCGeometry geom)
inline

Definition at line 21 of file CSCBaseValidation.h.

21 { theCSCGeometry = geom; }

References relativeConstraints::geom, and theCSCGeometry.

◆ setSimHitMap()

void CSCBaseValidation::setSimHitMap ( const PSimHitMap simHitMap)
inline

Definition at line 22 of file CSCBaseValidation.h.

22 { theSimHitMap = simHitMap; }

References theSimHitMap.

Member Data Documentation

◆ doSim_

bool CSCBaseValidation::doSim_
protected

◆ theCSCGeometry

const CSCGeometry* CSCBaseValidation::theCSCGeometry
protected

Definition at line 29 of file CSCBaseValidation.h.

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

◆ theSimHitMap

const PSimHitMap* CSCBaseValidation::theSimHitMap
protected
GeomDet
Definition: GeomDet.h:27
cms::cuda::assert
assert(be >=bs)
CSCBaseValidation::doSim_
bool doSim_
Definition: CSCBaseValidation.h:26
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CSCBaseValidation::theSimHitMap
const PSimHitMap * theSimHitMap
Definition: CSCBaseValidation.h:28
CSCDetId
Definition: CSCDetId.h:26
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CSCBaseValidation::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition: CSCBaseValidation.h:29
CSCGeometry::idToDetUnit
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Definition: CSCGeometry.cc:89