StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtSimpleClusterAlgo.h
1 // $Id: StFgtSimpleClusterAlgo.h,v 1.10 2013/02/19 18:24:04 avossen Exp $
3 // $Log: StFgtSimpleClusterAlgo.h,v $
4 // Revision 1.10 2013/02/19 18:24:04 avossen
5 // *** empty log message ***
6 //
7 // Revision 1.9 2012/03/08 17:43:40 avossen
8 // added default cluster algo, made StFgtIClusterAlgo destructor =0
9 //
10 // Revision 1.8 2012/03/07 03:57:23 avossen
11 // various updates
12 //
13 // Revision 1.7 2012/02/28 19:32:25 avossen
14 // many changes to enable new clustering algo: New strip fields, identification of seed strips, passing neighboring strips, new order in strip collections
15 //
16 // Revision 1.6 2011/11/01 18:46:30 sgliske
17 // Updated to correspond with StEvent containers, take 2.
18 //
19 // Revision 1.5 2011/10/10 20:35:08 avossen
20 // fixed strip-cluster association in MaxCluster algo, made other files cvs compliant
21 //
22 //
23 // \author Anselm Vossen (avossen@indiana.edu)
24 // \class StFgtSimpleClusterAlgo
25 //
26 // Simple Clustering algorithm taking the hits from the StFgtEvent and adding Clusters
27 //
28 //
29 //
30 
31 
32 #ifndef STAR_StFgtSimpleClusterAlgo_HH
33 #define STAR_StFgtSimpleClusterAlgo_HH
34 
35 #include "StFgtIClusterAlgo.h"
45 {
46 
47  public:
50  virtual Int_t doClustering(const StFgtCollection& fgtCollection, StFgtStripCollection& strips, StFgtHitCollection& clusters );
51  virtual Int_t Init();
52  virtual ~StFgtSimpleClusterAlgo();
53  protected:
55  // Bool_t checkPulse(StFgtHit* pClus);
56 
57 
58  private:
59  ClassDef(StFgtSimpleClusterAlgo,1);
60 };
61 
62 
63 #endif
virtual Int_t doClustering(const StFgtCollection &fgtCollection, StFgtStripCollection &strips, StFgtHitCollection &clusters)
the main function, using a collection of strips tht fired to build clusters of neighbouring strips ...