CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCBaseValidation.cc
Go to the documentation of this file.
3 
5 : dbe_(dbe),
6  theInputTag(inputTag),
7  theSimHitMap(0),
8  theCSCGeometry(0)
9 {
10 }
11 
12 
13 const CSCLayer * CSCBaseValidation::findLayer(int detId) const {
14  assert(theCSCGeometry != 0);
15  const GeomDetUnit* detUnit = theCSCGeometry->idToDetUnit(CSCDetId(detId));
16  return dynamic_cast<const CSCLayer *>(detUnit);
17 }
18 
const CSCGeometry * theCSCGeometry
virtual const GeomDetUnit * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Definition: CSCGeometry.cc:87
DQMStore * dbe_
CSCBaseValidation(DQMStore *dbe, const edm::InputTag &inputTag)
const CSCLayer * findLayer(int detId) const