00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef CELLLISTKG_H
00013 #define CELLLISTKG_H
00014
00015
00016 #ifndef ROOT_Rtypes
00017 #if !defined(__CINT__) || defined(__MAKECINT__)
00018 #include "Rtypes.h"
00019 #endif
00020 #endif
00021
00022 #include <vector>
00023 #include <iostream>
00024 #include "Cluster3D/StripListKG.h"
00025 #include "Cluster3D/CellKG.h"
00026
00027 class CandSliceHandle;
00028 class UgliGeomHandle;
00029 class AlgConfig;
00030
00031 class CellListKG {
00032
00033 public:
00034 CellListKG();
00035 virtual ~CellListKG() {};
00036 void GetCells(std::vector<CellKG> &allcell) const;
00037 Bool_t IsNeighbour(Int_t index1, Int_t index2, Int_t plnDistInp, Int_t stpDistInp);
00038 void CreateCells(AlgConfig &ac, StripListKG &v);
00039 UInt_t GetNCells() const;
00040 Int_t GetCellIndex(UInt_t index) const;
00041 Int_t GetCellPlane(UInt_t index) const;
00042 Float_t GetCellU(UInt_t index) const;
00043 Float_t GetCellV(UInt_t index) const;
00044 Float_t GetCellZ(UInt_t index) const;
00045 Int_t GetCellView(UInt_t index) const;
00046 UInt_t GetCellElem1(UInt_t index) const;
00047 UInt_t GetCellElem2(UInt_t index) const;
00048
00049
00050 private:
00051 std::vector<CellKG> allcells;
00052
00053 ClassDef(CellListKG,0)
00054
00055 };
00056 #endif // CELLLISTKG_H