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 <string.h>
10
#include "
CaloOnlineTools/HcalOnlineDb/interface/HCALConfigDB.h
"
11
20
class
HcalChannelId
{
21
22
public
:
23
24
HcalChannelId
(){};
25
~HcalChannelId
(){};
26
27
int
eta
,
phi
,
depth
;
28
std::string
subdetector
;
29
30
bool
operator<
(
const
HcalChannelId
&
other
)
const
;
31
32
};
33
34
class
HcalQIECaps
{
35
36
public
:
37
38
HcalQIECaps
(){};
39
~HcalQIECaps
(){};
40
41
// cap0 offset x 4, cap1 offset x 4...
42
// cap0 slope x 4, cap1 slope x 4...
43
double
caps[32];
44
};
45
46
class
HcalQIEManager
{
47
public
:
48
49
HcalQIEManager
( );
50
~
HcalQIEManager
( );
51
52
std::map<HcalChannelId,HcalQIECaps> & getQIETableFromFile(
std::string
_filename );
53
void
getTableFromDb(
std::string
query_file,
std::string
output_file );
54
int
generateQieTable(
std::string
db_file,
std::string
old_file,
std::string
output_file );
55
int
getHfQieTable(
std::string
input_file,
std::string
output_file );
56
57
static
std::vector <std::string>
splitString
(
const
std::string
& fLine);
58
59
protected
:
60
61
62
};
63
#endif
HcalChannelId::HcalChannelId
HcalChannelId()
Definition:
HcalQIEManager.h:24
HCALConfigDB.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HcalChannelId::depth
int depth
Definition:
HcalQIEManager.h:25
splitString
std::vector< std::string > splitString(const std::string &fLine)
Definition:
HcalDbASCIIIO.cc:54
HcalChannelId
Definition:
HcalQIEManager.h:20
trackingPlots.other
other
Definition:
trackingPlots.py:1136
HcalChannelId::operator<
bool operator<(const HcalChannelId &other) const
Definition:
HcalQIEManager.cc:36
HcalChannelId::subdetector
std::string subdetector
Definition:
HcalQIEManager.h:28
HcalQIEManager
Various manipulations with QIE and QIE ADC.
Definition:
HcalQIEManager.h:46
HcalQIECaps::HcalQIECaps
HcalQIECaps()
Definition:
HcalQIEManager.h:38
HcalQIECaps::~HcalQIECaps
~HcalQIECaps()
Definition:
HcalQIEManager.h:39
HcalChannelId::eta
int eta
Definition:
HcalQIEManager.h:25
HcalChannelId::~HcalChannelId
~HcalChannelId()
Definition:
HcalQIEManager.h:25
HcalQIECaps
Definition:
HcalQIEManager.h:34
HcalChannelId::phi
int phi
Definition:
HcalQIEManager.h:25
Generated for CMSSW Reference Manual by
1.8.11