1 #ifndef ALIT0LOOKUPKEY_H
2 #define ALIT0LOOKUPKEY_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 class AliT0LookUpKey: public TObject
13 AliT0LookUpKey(Int_t key);
14 AliT0LookUpKey(TString name);
15 AliT0LookUpKey& operator= (const AliT0LookUpKey &) { return *this;};
16 AliT0LookUpKey(const AliT0LookUpKey &o);
17 virtual ~AliT0LookUpKey() {};
18 Int_t GetKey() const {return fKey;};
19 void SetKey(Int_t n) {fKey=n;};
20 TString GetChannelName() {return fName;};
21 void SetChannelName(TString name) {fName = name;};
22 virtual Bool_t IsEqual(const TObject *obj) const;
23 void Print(Option_t* opt= "") const;
24 virtual ULong_t Hash() const {return 10000*fKey;}
25 // virtual ULong_t Hash(void) const {return TString::Hash(this, sizeof(*this));};
26 // virtual void Clear(void) {fKey=0;}
28 Int_t fKey; //logical channel number
29 TString fName; //logical channel name
31 ClassDef(AliT0LookUpKey,1) //Hits for detector T0