StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtHybridCluster.hh
1 /***************************************************************************
2  *
3  * $Id: StSvtHybridCluster.hh,v 1.2 2003/09/02 17:59:07 perev Exp $
4  *
5  * Author:
6  ***************************************************************************
7  *
8  * Description: Hybrid Cluster Class
9  *
10  ***************************************************************************
11  *
12  * $Log: StSvtHybridCluster.hh,v $
13  * Revision 1.2 2003/09/02 17:59:07 perev
14  * gcc 3.2 updates + WarnOff
15  *
16  * Revision 1.1 2000/07/06 03:50:34 caines
17  * First version of cluster finder and fitter
18  *
19  **************************************************************************/
20 
21 #ifndef STSVTHYBRIDCLUSTER_HH
22 #define STSVTHYBRIDCLUSTER_HH
23 
24 #include <Stiostream.h>
25 #include "StSvtClusterFinder.hh"
26 
27 typedef struct StSvtClusterMemberInfo
28  {
29  int listAnode;
30  int actualAnode; //actual anode number
31  int seq;
32 
34 
35 #include "StSvtClassLibrary/StSvtHybridObject.hh"
36 
37 class StSvtHybridCluster:public StSvtHybridObject //StSvtHybridObject inherits from TObject
38 {
39  public:
43 
44  int setCluster(StSvtClusterFinder* cluFinder);
45  int getNumberOfClusters();
46  int getNumberOfMembers(int clu);
47  int getCluMemInfo(int clu, int &numOfMem, StSvtClusterMemberInfo** memInfo);
48 
49  StSvtClusterMemberInfo* getCluMemInfo(int clu);
50 
51  private:
52  int numberOfClusters;
53  int* numberOfMembers;
54  StSvtClusterMemberInfo** memberInfo;
55 
56  ClassDef(StSvtHybridCluster,1)
57 
58 };
59 
60 #endif