Main Page
Namespaces
Classes
Package Documentation
L1TriggerConfig
DTTPGConfigProducers
plugins
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
9
#include "
CondFormats/DTObjects/interface/DTTPGParameters.h
"
10
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
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
22
class
DTTPGParamsWriter
:
public
edm::EDAnalyzer
{
23
public
:
25
DTTPGParamsWriter
(
const
edm::ParameterSet
&
pset
);
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_
;
44
std::string
inputFileName_
;
45
DTTPGParameters
*
phaseMap_
;
46
};
47
#endif
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTChamberId
Definition:
DTChamberId.h:14
DTTPGParamsWriter
Definition:
DTTPGParamsWriter.h:22
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTTPGParamsWriter::phaseMap_
DTTPGParameters * phaseMap_
Definition:
DTTPGParamsWriter.h:45
DTTPGParamsWriter::debug_
bool debug_
Definition:
DTTPGParamsWriter.h:43
analyze
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
DTTPGParameters
Definition:
DTTPGParameters.h:70
EventSetup
mps_splice.line
line
Definition:
mps_splice.py:76
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
DTTPGParameters.h
Event
DTTPGParamsWriter::inputFileName_
std::string inputFileName_
Definition:
DTTPGParamsWriter.h:44
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11