00001 #ifndef HITCLUSTER_H
00002 #define HITCLUSTER_H
00003
00004 #include "TObject.h"
00005 #include "RecoBase/PlaneCluster.h"
00006 #include <vector>
00007
00008 using namespace std;
00009 using namespace recobase;
00010
00011 namespace cluster {
00012
00013 class HitCluster
00014 {
00015
00016 public:
00017 HitCluster(){};
00018 ~HitCluster(){};
00019
00020 std::vector<PlaneCluster> MakeClusters(std::vector<const CellHit*> & cellhit);
00021 bool Fit3HitClust(PlaneCluster clust, std::vector<PlaneCluster>& newclust);
00022 bool FitClust(PlaneCluster clust, std::vector<PlaneCluster>& newclust);
00023 bool SortClust(std::vector<PlaneCluster>& newclust);
00024 void MakeHit(PlaneCluster& clust, CellHit &hit);
00025 };
00026
00027 }
00028
00029 #endif