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
virtual
~
DTTPDeadWriter
();
32
33
// Operations
34
36
virtual
void
beginRun(
const
edm::Run
&,
const
edm::EventSetup
&
setup
);
37
39
virtual
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup);
40
42
virtual
void
endJob();
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
Vispa.Share.Profiling.analyze
def analyze(function, filename, filter=None)
Definition:
Profiling.py:11
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:44
DTTPDeadWriter
Definition:
DTTPDeadWriter.h:25
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
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:66
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:42
Generated for CMSSW Reference Manual by
1.8.11