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
}
GeomDet
Definition:
GeomDet.h:27
cms::cuda::assert
assert(be >=bs)
DQMStore.h
CSCLayer
Definition:
CSCLayer.h:24
CSCBaseValidation::CSCBaseValidation
CSCBaseValidation(const edm::InputTag &inputTag)
Definition:
CSCBaseValidation.cc:4
CSCBaseValidation::findLayer
const CSCLayer * findLayer(int detId) const
Definition:
CSCBaseValidation.cc:7
CSCDetId
Definition:
CSCDetId.h:26
CSCBaseValidation.h
SimL1EmulatorRepack_Full_cff.inputTag
inputTag
Definition:
SimL1EmulatorRepack_Full_cff.py:56
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
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16