Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Validation
MuonCSCDigis
src
CSCBaseValidation.cc
Go to the documentation of this file.
1
#include "
Validation/MuonCSCDigis/interface/CSCBaseValidation.h
"
2
#include "
DQMServices/Core/interface/DQMStore.h
"
3
4
CSCBaseValidation::CSCBaseValidation
(
DQMStore
* dbe,
const
edm::InputTag
& inputTag)
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
CSCBaseValidation.h
CSCBaseValidation::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition:
CSCBaseValidation.h:33
CSCDetId
CSCDetId
Definition:
RecoLocalMuon_RECO.doi:36
DQMStore
Definition:
DQMStore.h:73
DQMStore.h
dbe_
DQMStore * dbe_
Definition:
PFJetBenchmarkAnalyzer.cc:79
CSCBaseValidation::CSCBaseValidation
CSCBaseValidation(DQMStore *dbe, const edm::InputTag &inputTag)
Definition:
CSCBaseValidation.cc:4
CSCLayer
Definition:
CSCLayer.h:24
edm::InputTag
Definition:
InputTag.h:17
GeomDetUnit
Definition:
GeomDetUnit.h:13
CSCGeometry::idToDetUnit
virtual const GeomDetUnit * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Definition:
CSCGeometry.cc:93
CSCBaseValidation::findLayer
const CSCLayer * findLayer(int detId) const
Definition:
CSCBaseValidation.cc:13
Generated for CMSSW Reference Manual by
1.8.5