#ifndef __SimRdPulse_H #define __SimRdPulse_H #include #include #include #include #include #include #include // // Shower data definition // class SimRdPulse: public TObject { public: SimRdPulse(); virtual ~SimRdPulse() {} void SetId(const UInt_t id) {fId= id;} ///< set id of station UInt_t GetId() const {return fId;} ///< get id of station void SetRdTime(const Int_t s,const Int_t ns) {fRTimeNSecond=ns; fRTimeSecond=s;} Int_t GetRdTimeSecond() const {return fRTimeSecond;} ///< get time of station Int_t GetRdTimeNSecond() const {return fRTimeNSecond;} ///< get time error // Generic Level Station 1/2/3 Channel 11/12/13 void SetTimeTrace(const std::vector& timeTrace, int polNb); const std::vector& GetTimeTrace(int polNb) const throw(std::out_of_range); void SetFreqTrace(const std::vector& freqTrace, int polNb); const std::vector& GetFreqTrace(int polNb) const throw(std::out_of_range) ; const RdTrace& GetRdTrace(int polNb) const throw (std::out_of_range); RdTrace& GetRdTrace(int polNb) throw(std::out_of_range); void SetRdTrace(const RdTrace& trac, int polNb); private: UInt_t fId; Int_t fRTimeSecond; Int_t fRTimeNSecond; /// Radio signal variables std::map fTraces; ClassDef(SimRdPulse,3); }; #endif