00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef CLUSTERKG_H
00013 #define CLUSTERKG_H
00014
00015 #include <vector>
00016 #include <iostream>
00017
00018
00019 #ifndef ROOT_Rtypes
00020 #if !defined(__CINT__) || defined(__MAKECINT__)
00021 #include "Rtypes.h"
00022 #endif
00023 #endif
00024
00025 class StripKG;
00026 class CellKG;
00027 class StripListKG;
00028 class CellListKG;
00029 class AlgConfig;
00030
00031 class ClusterKG {
00032 public:
00033
00034 ClusterKG();
00035 virtual ~ClusterKG() {};
00036
00037 Int_t index;
00038
00039 std::vector<Int_t> stpindexes;
00040
00041
00042
00043 Bool_t Create(AlgConfig &ac, StripListKG &all1, CellListKG &all2, const std::vector<Int_t> &row);
00044 void SetEnergy(StripListKG &all1);
00045 Double_t GetEnergy(Int_t whatKind) const;
00046 void FindNbOfAmbStrips(StripListKG &all1);
00047 Int_t GetNbOfAmbStrips() const;
00048
00049 private:
00050
00051 Double_t energyRaw;
00052 Double_t energyPe;
00053 Double_t energyGeV;
00054
00055 Int_t nbOfAmbStrips;
00056
00057 ClassDef(ClusterKG,0)
00058
00059 };
00060 #endif // CLUSTERKG_H