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 
35 
36 #include "FWCore/Framework/interface/ESHandle.h" // why doesn't mkedanlzr
37 #include "FWCore/Framework/interface/EventSetup.h" // add these??
39 
40 class L1RCTLookupTables;
41 class L1RCTParameters;
42 // class L1RCTChannelMask;
43 
44 //
45 // class declaration
46 //
47 
49 public:
50  explicit L1RCTLutWriter(const edm::ParameterSet &);
51  ~L1RCTLutWriter() override;
52 
53 private:
54  void analyze(const edm::Event &, const edm::EventSetup &) override;
55  void endJob() override;
56  void writeRcLutFile(unsigned short card);
57  void writeEicLutFile(unsigned short card);
58  void writeJscLutFile();
59  void writeThresholdsFile(unsigned int eicThreshold, unsigned int jscThresholdBarrel, unsigned int jscThresholdEndcap);
60 
61  // ----------member data ---------------------------
62 
65  // const L1RCTChannelMask* channelMask_;
66  std::ofstream lutFile_;
69 };
70 #endif
L1RCTLutWriter::L1RCTLutWriter
L1RCTLutWriter(const edm::ParameterSet &)
Definition: L1RCTLutWriter.cc:37
ESHandle.h
L1RCTLutWriter::writeRcLutFile
void writeRcLutFile(unsigned short card)
Definition: L1RCTLutWriter.cc:214
L1RCTLutWriter::lookupTable_
L1RCTLookupTables * lookupTable_
Definition: L1RCTLutWriter.h:63
L1RCTLutWriter::useDebugTpgScales_
bool useDebugTpgScales_
Definition: L1RCTLutWriter.h:68
L1RCTLutWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1RCTLutWriter.cc:57
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
MakerMacros.h
L1RCTLutWriter::endJob
void endJob() override
Definition: L1RCTLutWriter.cc:211
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1RCTLookupTables
Definition: L1RCTLookupTables.h:11
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
L1RCTLutWriter::writeThresholdsFile
void writeThresholdsFile(unsigned int eicThreshold, unsigned int jscThresholdBarrel, unsigned int jscThresholdEndcap)
Definition: L1RCTLutWriter.cc:404
L1RCTLutWriter::keyName_
std::string keyName_
Definition: L1RCTLutWriter.h:67
edm::EventSetup
Definition: EventSetup.h:57
L1RCTLutWriter::writeJscLutFile
void writeJscLutFile()
Definition: L1RCTLutWriter.cc:343
L1RCTLutWriter
Definition: L1RCTLutWriter.h:48
L1RCTLutWriter::lutFile_
std::ofstream lutFile_
Definition: L1RCTLutWriter.h:66
Frameworkfwd.h
L1RCTLutWriter::writeEicLutFile
void writeEicLutFile(unsigned short card)
Definition: L1RCTLutWriter.cc:304
EventSetup.h
L1RCTParameters
Definition: L1RCTParameters.h:27
L1RCTLutWriter::~L1RCTLutWriter
~L1RCTLutWriter() override
Definition: L1RCTLutWriter.cc:44
L1RCTLutWriter::rctParameters_
const L1RCTParameters * rctParameters_
Definition: L1RCTLutWriter.h:64
ParameterSet.h
edm::Event
Definition: Event.h:73