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 //
16 //
17 // Original Author: jleonard
18 // Created: Fri Apr 11 16:27:07 CEST 2008
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 #include <iostream>
27 #include <fstream>
28 
29 // user include files
32 
35 
37 #include "FWCore/Framework/interface/ESHandle.h" // why doesn't mkedanlzr
38 #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&);
52 
53 
54 private:
55  virtual void analyze(const edm::Event&, const edm::EventSetup&);
56  virtual void endJob() ;
57  void writeRcLutFile(unsigned short card);
58  void writeEicLutFile(unsigned short card);
59  void writeJscLutFile();
60  void writeThresholdsFile(unsigned int eicThreshold,
61  unsigned int jscThresholdBarrel,
62  unsigned int jscThresholdEndcap);
63 
64  // ----------member data ---------------------------
65 
68  //const L1RCTChannelMask* channelMask_;
69  std::ofstream lutFile_;
72 
73 };
74 #endif
const L1RCTParameters * rctParameters_
L1RCTLutWriter(const edm::ParameterSet &)
void writeRcLutFile(unsigned short card)
L1RCTLookupTables * lookupTable_
std::string keyName_
void writeThresholdsFile(unsigned int eicThreshold, unsigned int jscThresholdBarrel, unsigned int jscThresholdEndcap)
virtual void endJob()
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::ofstream lutFile_
void writeEicLutFile(unsigned short card)