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, const edm::EventSetup &eventSetup) override;
34 
36  void endJob() override;
37 
38 private:
39  void pharseLine(std::string &line, DTChamberId &chId, float &fine, int &coarse);
40 
41  bool debug_;
44 };
45 #endif
edm
HLT enums.
Definition: AlignableModifier.h:19
DTTPGParamsWriter::inputFileName_
std::string inputFileName_
Definition: DTTPGParamsWriter.h:42
EDAnalyzer.h
DTTPGParamsWriter::~DTTPGParamsWriter
~DTTPGParamsWriter() override
Destructor.
Definition: DTTPGParamsWriter.cc:38
DTTPGParamsWriter::endJob
void endJob() override
Write ttrig in the DB.
Definition: DTTPGParamsWriter.cc:95
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
Event
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
DTTPGParameters
Definition: DTTPGParameters.h:62
DTTPGParamsWriter::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Compute the ttrig by fiting the TB rising edge.
Definition: DTTPGParamsWriter.cc:44
DTTPGParamsWriter::pharseLine
void pharseLine(std::string &line, DTChamberId &chId, float &fine, int &coarse)
Definition: DTTPGParamsWriter.cc:77
DTTPGParameters.h
edm::EventSetup
Definition: EventSetup.h:57
DTTPGParamsWriter
Definition: DTTPGParamsWriter.h:22
DTTPGParamsWriter::phaseMap_
DTTPGParameters * phaseMap_
Definition: DTTPGParamsWriter.h:43
DTTPGParamsWriter::DTTPGParamsWriter
DTTPGParamsWriter(const edm::ParameterSet &pset)
Constructor.
Definition: DTTPGParamsWriter.cc:27
DTChamberId
Definition: DTChamberId.h:14
EventSetup
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
mps_splice.line
line
Definition: mps_splice.py:76
DTTPGParamsWriter::debug_
bool debug_
Definition: DTTPGParamsWriter.h:41
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27