/////////////////////////////////////////////////////////////////// #ifndef __RAT_EventInfo__ #define __RAT_EventInfo__ #include #include namespace RAT { // Holds extra event information inside the G4Event class EventInfo : public G4VUserEventInformation { public: EventInfo () { fCalib = new DS::Calib(); }; // FIXME virtual ~EventInfo() { delete fCalib; }; virtual void Print() const { }; void SetCalib(DS::Calib *calib) { delete fCalib; fCalib = calib; }; const DS::Calib *GetCalib() const { return fCalib; }; protected: DS::Calib *fCalib; }; } // namespace RAT #endif