Main Page
Namespaces
Classes
Package Documentation
CalibMuon
DTCalibration
plugins
DTTPDeadWriter.h
Go to the documentation of this file.
1
#ifndef DTTPDeadWriter_H
2
#define DTTPDeadWriter_H
3
4
/* Class to find test-pulse dead channels from a t0 databases:
5
* wires without t0 value are tp-dead.
6
7
* \author S. Bolognesi
8
*/
9
10
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
11
#include "
Geometry/DTGeometry/interface/DTGeometry.h
"
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
14
#include <string>
15
16
namespace
edm
{
17
class
ParameterSet
;
18
class
Event
;
19
class
EventSetup
;
20
}
// namespace edm
21
22
class
DTT0
;
23
class
DTDeadFlag
;
24
25
class
DTTPDeadWriter
:
public
edm::EDAnalyzer
{
26
public
:
28
DTTPDeadWriter
(
const
edm::ParameterSet
&
pset
);
29
31
~
DTTPDeadWriter
()
override
;
32
33
// Operations
34
36
void
beginRun(
const
edm::Run
&,
const
edm::EventSetup
&
setup
)
override
;
37
39
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
40
42
void
endJob()
override
;
43
44
protected
:
45
private
:
46
// Debug flag
47
bool
debug
;
48
49
//The map of t0 to be read from event
50
const
DTT0
*
tZeroMap
;
51
52
// The object to be written to DB
53
DTDeadFlag
*
tpDeadList
;
54
55
//The DTGeometry
56
edm::ESHandle<DTGeometry>
muonGeom
;
57
};
58
#endif
DTTPDeadWriter::tZeroMap
const DTT0 * tZeroMap
Definition:
DTTPDeadWriter.h:50
DTGeometry.h
ParameterSet
Definition:
Functions.h:16
DTTPDeadWriter::tpDeadList
DTDeadFlag * tpDeadList
Definition:
DTTPDeadWriter.h:53
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTTPDeadWriter::debug
bool debug
Definition:
DTTPDeadWriter.h:47
analyze
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
DTT0
Definition:
DTT0.h:48
EventSetup
edm::ESHandle< DTGeometry >
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
DTTPDeadWriter
Definition:
DTTPDeadWriter.h:25
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:36
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
DTTPDeadWriter::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition:
DTTPDeadWriter.h:56
Event
DTDeadFlag
Definition:
DTDeadFlag.h:66
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.11