L1Trigger
RegionalCaloTrigger
interface
L1RCTSaveInput.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: L1RCTSaveInput
4
// Class: L1RCTSaveInput
5
//
15
//
16
// Original Author: Sridhara Dasu
17
// Created: Tue Jul 31 17:10:13 CEST 2007
18
//
19
//
20
21
#include <fstream>
22
#include <iostream>
23
#include <memory>
24
25
#include "
DataFormats/Common/interface/Handle.h
"
26
27
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
28
#include "
FWCore/Framework/interface/ESHandle.h
"
29
#include "
FWCore/Framework/interface/Event.h
"
30
#include "
FWCore/Framework/interface/EventSetup.h
"
31
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
32
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
33
#include "
FWCore/Utilities/interface/ESGetToken.h
"
34
35
#include "
FWCore/Framework/interface/MakerMacros.h
"
36
#include "
CondFormats/DataRecord/interface/L1RCTChannelMaskRcd.h
"
37
#include "
CondFormats/DataRecord/interface/L1RCTParametersRcd.h
"
38
#include "
CondFormats/L1TObjects/interface/L1RCTChannelMask.h
"
39
#include "
CondFormats/L1TObjects/interface/L1RCTParameters.h
"
40
#include "
CondFormats/DataRecord/interface/L1CaloEcalScaleRcd.h
"
41
#include "
CondFormats/DataRecord/interface/L1CaloHcalScaleRcd.h
"
42
#include "
CondFormats/L1TObjects/interface/L1CaloEcalScale.h
"
43
#include "
CondFormats/L1TObjects/interface/L1CaloHcalScale.h
"
44
#include "
CalibFormats/CaloTPG/interface/CaloTPGRecord.h
"
45
#include "
CalibFormats/CaloTPG/interface/CaloTPGTranscoder.h
"
46
#include "
CondFormats/DataRecord/interface/L1EmEtScaleRcd.h
"
47
#include "
CondFormats/L1TObjects/interface/L1CaloEtScale.h
"
48
#include "
CalibCalorimetry/EcalTPGTools/interface/EcalTPGScale.h
"
49
50
class
L1RCTLookupTables
;
51
class
L1RCT
;
52
53
class
L1RCTSaveInput
:
public
edm::EDAnalyzer
{
54
public
:
55
explicit
L1RCTSaveInput
(
const
edm::ParameterSet
&);
56
~L1RCTSaveInput
()
override
;
57
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
58
59
private
:
60
std::string
fileName
;
61
L1RCTLookupTables
*
rctLookupTables
;
62
L1RCT
*
rct
;
63
bool
useEcal
;
64
bool
useHcal
;
65
edm::InputTag
ecalDigisLabel
;
66
edm::InputTag
hcalDigisLabel
;
67
edm::ESGetToken<L1RCTParameters, L1RCTParametersRcd>
rctParametersToken_
;
68
edm::ESGetToken<L1RCTChannelMask, L1RCTChannelMaskRcd>
channelMaskToken_
;
69
edm::ESGetToken<L1CaloEtScale, L1EmEtScaleRcd>
emScaleToken_
;
70
edm::ESGetToken<CaloTPGTranscoder, CaloTPGRecord>
transcoderToken_
;
71
edm::ESGetToken<L1CaloHcalScale, L1CaloHcalScaleRcd>
hcalScaleToken_
;
72
edm::ESGetToken<L1CaloEcalScale, L1CaloEcalScaleRcd>
ecalScaleToken_
;
73
bool
useDebugTpgScales
;
74
std::ofstream
ofs
;
75
EcalTPGScale::Tokens
tokens_
;
76
};
L1EmEtScaleRcd.h
Handle.h
L1RCTChannelMaskRcd.h
L1RCTParameters.h
ESHandle.h
L1RCTSaveInput::hcalDigisLabel
edm::InputTag hcalDigisLabel
Definition:
L1RCTSaveInput.h:66
EcalTPGScale::Tokens
Definition:
EcalTPGScale.h:18
L1RCTSaveInput::tokens_
EcalTPGScale::Tokens tokens_
Definition:
L1RCTSaveInput.h:75
EDAnalyzer.h
L1RCTSaveInput::ecalDigisLabel
edm::InputTag ecalDigisLabel
Definition:
L1RCTSaveInput.h:65
L1RCTSaveInput::useDebugTpgScales
bool useDebugTpgScales
Definition:
L1RCTSaveInput.h:73
CaloTPGTranscoder.h
L1RCTSaveInput::rctLookupTables
L1RCTLookupTables * rctLookupTables
Definition:
L1RCTSaveInput.h:61
ESGetToken.h
L1RCTChannelMask.h
L1CaloHcalScale.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
L1RCTSaveInput::ecalScaleToken_
edm::ESGetToken< L1CaloEcalScale, L1CaloEcalScaleRcd > ecalScaleToken_
Definition:
L1RCTSaveInput.h:72
MakerMacros.h
L1RCTSaveInput::channelMaskToken_
edm::ESGetToken< L1RCTChannelMask, L1RCTChannelMaskRcd > channelMaskToken_
Definition:
L1RCTSaveInput.h:68
L1RCTSaveInput::L1RCTSaveInput
L1RCTSaveInput(const edm::ParameterSet &)
Definition:
L1RCTSaveInput.cc:27
L1RCT
Definition:
L1RCT.h:20
L1RCTSaveInput::hcalScaleToken_
edm::ESGetToken< L1CaloHcalScale, L1CaloHcalScaleRcd > hcalScaleToken_
Definition:
L1RCTSaveInput.h:71
L1RCTSaveInput::useEcal
bool useEcal
Definition:
L1RCTSaveInput.h:63
L1RCTSaveInput::fileName
std::string fileName
Definition:
L1RCTSaveInput.h:60
L1RCTLookupTables
Definition:
L1RCTLookupTables.h:11
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
L1RCTSaveInput::emScaleToken_
edm::ESGetToken< L1CaloEtScale, L1EmEtScaleRcd > emScaleToken_
Definition:
L1RCTSaveInput.h:69
L1RCTSaveInput::ofs
std::ofstream ofs
Definition:
L1RCTSaveInput.h:74
L1RCTSaveInput::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1RCTSaveInput.cc:57
edm::EventSetup
Definition:
EventSetup.h:58
CaloTPGRecord.h
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1CaloEtScale.h
L1CaloEcalScaleRcd.h
L1CaloHcalScaleRcd.h
L1RCTSaveInput::rctParametersToken_
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd > rctParametersToken_
Definition:
L1RCTSaveInput.h:67
L1CaloEcalScale.h
L1RCTSaveInput::~L1RCTSaveInput
~L1RCTSaveInput() override
Definition:
L1RCTSaveInput.cc:50
Frameworkfwd.h
EventSetup.h
L1RCTSaveInput::rct
L1RCT * rct
Definition:
L1RCTSaveInput.h:62
L1RCTParametersRcd.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
L1RCTSaveInput
Definition:
L1RCTSaveInput.h:53
L1RCTSaveInput::useHcal
bool useHcal
Definition:
L1RCTSaveInput.h:64
EcalTPGScale.h
L1RCTSaveInput::transcoderToken_
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > transcoderToken_
Definition:
L1RCTSaveInput.h:70
Generated for CMSSW Reference Manual by
1.8.16