00001 #ifndef ZTR_TRawTriggerChannel 00002 #define ZTR_TRawTriggerChannel 00003 #include "TObject.h" 00004 00005 class TRawTriggerChannel : public TObject { 00006 00007 protected: 00008 00009 Int_t fNValue; //Number of values in fValues 00010 Int_t *fValues; //[fNValue] TDC measurements for trigger counters 00011 00012 void Init(); 00013 00014 public: 00015 00016 TRawTriggerChannel(); 00017 TRawTriggerChannel(Int_t); 00018 TRawTriggerChannel(Int_t,Int_t*); 00019 virtual ~TRawTriggerChannel(); 00020 virtual void Clear(const char *opt=""); 00021 Int_t *GetValues() { return fValues; } 00022 Int_t GetValue( Int_t k ) { return fValues[k]; } 00023 Int_t GetLen() { return fNValue; } 00024 void Print(const char *opt=0) const; 00025 void SetValues( Int_t, Int_t* ); 00026 ClassDef( TRawTriggerChannel, 1 ) //tdc measurements for trigger counters 00027 }; 00028 #endif