CMS 3D CMS Logo

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 
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 
26 public:
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
56 
57  //The DTGeometry
59 };
60 #endif
const DTT0 * tZeroMap
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
DTDeadFlag * tpDeadList
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
Definition: DTT0.h:53
edm::ESHandle< DTGeometry > muonGeom
HLT enums.
Definition: event.py:1
Definition: Run.h:44