Newer
Older
Buddhini Waidyawansa
committed
#ifndef ROOT_THcRaster
#define ROOT_THcRaster
#include "THcRawHit.h"
class THcRaster : public THcRawHit {
public:
THcHodoscopeHit(Int_t plane=0, Int_t counter=0) : THcRawHit(plane, counter),
fADC_pos(-1), fADC_neg(-1),
fTDC_pos(-1), fTDC_neg(-1) {
}
THcHodoscopeHit& operator=( const THcHodoscopeHit& );
virtual ~THcHodoscopeHit() {}
virtual void Clear( Option_t* opt="" )
{ fADC_pos = -1; fADC_neg = -1; fTDC_pos = -1; fTDC_neg = -1; }
void SetData(Int_t signal, Int_t data);
Int_t GetData(Int_t signal);
// virtual Bool_t IsSortable () const {return kTRUE; }
// virtual Int_t Compare(const TObject* obj) const;
Int_t fADC_pos;
Int_t fADC_neg;
protected:
private:
ClassDef(THcRaster, 0); // add THcRaster to ROOT library
};
#endif