CMS 3D CMS Logo

HcalQIEManager.h
Go to the documentation of this file.
1 //
2 // Gena Kukartsev (Brown), Feb. 22, 2008
3 //
4 //
5 #ifndef HcalQIEManager_h
6 #define HcalQIEManager_h
7 
8 #include <iostream>
9 #include <cstring>
11 
21 public:
24 
25  int eta, phi, depth;
27 
28  bool operator<(const HcalChannelId& other) const;
29 };
30 
31 class HcalQIECaps {
32 public:
35 
36  // cap0 offset x 4, cap1 offset x 4...
37  // cap0 slope x 4, cap1 slope x 4...
38  double caps[32];
39 };
40 
42 public:
45 
46  std::map<HcalChannelId, HcalQIECaps>& getQIETableFromFile(std::string _filename);
50 
51  static std::vector<std::string> splitString(const std::string& fLine);
52 
53 protected:
54 };
55 #endif
double caps[32]
int generateQieTable(std::string db_file, std::string old_file, std::string output_file)
bool operator<(const HcalChannelId &other) const
static std::vector< std::string > splitString(const std::string &fLine)
std::string subdetector
Various manipulations with QIE and QIE ADC.
std::map< HcalChannelId, HcalQIECaps > & getQIETableFromFile(std::string _filename)
void getTableFromDb(std::string query_file, std::string output_file)
int getHfQieTable(std::string input_file, std::string output_file)