#ifndef _fevt_EyeTriggerData_h_ #define _fevt_EyeTriggerData_h_ // $Id$ #include #include #include namespace fevt { /*! \class EyeTriggerData \brief Trigger data for an fevt::Eye \author Ralf Ulrich \ingroup fevt */ class EyeTriggerData { friend class Eye; public: void SetT3Accepted(bool is) {fT3Accepted=is;} bool IsT3Accepted() const {return fT3Accepted;} void SetT3Time(const utl::TimeStamp& time) {fT3Time=time;} void SetT3SDP (double theta, double phi, double azimuthAtGround) {fT3SDPTheta=theta; fT3SDPPhi=phi; fT3AzimuthAtGround=azimuthAtGround;} void SetT3NPixels(unsigned int n) {fT3NPixels=n;} const utl::TimeStamp& GetT3Time() const { return fT3Time;} double GetT3SDPTheta() const {return fT3SDPTheta;} double GetT3SDPPhi() const {return fT3SDPPhi;} unsigned int GetT3NPixels() const {return fT3NPixels;} double GetT3AzimuthAtGround() const {return fT3AzimuthAtGround;} void SetT3Class(const std::string& label) {fT3Class = label;} std::string GetT3Class() const {return fT3Class;} private: EyeTriggerData(); ~EyeTriggerData(); private: bool fT3Accepted; std::string fT3Class; utl::TimeStamp fT3Time; double fT3SDPTheta; double fT3SDPPhi; unsigned int fT3NPixels; double fT3AzimuthAtGround; friend class utl::ShadowPtr; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. FEvent/EyeTriggerData.o -k" // End: