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

analysis/ScDigi.h (r4864/r595)

Go to the documentation of this file.
00001 
00002 
00003 #ifndef SCDIGI_H
00004 #define SCDIGI_H 1
00005 
00006 
00007 #include "TObject.h"
00008 
00009 namespace nxyter {
00010    class Data;
00011 }
00012 
00013 
00014 
00025 class ScDigi : public TObject
00026 {
00027 
00028 
00029  public:
00030 
00032   ScDigi();
00033 
00034 
00036   ScDigi(nxyter::Data* data, Long64_t hitTime);
00037 
00038 
00040   ScDigi(Int_t iRoc, Int_t iNx, Long64_t time, Int_t iChannel, Int_t adc,
00041          Bool_t isPileup, Bool_t isOverflow);
00042 
00043 
00045   virtual ~ScDigi() {};
00046 
00047 
00049   Int_t    GetRocNumber() const { return fRoc; }
00050   Int_t    GetNxNumber()  const { return fNx; }
00051   Long64_t GetTime()      const { return fTime; }
00052   Int_t    GetChannel()   const { return fChannel; }
00053   Int_t    GetAdc()       const { return fAdc; }
00054   Bool_t   IsPileup()     const { return fPileup; }
00055   Bool_t   IsOverflow()   const { return fOverflow; }
00056 
00057 
00059   virtual void Print(Option_t* opt = "") const;
00060 
00061 
00062 
00063  private:
00064 
00065 
00066   Int_t    fRoc;       
00067   Int_t    fNx;        
00068   Long64_t fTime;      
00069   Int_t    fChannel;   
00070   Int_t    fAdc;       
00071   Bool_t   fPileup;    
00072   Bool_t   fOverflow;  
00076   ClassDef(ScDigi,1);
00077 
00078 
00079 };
00080 
00081 
00082 #endif

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