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
}
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
45
protected
:
46
47
private
:
48
// Debug flag
49
bool
debug
;
50
51
//The map of t0 to be read from event
52
const
DTT0
*
tZeroMap
;
53
54
// The object to be written to DB
55
DTDeadFlag
*
tpDeadList
;
56
57
//The DTGeometry
58
edm::ESHandle<DTGeometry>
muonGeom
;
59
};
60
#endif
DTTPDeadWriter::tZeroMap
const DTT0 * tZeroMap
Definition:
DTTPDeadWriter.h:52
DTGeometry.h
analyze
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
ParameterSet
Definition:
Functions.h:16
DTTPDeadWriter::tpDeadList
DTDeadFlag * tpDeadList
Definition:
DTTPDeadWriter.h:55
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:1
DTTPDeadWriter::debug
bool debug
Definition:
DTTPDeadWriter.h:49
DTT0
Definition:
DTT0.h:53
EventSetup
edm::ESHandle< DTGeometry >
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:48
DTTPDeadWriter
Definition:
DTTPDeadWriter.h:25
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
DTTPDeadWriter::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition:
DTTPDeadWriter.h:58
Event
DTDeadFlag
Definition:
DTDeadFlag.h:74
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:43
Generated for CMSSW Reference Manual by
1.8.11