38 #ifndef ST_TRS_ANALOGSIGNAL_HH
39 #define ST_TRS_ANALOGSIGNAL_HH
45 #if defined (__SUNPRO_CC) && __SUNPRO_CC >= 0x500
60 float amplitude()
const;
61 int id()
const {
return mId;}
64 void setAmplitude(
float);
65 void scaleAmplitude(
float);
66 void setId(
int id) {mId = id;}
74 inline float StTrsAnalogSignal::time()
const {
return mTime;}
75 inline float StTrsAnalogSignal::amplitude()
const {
return mAmp; }
76 inline void StTrsAnalogSignal::setTime(
float t) { mTime = t; }
77 inline void StTrsAnalogSignal::setAmplitude(
float a) { mAmp = a; }
78 inline void StTrsAnalogSignal::scaleAmplitude(
float fac){ mAmp *= fac;}
86 return (x.time() < y.time());