// $Id$ // // File: DApplication.h // Created: Mon Jul 3 21:46:01 EDT 2006 // Creator: davidl (on Darwin Harriet.local 8.6.0 powerpc) // #ifndef _DApplication_ #define _DApplication_ #include #include using namespace jana; #include "HDGEOMETRY/DGeometry.h" class DMagneticFieldMap; class DLorentzDeflections; class DGeometry; //class DMaterialMap; class DRootGeom; class DApplication:public JApplication{ /// The DApplication class extends the JApplication class /// by adding the default event source generators and /// factory generators that are HAll-D specific. public: DApplication(int narg, char* argv[]); virtual ~DApplication(); virtual const char* className(void){return static_className();} static const char* static_className(void){return "DApplication";} DMagneticFieldMap* GetBfield(void){return bfield;} DLorentzDeflections *GetLorentzDeflections(void){return lorentz_def;} //DMaterialMap *GetMaterialMap(void){return material;} DGeometry* GetDGeometry(unsigned int run_number); DRootGeom *GetRootGeom(){return RootGeom;} protected: DMagneticFieldMap *bfield; DLorentzDeflections *lorentz_def; //DMaterialMap *material; DRootGeom *RootGeom; vector geometries; private: }; #endif // _DApplication_