CMS 3D CMS Logo

TRawTpgChannel.h

Go to the documentation of this file.
00001 #ifndef ZTR_TRawTpgChannel
00002 #define ZTR_TRawTpgChannel
00003 #include "TObject.h"
00004 
00005 class TRawTpgChannel : public TObject {
00006 
00007 protected:
00008 
00009   Int_t    fNValue; //Number of values in fValues
00010   Int_t   *fValues; //[fNValue] TDC measurements for tpg counters
00011 
00012   void Init();
00013 
00014 public:
00015 
00016   TRawTpgChannel();
00017   TRawTpgChannel(Int_t);
00018   TRawTpgChannel(Int_t,Int_t*);
00019   virtual ~TRawTpgChannel();
00020   void     Clear();
00021   Int_t   *GetValues()              { return fValues; }
00022   Int_t    GetValue( Int_t k )               { return fValues[k]; }
00023   //Int_t    GetValue(Int_t n) const { n%=fNValue; return fValues[n]; }
00024   Int_t    GetLen() { return fNValue; }
00025   void     Print() const;
00026   void     SetValues( Int_t, Int_t* );
00027   void     SetTpgChannel(Int_t ,Int_t*) ;
00028   ClassDef( TRawTpgChannel, 1 ) // tpg counters
00029 };
00030 #endif

Generated on Tue Jun 9 17:39:24 2009 for CMSSW by  doxygen 1.5.4