Validation
MuonCSCDigis
interface
CSCBaseValidation.h
Go to the documentation of this file.
1
#ifndef Validation_MuonCSCDigis_CSCBaseValidation_h
2
#define Validation_MuonCSCDigis_CSCBaseValidation_h
3
4
// user include files
5
6
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include "
DQMServices/Core/interface/DQMStore.h
"
11
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
12
#include "
SimMuon/MCTruth/interface/PSimHitMap.h
"
13
14
class
CSCBaseValidation
{
15
public
:
16
typedef
dqm::legacy::DQMStore
DQMStore
;
17
typedef
dqm::legacy::MonitorElement
MonitorElement
;
18
19
CSCBaseValidation
(
const
edm::ParameterSet
&ps);
20
virtual
~CSCBaseValidation
() {}
21
void
setGeometry
(
const
CSCGeometry
*
geom
) {
theCSCGeometry
=
geom
; }
22
void
setSimHitMap
(
const
PSimHitMap
*simHitMap) {
theSimHitMap
= simHitMap; }
23
virtual
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&eventSetup) = 0;
24
25
protected
:
26
bool
doSim_
;
27
const
CSCLayer
*
findLayer
(
int
detId)
const
;
28
const
PSimHitMap
*
theSimHitMap
;
29
const
CSCGeometry
*
theCSCGeometry
;
30
};
31
32
#endif
DQMStore.h
CSCLayer
Definition:
CSCLayer.h:24
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
CSCBaseValidation::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition:
CSCBaseValidation.h:21
EDAnalyzer.h
CSCBaseValidation::analyze
virtual void analyze(const edm::Event &e, const edm::EventSetup &eventSetup)=0
CSCGeometry
Definition:
CSCGeometry.h:24
CSCBaseValidation::CSCBaseValidation
CSCBaseValidation(const edm::ParameterSet &ps)
Definition:
CSCBaseValidation.cc:4
dqm::legacy::DQMStore
Definition:
DQMStore.h:728
CSCBaseValidation::doSim_
bool doSim_
Definition:
CSCBaseValidation.h:26
PSimHitMap.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CSCBaseValidation::findLayer
const CSCLayer * findLayer(int detId) const
Definition:
CSCBaseValidation.cc:7
CSCBaseValidation::theSimHitMap
const PSimHitMap * theSimHitMap
Definition:
CSCBaseValidation.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CSCBaseValidation::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
CSCBaseValidation.h:16
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
CSCBaseValidation::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
CSCBaseValidation.h:17
CSCBaseValidation::~CSCBaseValidation
virtual ~CSCBaseValidation()
Definition:
CSCBaseValidation.h:20
CSCBaseValidation::setSimHitMap
void setSimHitMap(const PSimHitMap *simHitMap)
Definition:
CSCBaseValidation.h:22
CSCBaseValidation
Definition:
CSCBaseValidation.h:14
edm::Event
Definition:
Event.h:73
CSCBaseValidation::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition:
CSCBaseValidation.h:29
PSimHitMap
Definition:
PSimHitMap.h:11
CSCGeometry.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16