CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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: EcalIndexingTools.h,v 1.1 2008/04/28 16:59:17 palmale Exp $
10 
12 {
13 
14  private:
15 
16  EcalIndexingTools():totNumberOfBins_(-1), nBinsEt_(-1), nBinsEta_(-1), maxEta_(-1.), maxEt_(-1.), minEta_(-1.), minEt_(-1.){};
17 
19 
21 
23 
24  public:
25 
27 
29  if (instance_ == 0 ){
31 
32  std::cout<< "[EcalIndexingTools* getInstance ()] new EcalIndexingTools created "<< std::endl;
33 
34  }
35  return instance_;
36  }
37 
38 
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
void setBinRange(int, double, double, int, double, double)
static EcalIndexingTools * instance_
static EcalIndexingTools * getInstance()
int getProgressiveIndex(double, double)
tuple cout
Definition: gather_cfg.py:121