Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
,
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_
;
42
std::string
inputFileName_
;
43
DTTPGParameters
*
phaseMap_
;
44
};
45
#endif
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
ParameterSet
Definition:
Functions.h:16
DTChamberId
Definition:
DTChamberId.h:14
DTTPGParamsWriter
Definition:
DTTPGParamsWriter.h:22
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
DTTPGParamsWriter::endJob
void endJob() override
Write ttrig in the DB.
Definition:
DTTPGParamsWriter.cc:95
DTTPGParamsWriter::phaseMap_
DTTPGParameters * phaseMap_
Definition:
DTTPGParamsWriter.h:43
DTTPGParamsWriter::debug_
bool debug_
Definition:
DTTPGParamsWriter.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
geometryCSVtoXML.line
tuple line
Definition:
geometryCSVtoXML.py:16
DTTPGParameters
Definition:
DTTPGParameters.h:62
EventSetup
DTTPGParamsWriter::pharseLine
void pharseLine(std::string &line, DTChamberId &chId, float &fine, int &coarse)
Definition:
DTTPGParamsWriter.cc:77
edm::EventSetup
Definition:
EventSetup.h:59
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
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
DTTPGParameters.h
Event
DTTPGParamsWriter::inputFileName_
std::string inputFileName_
Definition:
DTTPGParamsWriter.h:42
DTTPGParamsWriter::~DTTPGParamsWriter
~DTTPGParamsWriter() override
Destructor.
Definition:
DTTPGParamsWriter.cc:38
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
DTTPGParamsWriter::DTTPGParamsWriter
DTTPGParamsWriter(const edm::ParameterSet &pset)
Constructor.
Definition:
DTTPGParamsWriter.cc:27
Generated for CMSSW Reference Manual by
1.8.5