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 "
FWCore/Framework/interface/EDAnalyzer.h
"
10
#include "
CondFormats/DTObjects/interface/DTTPGParameters.h
"
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
23
class
DTTPGParamsWriter
:
public
edm::EDAnalyzer
{
24
public
:
26
DTTPGParamsWriter
(
const
edm::ParameterSet
&
pset
);
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_
;
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:23
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
DTTPGParameters
Definition:
DTTPGParameters.h:70
EventSetup
mps_splice.line
line
Definition:
mps_splice.py:75
edm::EventSetup
Definition:
EventSetup.h:54
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
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:70
analyze
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11