CMS 3D CMS Logo

L1RCTLutWriter.h
Go to the documentation of this file.
1 #ifndef L1RCTLutWriter_h
2 #define L1RCTLutWriter_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1RCTLutWriter
7 // Class: L1RCTLutWriter
8 //
17 //
18 // Original Author: jleonard
19 // Created: Fri Apr 11 16:27:07 CEST 2008
20 //
21 //
22 
23 // system include files
24 #include <memory>
25 
26 #include <fstream>
27 #include <iostream>
28 
29 // user include files
32 
36 
37 #include "FWCore/Framework/interface/ESHandle.h" // why doesn't mkedanlzr
38 #include "FWCore/Framework/interface/EventSetup.h" // add these??
51 class L1RCTLookupTables;
52 class L1RCTParameters;
53 // class L1RCTChannelMask;
54 
55 //
56 // class declaration
57 //
58 
60 public:
61  explicit L1RCTLutWriter(const edm::ParameterSet &);
62  ~L1RCTLutWriter() override;
63 
64 private:
65  void analyze(const edm::Event &, const edm::EventSetup &) override;
66  void endJob() override;
67  void writeRcLutFile(unsigned short card);
68  void writeEicLutFile(unsigned short card);
69  void writeJscLutFile();
70  void writeThresholdsFile(unsigned int eicThreshold, unsigned int jscThresholdBarrel, unsigned int jscThresholdEndcap);
71 
72  // ----------member data ---------------------------
73 
76  // const L1RCTChannelMask* channelMask_;
77  std::ofstream lutFile_;
86 };
87 #endif
L1EmEtScaleRcd.h
L1RCTParameters.h
L1RCTLutWriter::L1RCTLutWriter
L1RCTLutWriter(const edm::ParameterSet &)
Definition: L1RCTLutWriter.cc:37
ESHandle.h
L1RCTLutWriter::writeRcLutFile
void writeRcLutFile(unsigned short card)
Definition: L1RCTLutWriter.cc:212
EcalTPGScale::Tokens
Definition: EcalTPGScale.h:18
L1RCTLutWriter::lookupTable_
L1RCTLookupTables * lookupTable_
Definition: L1RCTLutWriter.h:74
L1RCTLutWriter::useDebugTpgScales_
bool useDebugTpgScales_
Definition: L1RCTLutWriter.h:84
L1RCTLutWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1RCTLutWriter.cc:63
EDAnalyzer.h
CaloTPGTranscoder.h
ESGetToken.h
L1CaloHcalScale.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
MakerMacros.h
L1RCTLutWriter::tokens_
EcalTPGScale::Tokens tokens_
Definition: L1RCTLutWriter.h:85
L1RCTLutWriter::hcalScaleToken_
edm::ESGetToken< L1CaloHcalScale, L1CaloHcalScaleRcd > hcalScaleToken_
Definition: L1RCTLutWriter.h:82
L1RCTLutWriter::endJob
void endJob() override
Definition: L1RCTLutWriter.cc:209
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1RCTLutWriter::transcoderToken_
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > transcoderToken_
Definition: L1RCTLutWriter.h:81
L1RCTLookupTables
Definition: L1RCTLookupTables.h:11
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
L1RCTLutWriter::writeThresholdsFile
void writeThresholdsFile(unsigned int eicThreshold, unsigned int jscThresholdBarrel, unsigned int jscThresholdEndcap)
Definition: L1RCTLutWriter.cc:402
L1RCTLutWriter::emScaleToken_
edm::ESGetToken< L1CaloEtScale, L1EmEtScaleRcd > emScaleToken_
Definition: L1RCTLutWriter.h:80
L1RCTLutWriter::keyName_
std::string keyName_
Definition: L1RCTLutWriter.h:78
edm::EventSetup
Definition: EventSetup.h:57
L1RCTLutWriter::writeJscLutFile
void writeJscLutFile()
Definition: L1RCTLutWriter.cc:341
CaloTPGRecord.h
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd >
L1RCTLutWriter
Definition: L1RCTLutWriter.h:59
L1CaloEtScale.h
L1CaloEcalScaleRcd.h
L1CaloHcalScaleRcd.h
L1RCTLutWriter::lutFile_
std::ofstream lutFile_
Definition: L1RCTLutWriter.h:77
L1CaloEcalScale.h
Frameworkfwd.h
L1RCTLutWriter::writeEicLutFile
void writeEicLutFile(unsigned short card)
Definition: L1RCTLutWriter.cc:302
EventSetup.h
L1RCTParameters
Definition: L1RCTParameters.h:27
L1RCTParametersRcd.h
L1RCTLutWriter::~L1RCTLutWriter
~L1RCTLutWriter() override
Definition: L1RCTLutWriter.cc:50
L1RCTLutWriter::rctParameters_
const L1RCTParameters * rctParameters_
Definition: L1RCTLutWriter.h:75
ParameterSet.h
edm::Event
Definition: Event.h:73
L1RCTLutWriter::ecalScaleToken_
edm::ESGetToken< L1CaloEcalScale, L1CaloEcalScaleRcd > ecalScaleToken_
Definition: L1RCTLutWriter.h:83
EcalTPGScale.h
L1RCTLutWriter::rctParametersToken_
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd > rctParametersToken_
Definition: L1RCTLutWriter.h:79