Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: $
10
11
class
EcalIndexingTools
12
{
13
14
private
:
15
16
EcalIndexingTools
():
totNumberOfBins_
(-1),
nBinsEt_
(-1),
nBinsEta_
(-1),
maxEta_
(-1.),
maxEt_
(-1.),
minEta_
(-1.),
minEt_
(-1.){};
17
18
static
EcalIndexingTools
*
instance_
;
19
20
int
totNumberOfBins_
,
nBinsEt_
,
nBinsEta_
;
21
22
double
maxEta_
,
maxEt_
,
minEta_
,
minEt_
;
23
24
public
:
25
26
~EcalIndexingTools
() {};
27
28
static
EcalIndexingTools
*
getInstance
() {
29
if
(
instance_
== 0 ){
30
instance_
=
new
EcalIndexingTools
();
31
32
std::cout
<<
"[EcalIndexingTools* getInstance ()] new EcalIndexingTools created "
<< std::endl;
33
34
}
35
return
instance_
;
36
}
37
38
39
int
getNumberOfChannels
(){
return
totNumberOfBins_
;};
40
41
double
getEtaMax
(){
return
maxEta_
;};
42
43
int
getProgressiveIndex
(
double
,
double
);
44
45
void
setBinRange
(
int
,
double
,
double
,
int
,
double
,
double
);
46
47
48
49
};
50
51
52
#endif
EcalIndexingTools::totNumberOfBins_
int totNumberOfBins_
Definition:
EcalIndexingTools.h:20
EcalIndexingTools::~EcalIndexingTools
~EcalIndexingTools()
Definition:
EcalIndexingTools.h:26
EcalIndexingTools::maxEt_
double maxEt_
Definition:
EcalIndexingTools.h:22
EcalIndexingTools::setBinRange
void setBinRange(int, double, double, int, double, double)
Definition:
EcalIndexingTools.cc:9
EcalIndexingTools::EcalIndexingTools
EcalIndexingTools()
Definition:
EcalIndexingTools.h:16
EcalIndexingTools::minEta_
double minEta_
Definition:
EcalIndexingTools.h:22
EcalIndexingTools::getEtaMax
double getEtaMax()
Definition:
EcalIndexingTools.h:41
EcalIndexingTools::instance_
static EcalIndexingTools * instance_
Definition:
EcalIndexingTools.h:16
EcalIndexingTools::getInstance
static EcalIndexingTools * getInstance()
Definition:
EcalIndexingTools.h:28
EcalIndexingTools::minEt_
double minEt_
Definition:
EcalIndexingTools.h:22
EcalIndexingTools
Definition:
EcalIndexingTools.h:11
EcalIndexingTools::getProgressiveIndex
int getProgressiveIndex(double, double)
Definition:
EcalIndexingTools.cc:30
EcalIndexingTools::nBinsEt_
int nBinsEt_
Definition:
EcalIndexingTools.h:20
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:41
EcalIndexingTools::maxEta_
double maxEta_
Definition:
EcalIndexingTools.h:22
EcalIndexingTools::nBinsEta_
int nBinsEta_
Definition:
EcalIndexingTools.h:20
EcalIndexingTools::getNumberOfChannels
int getNumberOfChannels()
Definition:
EcalIndexingTools.h:39
Generated for CMSSW Reference Manual by
1.8.5