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

RecoGlastData.h

Go to the documentation of this file.
00001 //$Header: /nfs/slac/g/glast/ground/cvs/reconstruction/reconstruction/data/RecoGlastData.h,v 1.5 2001/03/05 03:34:09 burnett Exp $
00002 
00003 #ifndef RECOGLASTDATA_H
00004 #define RECOGLASTDATA_H
00005 
00006 #include "instrument/DetectorConverter.h"
00007 
00008 #include "data/GlastData.h"
00009 #include "reconstruction/data/RecoCsIData.h"
00010 #include "reconstruction/data/RecoSiData.h"
00011 #include "reconstruction/data/RecoVetoData.h"
00012 
00013 class Scintillator;
00014 class SiDetector;
00015 class CsIDetector;
00016 class Tower;
00017 class MCTruth;
00018 
00022 class RecoGlastData :  public GlastData , public DetectorConverter{
00023 public:
00024     RecoGlastData(): m_cal(8){}
00025     
00026     void clear();
00027     
00029     virtual void printOn(std::ostream& out)const;
00030         
00032     virtual void forward (const Tower& t) ;
00033     virtual void forward ( const CsIDetector& csi_det);
00034     virtual void forward ( const SiDetector& si_det);
00035     virtual void forward ( const Scintillator& scint);
00036 #if 0    
00037 
00038     const RecoCsIData&  calData()const{return m_cal;}
00039     const RecoSiData&   tkrData()const{return m_tkr;}
00040     const RecoVetoData& acdData()const{return m_acd;}
00041 #endif    
00042     // these access functions for consistency with old
00043     const CsIData*  getCsIData()const{return &m_cal;}
00044     const SiData*   getSiData()const{return &m_tkr;}
00045     const IVetoData* getVetoData()const{return &m_acd;}
00046     const MCTruth*   getMCTruth()const;
00047     
00048 private:
00049     idents::ModuleId  m_id;   // keep track of current id
00050     RecoCsIData   m_cal; 
00051     RecoSiData    m_tkr;
00052     RecoVetoData  m_acd;
00053 };
00054 
00055 #endif

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