CMS 3D CMS Logo

DTTPGParamsWriter.h
Go to the documentation of this file.
1 #ifndef DTTPGParamsWriter_H
2 #define DTTPGParamsWriter_H
3 
4 /* Program to write DT TPG pedestals correction into DB
5 
6  * \author C. Battilana - CIEMAT
7  */
8 
11 #include <fstream>
12 #include <string>
13 
14 namespace edm {
15 class ParameterSet;
16 class Event;
17 class EventSetup;
18 } // namespace edm
19 
20 class DTChamberId;
21 
23 public:
26 
28  ~DTTPGParamsWriter() override;
29 
30  // Operations
31 
33  void analyze(const edm::Event &event,
34  const edm::EventSetup &eventSetup) override;
35 
37  void endJob() override;
38 
39 private:
40  void pharseLine(std::string &line, DTChamberId &chId, float &fine,
41  int &coarse);
42 
43  bool debug_;
46 };
47 #endif
DTTPGParameters * phaseMap_
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
std::string inputFileName_
HLT enums.
Definition: event.py:1