StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcTowerClusterFinder.h
1 
8 #ifndef _ST_TOWER_CLUSTER_FINDER_H_
9 #define _ST_TOWER_CLUSTER_FINDER_H_
10 
11 #include <Rtypes.h>
12 
13 #include "StRoot/StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
14 
15 #include "StSimpleCluster.h"
16 
17 #include "StFinderAlg.h"
18 
19 class ETowEnergy_t;
20 
21 // global (ugh!) variable
22 // number of towers (equals 720)
23 const Int_t kEEmcNumTowers = kEEmcNumSectors*kEEmcNumSubSectors*kEEmcNumEtas;
24 
26 
27  public:
29  virtual ~StEEmcTowerClusterFinder_t() { /* */ };
30 
32  virtual void clear() = 0;
33 
35  virtual Int_t find( ETowEnergy_t& towEnergy, StSimpleClusterVec_t& cluster ) = 0;
36 
37  private:
38  ClassDef( StEEmcTowerClusterFinder_t, 1 );
39 
40 };
41 
42 #endif
43 
44 /*
45  * $Id: StEEmcTowerClusterFinder.h,v 1.1 2012/11/26 19:05:55 sgliske Exp $
46  * $Log: StEEmcTowerClusterFinder.h,v $
47  * Revision 1.1 2012/11/26 19:05:55 sgliske
48  * moved from offline/users/sgliske/StRoot/StEEmcPool/StEEmcHitMaker to StRoot/StEEmcPool/StEEmcHitMaker
49  *
50  *
51  */
virtual Int_t find(ETowEnergy_t &towEnergy, StSimpleClusterVec_t &cluster)=0
find some clusters
virtual void clear()=0
clear things before doing the finding for the next event