StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEtwHitDst.h
1 // \class EEtwHitDst
2 // \author Piotr A. Zolnierczuk, Aug 2002
3 #ifndef EEtwHitDst_h
4 #define EEtwHitDst_h
5 /*********************************************************************
6  * $Id: EEtwHitDst.h,v 1.2 2003/02/20 05:15:15 balewski Exp $
7  *********************************************************************
8  * Descripion:
9  * STAR Endcap Electromagnetic Calorimeter Raw Hits
10  *********************************************************************
11  * $Log: EEtwHitDst.h,v $
12  * Revision 1.2 2003/02/20 05:15:15 balewski
13  * reorganization
14  *
15  * Revision 1.1 2003/01/28 23:16:07 balewski
16  * start
17  *
18  * Revision 1.5 2002/11/11 21:22:48 balewski
19  * EEMC added to StEvent
20  *
21  * Revision 1.4 2002/10/01 06:03:16 balewski
22  * added smd & pre2 to TTree, tof removed
23  *
24  * Revision 1.3 2002/09/25 16:47:56 balewski
25  * cleanup , cut in geant time for twoer-like detectors
26  *
27  * Revision 1.2 2002/09/20 21:58:13 balewski
28  * sum of MC hits over activ detectors
29  * produce total tower energy with weight 1 1 1 1
30  *
31  * Revision 1.1.1.1 2002/09/19 18:58:54 zolnie
32  * Imported sources
33  *
34  * Revision 1.1.1.1 2002/08/29 19:32:01 zolnie
35  * imported sources
36  *
37  * Revision 1.2 2002/08/28 01:44:03 zolnie
38  * version alpha - 2
39  *
40  * Revision 1.1 2002/08/26 19:46:19 zolnie
41  * Initial revision
42  *
43  *********************************************************************/
44 #include "TObject.h"
45 
46 
47 class EEtwHitDst : public TObject {
48  private:
49  Float_t mEnergy; // GeV
50  char mSubSec; // 'A' - 'E'
51  char mEta ; // 1 - 12 stored as int
52 
53 public:
54  EEtwHitDst();
55 
56  virtual ~EEtwHitDst();
57 
58  Float_t energy() const { return mEnergy; }
59  Int_t eta() const { return mEta; }
60  Int_t sub() const { return mSubSec; }
61  void set( char, int, Float_t e);
62  void get( char &sub, int &eta, Float_t &e);
63  void print();
64 
65  ClassDef(EEtwHitDst,1) // Endcap Emc event
66 };
67 #endif
68