• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/cosy-jan12/go4/STS/TSTSDigi.h (r4864/r3071)

Go to the documentation of this file.
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 <stdint.h>
00012 #include "Rtypes.h"
00013 
00014 
00015 class TSTSDigi {
00016 private:
00017         Int_t                                   fStrip;
00018         Long64_t                                fTime;
00019         Float_t                             fAmplitude;
00020 public:
00021         TSTSDigi();
00022         TSTSDigi( Int_t strip, Long64_t time, Float_t amplitude );
00023         virtual ~TSTSDigi() {}
00024         Int_t           GetStrip() const { return fStrip; }
00025         Long64_t        GetTime() const { return fTime; }
00026         Float_t         GetAmplitude() const { return fAmplitude; }
00027         void            SetStrip( Int_t channel ) { fStrip = channel; }
00028         void            SetTime( Long64_t time ) { fTime = time; }
00029         void            SetAmplitude( Float_t amplitude ) { fAmplitude = amplitude; }
00030         void            Print() const;
00031     void        Reset();
00032         ClassDef( TSTSDigi, 1 )
00033 };
00034 
00035 
00036 #endif /* TSTSDIGI_H */

Generated on Tue Dec 10 2013 04:52:18 for ROCsoft by  doxygen 1.7.1