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 <string>
12 #include <fstream>
13 
14 
15 namespace edm {
16  class ParameterSet;
17  class Event;
18  class EventSetup;
19 }
20 
21 class DTChamberId;
22 
24 public:
27 
29  ~DTTPGParamsWriter() override;
30 
31  // Operations
32 
34  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup) override;
35 
37  void endJob() override;
38 
39 private:
40 
41  void pharseLine(std::string &line, DTChamberId& chId, float &fine, int &coarse);
42 
43  bool debug_;
46 };
47 #endif
DTTPGParameters * phaseMap_
std::string inputFileName_
HLT enums.
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: event.py:1