StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEmcSmdCluster.h
1 /*
2  * Created by S. Gliske, May 2012
3  *
4  * Description: Container used in the EEmcAnalysisTree. Note: this
5  * class does not explicitly depend on the STAR framework, and so the
6  * trees can be read outside of the STAR framework. Note: data
7  * members are all public, to allow a lighter weight implementation.
8  *
9  */
10 
11 #ifndef EEmcSmdCluster_H_
12 #define EEmcSmdCluster_H_
13 
14 #include <Rtypes.h>
15 #include <TObject.h>
16 #include <TArrayS.h>
17 #include <TArrayF.h>
18 
19 class EEmcSmdCluster_t : public TObject {
20  public:
22  virtual ~EEmcSmdCluster_t(){ /* */ };
23  void Clear( const Option_t* );
24 
25  Float_t meanPos;
26  Float_t width;
27  Float_t energy;
28 
29  Short_t sector;
30  Bool_t inLayerV;
31 
32  enum constant_t { kMaxClusterSize = 25 };
33 
34  // to save the weights of the strips associated with the clusters.
35  Short_t seedStripIdx; // in [0-287]
36  Short_t numUsedStrips; // in [0-kMaxClusterSize]
37  Short_t usedStripIdx[kMaxClusterSize]; // each element in [0-287]
38  Float_t usedStripWeight[kMaxClusterSize]; // each element in [0-1]
39 
40  private:
41  ClassDef( EEmcSmdCluster_t, 3 );
42 };
43 
44 #endif
45 
46 /*
47  * $Id: EEmcSmdCluster.h,v 1.1 2012/11/26 19:04:30 sgliske Exp $
48  * $Log: EEmcSmdCluster.h,v $
49  * Revision 1.1 2012/11/26 19:04:30 sgliske
50  * moved from offline/users/sgliske/StRoot/StEEmcPool/EEmcTreeContainers to StRoot/StEEmcPool/EEmcTreeContainers
51  *
52  *
53  */