00001 // $Id: HitInstanciation.cpp,v 1.5 2001/04/18 19:07:27 igable Exp $ 00002 // 00003 // Original author: Sawyer Gillespie 00004 // hgillesp@u.washington.edu 00005 // 00006 00007 // ********* 00008 // This file instanciates concretely the Gsim implementation of all of these 00009 // classes so that they may be included within factories in the DLL. 00010 // 00011 00012 // Include files 00013 #include "GaudiKernel/ObjectFactory.h" 00014 #include "GaudiKernel/ObjectVector.h" 00015 #include "GaudiKernel/ObjectList.h" 00016 00017 #define _ImplementHitContainedFactories(x) \ 00018 _ImplementContainedObjectFactory( x ) \ 00019 _ImplementDataObjectFactory( x##Vector ) \ 00020 _ImplementDataObjectFactory( x##List ) 00021 00022 #define DLL_DECL_CONTAINEDOBJECTFACTORY(x) \ 00023 DLL_DECL_OBJECTFACTORY( x ) \ 00024 DLL_DECL_OBJECTFACTORY( x##Vector )\ 00025 DLL_DECL_OBJECTFACTORY( x##List ) 00026 00027 #include "GlastEvent/TopLevel/EventModel.h" 00028 using namespace GlastEvent; 00029 00030 // ==================================================================== 00031 // Object factory implementation for objects of class GsimCalorimeterHits 00032 // ==================================================================== 00033 //#include "GlastEvent/GsimImp/GsimCalorimeterHits.h" 00034 //_ImplementDataObjectFactory(GsimCalorimeterHits) 00035 00036 // ==================================================================== 00037 // Object factory implementation for objects of class GsimCalorimeterLogHits 00038 // ==================================================================== 00039 //#include "GlastEvent/GsimImp/GsimCalorimeterLogHits.h" 00040 //_ImplementGsimImpContainedFactories(GsimCalorimeterLogHits) 00041 00042 // ==================================================================== 00043 // Object factory implementation for objects of class GsimGlastHits 00044 // ==================================================================== 00045 //#include "GlastEvent/GsimImp/GsimGlastHits.h" 00046 //_ImplementDataObjectFactory(GsimGlastHits) 00047 00048 // ==================================================================== 00049 // Object factory implementation for objects of class GsimSiLayerHits 00050 // ==================================================================== 00051 //#include "GlastEvent/GsimImp/GsimSiLayerHits.h" 00052 //_ImplementDataObjectFactory(GsimSiLayerHits) 00053 00054 // ==================================================================== 00055 // Object factory implementation for objects of class GsimSiStripHits 00056 // ==================================================================== 00057 //#include "GlastEvent/GsimImp/GsimSiStripHits.h" 00058 //_ImplementGsimImpContainedFactories(GsimSiStripHits) 00059 00060 // ==================================================================== 00061 // Object factory implementation for objects of class GsimTowerHits 00062 // ==================================================================== 00063 //#include "GlastEvent/GsimImp/GsimTowerHits.h" 00064 //_ImplementDataObjectFactory(GsimTowerHits) 00065 00066 // ==================================================================== 00067 // Object factory implementation for objects of class GsimTrackerHits 00068 // ==================================================================== 00069 //#include "GlastEvent/GsimImp/GsimTrackerHits.h" 00070 //_ImplementDataObjectFactory(GsimTrackerHits) 00071 00072 // ==================================================================== 00073 // Object factory implementation for objects of class MCHitBase 00074 // Objects cannot be instantiated! 00075 // =================================================================== 00076 //_ImplementDataObjectFactory( GsimGlastHits ) 00077 //_ImplementDataObjectFactory( GsimTowerHits ) 00078 //_ImplementDataObjectFactory( GsimTrackerHits ) 00079 //_ImplementDataObjectFactory( GsimCalorimeterHits ) 00080 //_ImplementDataObjectFactory( GsimSiLayerHits ) 00081 00082 void HitInstanciation() { 00083 //DLL_DECL_CONTAINEDOBJECTFACTORY( GsimCalorimeterLogHits ); 00084 //DLL_DECL_CONTAINEDOBJECTFACTORY( GsimSiStripHits ); 00085 }
1.2.3 written by Dimitri van Heesch,
© 1997-2000