Main Page
Namespaces
Classes
Package Documentation
src
Validation
MuonCSCDigis
src
CSCBaseValidation.cc
Go to the documentation of this file.
1
#include "
DQMServices/Core/interface/DQMStore.h
"
2
#include "
Validation/MuonCSCDigis/interface/CSCBaseValidation.h
"
3
4
CSCBaseValidation::CSCBaseValidation
(
const
edm::InputTag
&
inputTag
)
5
: theInputTag(inputTag), theSimHitMap(
nullptr
), theCSCGeometry(
nullptr
) {}
6
7
const
CSCLayer
*
CSCBaseValidation::findLayer
(
int
detId)
const
{
8
assert(
theCSCGeometry
!=
nullptr
);
9
const
GeomDetUnit
*detUnit =
theCSCGeometry
->
idToDetUnit
(
CSCDetId
(detId));
10
return
dynamic_cast<
const
CSCLayer
*
>
(detUnit);
11
}
CSCBaseValidation.h
CSCBaseValidation::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition:
CSCBaseValidation.h:27
HiClusterCompatibility_cfi.inputTag
inputTag
Definition:
HiClusterCompatibility_cfi.py:4
CSCDetId
Definition:
CSCDetId.h:26
CSCBaseValidation::CSCBaseValidation
CSCBaseValidation(const edm::InputTag &inputTag)
Definition:
CSCBaseValidation.cc:4
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
GeomDet
Definition:
GeomDet.h:29
DQMStore.h
CSCLayer
Definition:
CSCLayer.h:24
CSCGeometry::idToDetUnit
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Definition:
CSCGeometry.cc:108
edm::InputTag
Definition:
InputTag.h:15
CSCBaseValidation::findLayer
const CSCLayer * findLayer(int detId) const
Definition:
CSCBaseValidation.cc:7
Generated for CMSSW Reference Manual by
1.8.11