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/one/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
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
50
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
51
52
class
L1RCTLookupTables
;
53
class
L1RCT
;
54
55
class
L1RCTSaveInput
:
public
edm::one::EDAnalyzer
<> {
56
public
:
57
explicit
L1RCTSaveInput
(
const
edm::ParameterSet
&);
58
~L1RCTSaveInput
()
override
;
59
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
60
61
private
:
62
std::string
fileName
;
63
L1RCTLookupTables
*
rctLookupTables
;
64
L1RCT
*
rct
;
65
bool
useEcal
;
66
bool
useHcal
;
67
edm::EDGetTokenT<EcalTrigPrimDigiCollection>
ecalDigisToken_
;
68
edm::EDGetTokenT<HcalTrigPrimDigiCollection>
hcalDigisToken_
;
69
edm::ESGetToken<L1RCTParameters, L1RCTParametersRcd>
rctParametersToken_
;
70
edm::ESGetToken<L1RCTChannelMask, L1RCTChannelMaskRcd>
channelMaskToken_
;
71
edm::ESGetToken<L1CaloEtScale, L1EmEtScaleRcd>
emScaleToken_
;
72
edm::ESGetToken<CaloTPGTranscoder, CaloTPGRecord>
transcoderToken_
;
73
edm::ESGetToken<L1CaloHcalScale, L1CaloHcalScaleRcd>
hcalScaleToken_
;
74
edm::ESGetToken<L1CaloEcalScale, L1CaloEcalScaleRcd>
ecalScaleToken_
;
75
bool
useDebugTpgScales
;
76
std::ofstream
ofs
;
77
EcalTPGScale::Tokens
tokens_
;
78
};
L1CaloEtScale.h
L1RCTLookupTables
Definition:
L1RCTLookupTables.h:11
L1RCTSaveInput::tokens_
EcalTPGScale::Tokens tokens_
Definition:
L1RCTSaveInput.h:77
L1RCTSaveInput::useDebugTpgScales
bool useDebugTpgScales
Definition:
L1RCTSaveInput.h:75
L1RCTSaveInput::useHcal
bool useHcal
Definition:
L1RCTSaveInput.h:66
Event.h
L1CaloHcalScale.h
EventSetup.h
L1RCTSaveInput::hcalDigisToken_
edm::EDGetTokenT< HcalTrigPrimDigiCollection > hcalDigisToken_
Definition:
L1RCTSaveInput.h:68
L1RCTSaveInput::L1RCTSaveInput
L1RCTSaveInput(const edm::ParameterSet &)
Definition:
L1RCTSaveInput.cc:26
L1RCTSaveInput::rctLookupTables
L1RCTLookupTables * rctLookupTables
Definition:
L1RCTSaveInput.h:63
L1CaloEcalScaleRcd.h
L1CaloHcalScaleRcd.h
EcalTPGScale::Tokens
Definition:
EcalTPGScale.h:18
L1RCTSaveInput::ecalDigisToken_
edm::EDGetTokenT< EcalTrigPrimDigiCollection > ecalDigisToken_
Definition:
L1RCTSaveInput.h:67
CaloTPGTranscoder.h
edm::EDGetTokenT
Definition:
EDGetToken.h:37
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1RCTSaveInput::transcoderToken_
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > transcoderToken_
Definition:
L1RCTSaveInput.h:72
ParameterSet.h
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd >
L1RCTSaveInput::useEcal
bool useEcal
Definition:
L1RCTSaveInput.h:65
L1RCTSaveInput::rct
L1RCT * rct
Definition:
L1RCTSaveInput.h:64
L1RCTSaveInput
Definition:
L1RCTSaveInput.h:55
HcalDigiCollections.h
ESHandle.h
EcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:59
L1RCTSaveInput::fileName
std::string fileName
Definition:
L1RCTSaveInput.h:62
L1RCTSaveInput::ecalScaleToken_
edm::ESGetToken< L1CaloEcalScale, L1CaloEcalScaleRcd > ecalScaleToken_
Definition:
L1RCTSaveInput.h:74
L1RCTSaveInput::channelMaskToken_
edm::ESGetToken< L1RCTChannelMask, L1RCTChannelMaskRcd > channelMaskToken_
Definition:
L1RCTSaveInput.h:70
L1CaloEcalScale.h
L1RCTChannelMask.h
L1RCTSaveInput::ofs
std::ofstream ofs
Definition:
L1RCTSaveInput.h:76
EcalTPGScale.h
L1RCTSaveInput::hcalScaleToken_
edm::ESGetToken< L1CaloHcalScale, L1CaloHcalScaleRcd > hcalScaleToken_
Definition:
L1RCTSaveInput.h:73
L1RCTSaveInput::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1RCTSaveInput.cc:55
L1RCTChannelMaskRcd.h
L1RCTSaveInput::emScaleToken_
edm::ESGetToken< L1CaloEtScale, L1EmEtScaleRcd > emScaleToken_
Definition:
L1RCTSaveInput.h:71
EDAnalyzer.h
L1RCTParameters.h
L1RCTSaveInput::rctParametersToken_
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd > rctParametersToken_
Definition:
L1RCTSaveInput.h:69
edm::ParameterSet
Definition:
ParameterSet.h:47
L1RCT
Definition:
L1RCT.h:20
L1EmEtScaleRcd.h
edm::Event
Definition:
Event.h:73
MakerMacros.h
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
ESGetToken.h
L1RCTSaveInput::~L1RCTSaveInput
~L1RCTSaveInput() override
Definition:
L1RCTSaveInput.cc:48
L1RCTParametersRcd.h
Handle.h
CaloTPGRecord.h
Generated for CMSSW Reference Manual by
1.8.14