CaloOnlineTools
HcalOnlineDb
interface
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>
10
#include "
CaloOnlineTools/HcalOnlineDb/interface/HCALConfigDB.h
"
11
20
class
HcalChannelId
{
21
public
:
22
HcalChannelId
(){};
23
~HcalChannelId
(){};
24
25
int
eta
,
phi
,
depth
;
26
std::string
subdetector
;
27
28
bool
operator<
(
const
HcalChannelId
&
other
)
const
;
29
};
30
31
class
HcalQIECaps
{
32
public
:
33
HcalQIECaps
(){};
34
~HcalQIECaps
(){};
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
41
class
HcalQIEManager
{
42
public
:
43
HcalQIEManager
();
44
~HcalQIEManager
();
45
46
std::map<HcalChannelId, HcalQIECaps>&
getQIETableFromFile
(
std::string
_filename);
47
void
getTableFromDb
(
std::string
query_file,
std::string
output_file
);
48
int
generateQieTable
(
std::string
db_file,
std::string
old_file,
std::string
output_file
);
49
int
getHfQieTable
(
std::string
input_file,
std::string
output_file
);
50
51
static
std::vector<std::string>
splitString
(
const
std::string
& fLine);
52
53
protected
:
54
};
55
#endif
HcalQIECaps
Definition:
HcalQIEManager.h:31
HcalQIEManager::getHfQieTable
int getHfQieTable(std::string input_file, std::string output_file)
Definition:
HcalQIEManager.cc:278
HcalQIEManager::HcalQIEManager
HcalQIEManager()
Definition:
HcalQIEManager.cc:22
HCALConfigDB.h
HcalChannelId::operator<
bool operator<(const HcalChannelId &other) const
Definition:
HcalQIEManager.cc:26
HcalQIEManager
Various manipulations with QIE and QIE ADC.
Definition:
HcalQIEManager.h:41
HcalChannelId::eta
int eta
Definition:
HcalQIEManager.h:23
HcalQIECaps::caps
double caps[32]
Definition:
HcalQIEManager.h:34
HcalChannelId
Definition:
HcalQIEManager.h:20
HcalChannelId::phi
int phi
Definition:
HcalQIEManager.h:23
HcalChannelId::HcalChannelId
HcalChannelId()
Definition:
HcalQIEManager.h:22
trackingPlots.other
other
Definition:
trackingPlots.py:1467
electronStore.output_file
output_file
Definition:
electronStore.py:119
HcalQIEManager::splitString
static std::vector< std::string > splitString(const std::string &fLine)
Definition:
HcalQIEManager.cc:96
HcalQIEManager::generateQieTable
int generateQieTable(std::string db_file, std::string old_file, std::string output_file)
Definition:
HcalQIEManager.cc:211
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalChannelId::subdetector
std::string subdetector
Definition:
HcalQIEManager.h:26
HcalQIECaps::~HcalQIECaps
~HcalQIECaps()
Definition:
HcalQIEManager.h:34
HcalChannelId::~HcalChannelId
~HcalChannelId()
Definition:
HcalQIEManager.h:23
HcalQIECaps::HcalQIECaps
HcalQIECaps()
Definition:
HcalQIEManager.h:33
HcalQIEManager::~HcalQIEManager
~HcalQIEManager()
Definition:
HcalQIEManager.cc:24
HcalQIEManager::getQIETableFromFile
std::map< HcalChannelId, HcalQIECaps > & getQIETableFromFile(std::string _filename)
Definition:
HcalQIEManager.cc:54
HcalChannelId::depth
int depth
Definition:
HcalQIEManager.h:23
HcalQIEManager::getTableFromDb
void getTableFromDb(std::string query_file, std::string output_file)
Definition:
HcalQIEManager.cc:116
Generated for CMSSW Reference Manual by
1.8.16