Main Page
Namespaces
Classes
Package Documentation
CalibMuon
DTCalibration
plugins
DTTTrigWriter.h
Go to the documentation of this file.
1
#ifndef DTTTrigWriter_H
2
#define DTTTrigWriter_H
3
4
/* Program to evaluate ttrig and sigma ttrig from TB histograms
5
* and write the results to a file for each SL
6
7
* \author S. Bolognesi
8
*/
9
10
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
11
// #include "DataFormats/MuonDetId/interface/DTSuperLayerId.h"
12
13
#include <string>
14
15
namespace
edm
{
16
class
ParameterSet
;
17
class
Event
;
18
class
EventSetup
;
19
}
20
21
class
TFile;
22
class
DTTimeBoxFitter
;
23
class
DTSuperLayerId
;
24
class
DTTtrig
;
25
26
27
class
DTTTrigWriter
:
public
edm::EDAnalyzer
{
28
public
:
30
DTTTrigWriter
(
const
edm::ParameterSet
&
pset
);
31
33
~
DTTTrigWriter
()
override
;
34
35
// Operations
36
38
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
39
41
void
endJob()
override
;
42
43
44
protected
:
45
46
private
:
47
// Generate the time box name
48
std::string
getTBoxName(
const
DTSuperLayerId
& slId)
const
;
49
50
// Debug flag
51
bool
debug
;
52
// the kfactor to be uploaded in the ttrig DB
53
double
kFactor
;
54
55
// The file which contains the tMax histograms
56
TFile *
theFile
;
57
58
// The name of the input root file which contains the tMax histograms
59
std::string
theRootInputFile
;
60
61
// The fitter
62
DTTimeBoxFitter
*
theFitter
;
63
64
// The object to be written to DB
65
DTTtrig
*
tTrig
;
66
67
};
68
#endif
DTTTrigWriter::theFitter
DTTimeBoxFitter * theFitter
Definition:
DTTTrigWriter.h:62
DTTTrigWriter::theRootInputFile
std::string theRootInputFile
Definition:
DTTTrigWriter.h:59
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTTTrigWriter
Definition:
DTTTrigWriter.h:27
DTTTrigWriter::theFile
TFile * theFile
Definition:
DTTTrigWriter.h:56
analyze
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
EventSetup
DTSuperLayerId
Definition:
DTSuperLayerId.h:13
DTTtrig
Definition:
DTTtrig.h:76
edm::EventSetup
Definition:
EventSetup.h:57
DTTTrigWriter::kFactor
double kFactor
Definition:
DTTTrigWriter.h:53
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
Event
DTTTrigWriter::tTrig
DTTtrig * tTrig
Definition:
DTTTrigWriter.h:65
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
DTTimeBoxFitter
Definition:
DTTimeBoxFitter.h:18
event
Definition:
event.py:1
DTTTrigWriter::debug
bool debug
Definition:
DTTTrigWriter.h:51
Generated for CMSSW Reference Manual by
1.8.11