1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15 #include "AliT0LookUpValue.h"
16 //#include "iostream.h"
18 ClassImp(AliT0LookUpValue)
20 AliT0LookUpValue:: AliT0LookUpValue(): TObject(),
31 //--------------------------------------------------------------------------------------
32 AliT0LookUpValue:: AliT0LookUpValue(Int_t trm, Int_t tdc, Int_t chain, Int_t channel) : TObject(),
39 //--------------------------------------------------------------------------------------
42 Bool_t AliT0LookUpValue:: IsEqual(const TObject* obj) const
44 AliT0LookUpValue *b = ( AliT0LookUpValue*)obj;
45 if ( b->GetTRM() == fTRM &&
46 b->GetTDC() == fTDC &&
47 b->GetChain() == fChain &&
48 b->GetChannel() == fChannel ) return kTRUE;
52 //------------------------------------------------------------------------------------
53 void AliT0LookUpValue::Print(Option_t *) const
55 printf("AliT0LookUpValue TRM %i, TDC %i, chain %i channel %i\n",fTRM,fTDC,fChain,fChannel);
57 //--------------------------------------------------------------------------------------