00001 // $Id: ReconData.cxx,v 1.6 2001/03/05 03:34:09 burnett Exp $ 00002 00003 #include "reconstruction/ReconData.h" 00004 00005 #include "data/GlastData.h" 00006 00007 #include "reconstruction/GlastRecon.h" 00008 #include "reconstruction/MCRecon.h" 00009 #include "reconstruction/CalRecon.h" 00010 #include "reconstruction/TriggerRecon.h" 00011 #include "reconstruction/TrackerRecon.h" 00012 #include "reconstruction/VetoRecon.h" 00013 #include "reconstruction/CalProfile.h" 00014 00015 #include "reconstruction/ReconData.h" 00016 00017 // Class ReconData 00018 00019 00020 ReconData::ReconData (const GlastData* d) 00021 : _data(d) 00022 { 00023 } 00024 00025 00026 void ReconData::visit (GlastRecon* o) 00027 { 00028 o->reconstruct(_data); 00029 } 00030 00031 void ReconData::visit (MCRecon* o) 00032 { 00033 o->reconstruct(_data->getMCTruth()); 00034 } 00035 00036 void ReconData::visit (CalRecon* o) 00037 { 00038 o->reconstruct(_data->getCsIData()); 00039 } 00040 00041 void ReconData::visit (TrackerRecon* o) 00042 { 00043 o->reconstruct(_data->getSiData()); 00044 } 00045 00046 void ReconData::visit (TriggerRecon* o) 00047 { 00048 o->reconstruct(_data); 00049 } 00050 00051 void ReconData::visit (VetoRecon* o) 00052 { 00053 o->reconstruct(_data->getVetoData()); 00054 } 00055 00056 void ReconData::visit (CalProfile* o) 00057 { 00058 o->reconstruct(_data); 00059 } 00060
1.2.3 written by Dimitri van Heesch,
© 1997-2000