00001 // $Id: GlastRecon.h,v 1.4 2000/11/27 02:16:43 burnett Exp $ 00002 // 00003 // Reconstruct data in Glast 00004 // 00005 00006 #ifndef __GLASTRECON_H 00007 #define __GLASTRECON_H 1 00008 00009 #ifdef __GNUG__ 00010 #pragma interface 00011 #endif 00012 00013 #include "reconstruction/Recon.h" 00014 00015 class Glast; 00016 class GlastData; 00017 class CalRecon; 00018 class MCRecon; 00019 class ReconVisitor; 00020 class TrackerRecon; 00021 class VetoRecon; 00022 class TriggerRecon; 00023 class CalProfile; 00024 00025 class GlastRecon : public Recon 00026 { 00027 public: 00028 GlastRecon (/*Glast* g*/); 00029 ~GlastRecon (); 00030 00031 00032 void accept (ReconVisitor& rv); 00033 00034 void reconstruct (const GlastData* glastData); 00035 00036 void clear (); 00037 00038 virtual const char* nameOf () const; 00039 00040 int completionCode () const { return compCode; } 00041 00042 void printOn(std::ostream& out)const; 00043 00044 // access the monte-carlo reconstruction 00045 const MCRecon* getMC () const { return mc; } 00046 00047 // access the calorimeter reconstructino 00048 const CalRecon* getCal () const { return cal; } 00049 00050 // access the tracker reconstruction 00051 TrackerRecon* getTracker () { return trkr; } 00052 00053 // access the trigger reconstruction 00054 const TriggerRecon* getTrigger () const { return trig; } 00055 00056 // access the ACD reconstruction 00057 const VetoRecon* getACD () const { return veto; } 00058 00059 // access the profile reconstruction 00060 const CalProfile* getProfile () const { return prof;} 00061 00062 private: 00063 int compCode; 00064 LbldData::iterator i_gl_CsI_Xfit; 00065 LbldData::iterator i_gl_CsI_Yfit; 00066 LbldData::iterator i_gl_CsI_BD; 00067 LbldData::iterator i_gl_CsI_fitEr; 00068 LbldData::iterator i_gl_CsI_fitErN; 00069 LbldData::iterator i_gl_xfit_err; 00070 LbldData::iterator i_gl_yfit_err; 00071 LbldData::iterator i_gl_zfit_err; 00072 LbldData::iterator i_gl_xGam_err; 00073 LbldData::iterator i_gl_yGam_err; 00074 LbldData::iterator i_gl_Gam_err; 00075 LbldData::iterator i_gl_CsI_Xcount; 00076 LbldData::iterator i_gl_CsI_Xratio; 00077 00078 // Data Members for Associations 00079 MCRecon *mc; 00080 CalRecon *cal; 00081 TrackerRecon *trkr; 00082 TriggerRecon *trig; 00083 VetoRecon *veto; 00084 CalProfile *prof; 00085 //THBGlast *glast; 00086 00087 }; 00088 00089 00090 00091 00092 #endif
1.2.3 written by Dimitri van Heesch,
© 1997-2000