StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEtower.h
1 // \class EEtower
2 // \author Jan Balewski
3 #ifndef EEtower_h
4 #define EEtower_h
5 /*********************************************************************
6  * $Id: EEtower.h,v 1.3 2009/02/04 20:33:21 ogrebeny Exp $
7  *********************************************************************
8  * Descripion:
9  * finds pi0 based on EEMC tower response
10  *********************************************************************/
11 
12 class EEmcGeomSimple;
13 class TVector3;
14 class TH1F ;
15 class EEmcDbItem;
16 
18 #include "StEEmcUtil/EEfeeRaw/EEdims.h"
19 #include "TString.h"
20 
22 #ifdef StRootFREE
23  class EEmcDb;
24  typedef EEmcDb EEDB;
25 #else
26  class StEEmcDb;
27  typedef StEEmcDb EEDB;
28 #endif
29 
30 
31 class EEtower {
32 
33  private:
34 
35  EEmcGeomSimple *geom;
36  float th1,th2;
37 
38  TH1F *hA[32]; // some histograms
39 
40  protected:
41  // only this variables cna be altered by extrenal classes
42  int nInpEve;
43 
45  float towerE[MaxEtaBins][MaxPhiBins];
46 
47  void clear();
48  void task1();
49  EEDB *eeDb;
50  TObjArray *HList;
51 
52  public:
53 
54  EEtower();
55  virtual ~EEtower();
56  void print();
57  void finish();
58 
59  void init();
60  void setThres(float a, float b ){ th1=a; th2=b;}
61  void saveHisto(TString fname="fixMe3");
62 
63  ClassDef(EEtower,1)
64 };
65 #endif
66 
67 /* fix in St-code
68 1) clear soloMipDb[MxTw] in InitRun
69 
70 */
71 
72 
73 
74 /*****************************************************************
75  * $Log: EEtower.h,v $
76  * Revision 1.3 2009/02/04 20:33:21 ogrebeny
77  * Moved the EEMC database functionality from StEEmcDbMaker to StEEmcUtil/database. See ticket http://www.star.bnl.gov/rt2/Ticket/Display.html?id=1388
78  *
79  * Revision 1.2 2007/07/12 19:27:19 fisyak
80  * Add includes for TMath for ROOT 5.16
81  *
82  * Revision 1.1 2004/06/06 04:54:10 balewski
83  * dual analyzis
84  *
85  *
86  ********************************************************************/
87 
float towerE[MaxEtaBins][MaxPhiBins]
no. of input events
Definition: EEtower.h:45
EEMC simple geometry.
TObjArray * HList
DB access point.
Definition: EEtower.h:50
EEtower()
output histo access point
Definition: EEtower.cxx:17