Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TkrRecon.h

Go to the documentation of this file.
00001 #ifndef TKRRECON_H
00002 #define TKRRECON_H
00003 
00004 #include "TObject.h"
00005 #include "TObjArray.h"
00006 
00007 // forward declarations
00008 class TkrTrack;
00009 class TkrGamma;
00010 class TkrSiCluster;
00011 
00012 // ===================================
00013 //          TrkRecon
00014 // ===================================
00016 /*! This is the top level object containing all data
00017 associated with the Tracker Reconstruction.
00018 Currently, the full reconstruction is represented by a
00019 list of tracks (TkrTrack), a list of SiClusters (TkrSiClusters), 
00020 and a pointer to a reconstructed gamma (TkrGamma).
00021 */
00022 
00023 class TkrRecon : public TObject
00024 {
00025 
00026 
00027 private:
00029     TObjArray *m_tracks; 
00030 
00032     TkrGamma *m_gamma;
00033       
00035 
00040     TObjArray *m_SiClusters;
00041 
00042 public:
00043     // constructors
00045     /*! clients must call Create() as necessary
00046     */
00047     TkrRecon();
00048 
00050     virtual ~TkrRecon();
00051     
00053     void Clean(); 
00055     void Create();
00056 
00058 
00060     TObjArray *getTracks(){ return m_tracks; };
00061 
00063 
00065     TObjArray *getSiClusters() { return m_SiClusters; };
00066 
00068     TkrGamma *getGamma() { return m_gamma; };   
00069     inline void setGamma(TkrGamma *gam) { m_gamma = gam; };
00070 
00072     TkrSiCluster* getSiCluster(int i) {return (TkrSiCluster*) m_SiClusters->At(i);};
00073 
00074     ClassDef(TkrRecon,1)
00075 
00076 
00077 };
00078 
00079 #endif

Generated at Wed Nov 21 12:20:18 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000