CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: L1RCTLutWriter.h,v 1.5 2010/08/07 14:55:58 wmtan Exp $
20 //
21 //
22 
23 
24 // system include files
25 #include <memory>
26 
27 #include <iostream>
28 #include <fstream>
29 
30 // user include files
33 
36 
38 #include "FWCore/Framework/interface/ESHandle.h" // why doesn't mkedanlzr
39 #include "FWCore/Framework/interface/EventSetup.h" // add these??
40 
41 class L1RCTLookupTables;
42 class L1RCTParameters;
43 //class L1RCTChannelMask;
44 
45 //
46 // class declaration
47 //
48 
50 public:
51  explicit L1RCTLutWriter(const edm::ParameterSet&);
53 
54 
55 private:
56  virtual void analyze(const edm::Event&, const edm::EventSetup&);
57  virtual void endJob() ;
58  void writeRcLutFile(unsigned short card);
59  void writeEicLutFile(unsigned short card);
60  void writeJscLutFile();
61  void writeThresholdsFile(unsigned int eicThreshold,
62  unsigned int jscThresholdBarrel,
63  unsigned int jscThresholdEndcap);
64 
65  // ----------member data ---------------------------
66 
69  //const L1RCTChannelMask* channelMask_;
70  std::ofstream lutFile_;
71  std::string keyName_;
73 
74 };
75 #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)