Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ClusterKG.h

Go to the documentation of this file.
00001 
00002 // Cluster3D package
00003 //
00004 // ClusterKG.h
00005 //
00006 // ClusterKG - a single cluster 
00007 //
00008 // Author:  Katarzyna Grzelak K.Grzelak1@physics.ox.ac.uk
00009 //
00011 
00012 #ifndef CLUSTERKG_H
00013 #define CLUSTERKG_H
00014 
00015 #include <vector>
00016 #include <iostream>
00017 
00018 // not inheriting from TObject so we need an explicit Rtypes
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   //std::vector<CellKG> cells;
00042 
00043   Bool_t Create(AlgConfig &ac, StripListKG &all1,  CellListKG &all2, const std::vector<Int_t> &row); // create a single cluster 
00044   void SetEnergy(StripListKG &all1); //set total energy of the cluster 
00045   Double_t GetEnergy(Int_t whatKind) const; //get total energy of the cluster
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)        // Cluster3D Class 0 means no I/O    
00058 
00059 };
00060 #endif // CLUSTERKG_H

Generated on Mon Feb 15 11:06:32 2010 for loon by  doxygen 1.3.9.1