00001 // $Header: /nfs/slac/g/glast/ground/cvs/FluxSvc/src/ExposureAlg.h,v 1.5 2002/10/07 23:42:20 srobinsn Exp $ 00002 #ifndef ExposureAlg_h 00003 #define ExposureAlg_h 00004 00018 // Include files 00019 // Gaudi system includes 00020 #include "GaudiKernel/Algorithm.h" 00021 00022 //for file handling 00023 #include <iostream> 00024 #include <string> 00025 00026 class IFlux; 00027 class IFluxSvc; 00028 class IparticlePropertySvc; 00029 class McVertex; 00030 00031 00032 class ExposureAlg : public Algorithm { 00033 public: 00034 ExposureAlg(const std::string& name, ISvcLocator* pSvcLocator); 00035 00036 //stuff that an Algorithm needs. 00037 StatusCode initialize(); 00038 StatusCode execute(); 00039 StatusCode finalize(); 00040 00041 private: 00042 00043 double m_lasttime; //time value to hold time between events; 00044 StringProperty m_source_name; 00045 IFluxSvc* m_fluxSvc; 00046 IFlux * m_flux; 00047 00049 //void ExposureAlg::makeTimeCandle(IFluxSvc* fsvc); 00050 00051 unsigned long m_run; // run number 00052 unsigned long m_event; // event number 00053 std::ostream* m_out; //for output that looks like the stuff from the astro orbit model test. 00054 00055 IDataProviderSvc* m_eds; 00056 00057 IParticlePropertySvc * m_partSvc; 00058 00059 }; 00060 //------------------------------------------------------------------------ 00061 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001