1 #ifndef ALIT0LOOKUPVALUE_H
2 #define ALIT0LOOKUPVALUE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 class AliT0LookUpValue: public TObject
13 AliT0LookUpValue(Int_t trm, Int_t tdc, Int_t chain, Int_t channel );
14 virtual Bool_t IsEqual(const TObject* obj) const ;
15 virtual ULong_t Hash(void) const;
16 Int_t GetTRM(void) const {return fTRM;};
17 Int_t GetTDC(void) const {return fTDC;};
18 Int_t GetChain(void) const {return fChain;};
19 Int_t GetChannel(void) const {return fChannel;};
20 void SetTRM(Int_t n) {fTRM=n;};
21 void SetTDC(Int_t n) {fTDC=n;};
22 void SetChain(Int_t n) {fChain=n;};
23 void SetChannel(Int_t n) {fChannel=n;};
24 virtual void Clear (void) {fTRM = -1; fTDC=-1; fChain=-1; fChannel=-1;}
31 Int_t fChain; //#chain
32 Int_t fChannel; //#channel
34 ClassDef(AliT0LookUpValue,1) //Hits for detector T0
37 class AliT0LookUpKey: public TObject
41 AliT0LookUpKey(Int_t key);
42 Int_t GetKey(void) const {return fKey;};
43 void SetKey(Int_t n) {fKey=n;};
44 virtual Bool_t IsEqual(const TObject *obj) const;
45 virtual ULong_t Hash(void) const {return fKey;};
46 // virtual void Clear(void) {fKey=0;}
48 Int_t fKey; //logical channel name
49 ClassDef(AliT0LookUpKey,1) //Hits for detector T0