Go to the documentation of this file. 1 #ifndef _TDETECTORHIT_H_
2 #define _TDETECTORHIT_H_
12 virtual Int_t
Compare(
const TObject *obj)
const;
15 virtual void Copy(TObject&)
const;
16 virtual void Clear(Option_t *opt =
"" );
17 virtual void Print(Option_t *opt =
"" )
const;
21 virtual Int_t
Charge()
const = 0;
31 void SetAddress(
unsigned char system,
unsigned char type,
unsigned short channel) {
33 (((
unsigned int)system ) << 24) +
34 (((
unsigned int)
type ) << 16) +
35 (((
unsigned int)channel) << 0);