00001 /* 00002 * TSTSDigi.h 00003 * 00004 * Created on: Dec 29, 2011 00005 * Author: isorokin 00006 */ 00007 00008 #ifndef TSTSDIGI_H 00009 #define TSTSDIGI_H 00010 00011 //#include "TSTSTopology.h" 00012 #include <stdint.h> 00013 #include "Rtypes.h" 00014 00015 // using TSTSTopology::EStsSide; 00016 00017 class TSTSDigi { 00018 private: 00019 // Int_t fDetector; 00020 // TSTSTopology::ESTSSide fSide; 00021 Int_t fStrip; 00022 uint64_t fTime; 00023 Float_t fAmplitude; 00024 public: 00025 // TSTSDigi( Int_t det, TSTSTopology::ESTSSide side, Int_t strip, uint64_t time, Float_t amplitude ); 00026 TSTSDigi(); 00027 TSTSDigi( Int_t strip, uint64_t time, Float_t amplitude ); 00028 // virtual ~TSTSDigi() {} 00029 // Int_t GetDetector() const { return fDetector; } 00030 // TSTSTopology::ESTSSide GetSide() const { return fSide; } 00031 Int_t GetStrip() const { return fStrip; } 00032 Long64_t GetTime() const { return fTime; } 00033 Double_t GetAmplitude() const { return fAmplitude; } 00034 // void SetDetector( Int_t det ) { fDetector = det; } 00035 // void SetSide( TSTSTopology::ESTSSide side ) { fSide = side; } 00036 void SetStrip( Int_t channel ) { fStrip = channel; } 00037 void SetTime( Long64_t time ) { fTime = time; } 00038 void SetAmplitude( Double_t amplitude ) { fAmplitude = amplitude; } 00039 void Print() const; 00040 ClassDef( TSTSDigi, 1 ) 00041 }; 00042 00043 00044 #endif /* TSTSDIGI_H */