CalibMuon
DTCalibration
plugins
DTTTrigOffsetCalibration.h
Go to the documentation of this file.
1
#ifndef DTTTrigOffsetCalibration_H
2
#define DTTTrigOffsetCalibration_H
3
10
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
11
#include "
FWCore/Utilities/interface/InputTag.h
"
12
#include "
CalibMuon/DTCalibration/interface/DTSegmentSelector.h
"
13
14
#include <map>
15
16
namespace
edm
{
17
class
ParameterSet
;
18
class
Event
;
19
class
EventSetup
;
20
}
// namespace edm
21
22
class
DTChamberId
;
23
class
DTTtrig
;
24
class
TFile;
25
class
TH1F;
26
27
class
DTTTrigOffsetCalibration
:
public
edm::EDAnalyzer
{
28
public
:
29
// Constructor
30
DTTTrigOffsetCalibration
(
const
edm::ParameterSet
&
pset
);
31
// Destructor
32
~DTTTrigOffsetCalibration
()
override
;
33
34
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&
setup
)
override
;
35
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
& eventSetup)
override
;
36
void
endJob
()
override
;
37
38
private
:
39
typedef
std::map<DTChamberId, std::vector<TH1F*> >
ChamberHistosMap
;
40
void
bookHistos
(
DTChamberId
);
41
42
DTSegmentSelector
*
select_
;
43
44
edm::InputTag
theRecHits4DLabel_
;
45
bool
doTTrigCorrection_
;
46
std::string
theCalibChamber_
;
47
std::string
dbLabel_
;
48
49
TFile*
rootFile_
;
50
const
DTTtrig
*
tTrigMap_
;
51
ChamberHistosMap
theT0SegHistoMap_
;
52
};
53
#endif
DTTtrig
Definition:
DTTtrig.h:68
DTTTrigOffsetCalibration::dbLabel_
std::string dbLabel_
Definition:
DTTTrigOffsetCalibration.h:47
DTTTrigOffsetCalibration::theCalibChamber_
std::string theCalibChamber_
Definition:
DTTTrigOffsetCalibration.h:46
edm::Run
Definition:
Run.h:45
DTTTrigOffsetCalibration
Definition:
DTTTrigOffsetCalibration.h:27
edm
HLT enums.
Definition:
AlignableModifier.h:19
DTTTrigOffsetCalibration::theRecHits4DLabel_
edm::InputTag theRecHits4DLabel_
Definition:
DTTTrigOffsetCalibration.h:44
EDAnalyzer.h
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
DTTTrigOffsetCalibration::~DTTTrigOffsetCalibration
~DTTTrigOffsetCalibration() override
Definition:
DTTTrigOffsetCalibration.cc:62
DTTTrigOffsetCalibration::DTTTrigOffsetCalibration
DTTTrigOffsetCalibration(const edm::ParameterSet &pset)
Definition:
DTTTrigOffsetCalibration.cc:37
Event
DTTTrigOffsetCalibration::rootFile_
TFile * rootFile_
Definition:
DTTTrigOffsetCalibration.h:49
DTSegmentSelector
Definition:
DTSegmentSelector.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
DTTTrigOffsetCalibration::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Definition:
DTTTrigOffsetCalibration.cc:53
edm::EventSetup
Definition:
EventSetup.h:57
DTTTrigOffsetCalibration::endJob
void endJob() override
Definition:
DTTTrigOffsetCalibration.cc:132
InputTag.h
DTTTrigOffsetCalibration::bookHistos
void bookHistos(DTChamberId)
Definition:
DTTTrigOffsetCalibration.cc:184
DTTTrigOffsetCalibration::theT0SegHistoMap_
ChamberHistosMap theT0SegHistoMap_
Definition:
DTTTrigOffsetCalibration.h:51
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
DTSegmentSelector.h
DTTTrigOffsetCalibration::ChamberHistosMap
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMap
Definition:
DTTTrigOffsetCalibration.h:39
DTTTrigOffsetCalibration::doTTrigCorrection_
bool doTTrigCorrection_
Definition:
DTTTrigOffsetCalibration.h:45
DTChamberId
Definition:
DTChamberId.h:14
EventSetup
DTTTrigOffsetCalibration::select_
DTSegmentSelector * select_
Definition:
DTTTrigOffsetCalibration.h:42
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
DTTTrigOffsetCalibration::tTrigMap_
const DTTtrig * tTrigMap_
Definition:
DTTTrigOffsetCalibration.h:50
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTTTrigOffsetCalibration::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition:
DTTTrigOffsetCalibration.cc:67
Generated for CMSSW Reference Manual by
1.8.16