Main Page
Namespaces
Classes
Package Documentation
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
HcalChannelId::HcalChannelId
HcalChannelId()
Definition:
HcalQIEManager.h:22
HCALConfigDB.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalChannelId::depth
int depth
Definition:
HcalQIEManager.h:23
splitString
std::vector< std::string > splitString(const std::string &fLine)
Definition:
HcalDbASCIIIO.cc:58
HcalChannelId
Definition:
HcalQIEManager.h:20
electronStore.output_file
output_file
Definition:
electronStore.py:119
trackingPlots.other
other
Definition:
trackingPlots.py:1455
HcalChannelId::operator<
bool operator<(const HcalChannelId &other) const
Definition:
HcalQIEManager.cc:26
HcalChannelId::subdetector
std::string subdetector
Definition:
HcalQIEManager.h:26
HcalQIEManager
Various manipulations with QIE and QIE ADC.
Definition:
HcalQIEManager.h:41
HcalQIECaps::HcalQIECaps
HcalQIECaps()
Definition:
HcalQIEManager.h:33
HcalQIECaps::~HcalQIECaps
~HcalQIECaps()
Definition:
HcalQIEManager.h:34
HcalChannelId::eta
int eta
Definition:
HcalQIEManager.h:23
HcalChannelId::~HcalChannelId
~HcalChannelId()
Definition:
HcalQIEManager.h:23
HcalQIECaps
Definition:
HcalQIEManager.h:31
HcalChannelId::phi
int phi
Definition:
HcalQIEManager.h:23
Generated for CMSSW Reference Manual by
1.8.11