Main Page
Namespaces
Classes
Package Documentation
Calibration
Tools
interface
EcalIndexingTools.h
Go to the documentation of this file.
1
#ifndef EcalIndexingTools_h
2
#define EcalIndexingTools_h
3
4
#include <iostream>
5
/* ******************************************
6
* Alessandro Palma 19/03/2008
7
********************************************/
8
9
10
class
EcalIndexingTools
11
{
12
13
private
:
14
15
EcalIndexingTools
():
totNumberOfBins_
(-1),
nBinsEt_
(-1),
nBinsEta_
(-1),
maxEta_
(-1.),
maxEt_
(-1.),
minEta_
(-1.),
minEt_
(-1.){};
16
17
static
EcalIndexingTools
*
instance_
;
18
19
int
totNumberOfBins_
,
nBinsEt_
,
nBinsEta_
;
20
21
double
maxEta_
,
maxEt_
,
minEta_
,
minEt_
;
22
23
public
:
24
25
~EcalIndexingTools
() {};
26
27
static
EcalIndexingTools
*
getInstance
() {
28
if
(instance_ == 0 ){
29
instance_ =
new
EcalIndexingTools
();
30
31
std::cout
<<
"[EcalIndexingTools* getInstance ()] new EcalIndexingTools created "
<< std::endl;
32
33
}
34
return
instance_
;
35
}
36
37
38
int
getNumberOfChannels
(){
return
totNumberOfBins_
;};
39
40
double
getEtaMax
(){
return
maxEta_
;};
41
42
int
getProgressiveIndex
(
double
,
double
);
43
44
void
setBinRange
(
int
,
double
,
double
,
int
,
double
,
double
);
45
46
47
48
};
49
50
51
#endif
EcalIndexingTools::totNumberOfBins_
int totNumberOfBins_
Definition:
EcalIndexingTools.h:19
EcalIndexingTools::~EcalIndexingTools
~EcalIndexingTools()
Definition:
EcalIndexingTools.h:25
EcalIndexingTools::maxEt_
double maxEt_
Definition:
EcalIndexingTools.h:21
EcalIndexingTools::setBinRange
void setBinRange(int, double, double, int, double, double)
Definition:
EcalIndexingTools.cc:9
EcalIndexingTools::EcalIndexingTools
EcalIndexingTools()
Definition:
EcalIndexingTools.h:15
EcalIndexingTools::minEta_
double minEta_
Definition:
EcalIndexingTools.h:21
EcalIndexingTools::getEtaMax
double getEtaMax()
Definition:
EcalIndexingTools.h:40
EcalIndexingTools::instance_
static EcalIndexingTools * instance_
Definition:
EcalIndexingTools.h:15
EcalIndexingTools::getInstance
static EcalIndexingTools * getInstance()
Definition:
EcalIndexingTools.h:27
EcalIndexingTools::minEt_
double minEt_
Definition:
EcalIndexingTools.h:21
EcalIndexingTools
Definition:
EcalIndexingTools.h:10
EcalIndexingTools::getProgressiveIndex
int getProgressiveIndex(double, double)
Definition:
EcalIndexingTools.cc:30
EcalIndexingTools::nBinsEt_
int nBinsEt_
Definition:
EcalIndexingTools.h:19
gather_cfg.cout
cout
Definition:
gather_cfg.py:145
EcalIndexingTools::maxEta_
double maxEta_
Definition:
EcalIndexingTools.h:21
EcalIndexingTools::nBinsEta_
int nBinsEta_
Definition:
EcalIndexingTools.h:19
EcalIndexingTools::getNumberOfChannels
int getNumberOfChannels()
Definition:
EcalIndexingTools.h:38
Generated for CMSSW Reference Manual by
1.8.11