5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
12 class AliRICHreco : public TObject
17 inline AliRICHreco(Int_t iMipDigitOrClustN,Double_t dConeAngle,Double_t dPartOfRing,Double_t adPhotonAngles[],Int_t iNphotons);
18 virtual ~AliRICHreco() {}
20 Double_t GetConeAngle() const{return fdConeAngle;}
21 Int_t GetNphotons() const{return fNphotons;}
22 Int_t GetMipNumber() const{return fMipDigitOrClusterN;}
23 static Int_t GetArraySize() {return 25;}
25 Int_t fiArraySize; //! Array size
26 Int_t fMipDigitOrClusterN; // Reference to MIP digit or MIP cluster in fDigits or fRawClusters
27 Int_t fNphotons; // Actual number of photons used in reconstruction
28 Double_t fdConeAngle; // Cerenkov cone angle at the entrance of radiator for this track
29 Double_t fdPartOfRing; // The fraction of the photons ring which does not touch the frame
30 Double_t fadPhotonAngles[25]; // Array of individual impact angles for fiNphotons photons
32 ClassDef(AliRICHreco,1) // Reconstructed track information
35 inline AliRICHreco::AliRICHreco()
37 fMipDigitOrClusterN=fNphotons=0;
38 fdConeAngle=fdPartOfRing=0;
39 for(Int_t i=0;i<GetArraySize();i++) fadPhotonAngles[i]=0;
40 }//inline AliRICHreco::AliRICHreco()
42 inline AliRICHreco::AliRICHreco(Int_t iMipDigitOrClusterN,Double_t dConeAngle,Double_t dPartOfRing, Double_t adPhotonAngles[], Int_t iNphotons)
44 fMipDigitOrClusterN=iMipDigitOrClusterN;
45 fdConeAngle=dConeAngle;
46 fdPartOfRing=dPartOfRing;
47 if(iNphotons<GetArraySize())
50 fNphotons=GetArraySize();
52 for(Int_t i=0;i<iNphotons;i++) fadPhotonAngles[i]=adPhotonAngles[i];
53 }//inline AliRICHreco::AliRICHreco(Double_t dConeAngle,Double_t dPartOfRing, Double_t adPhotonAngle, Int_t iNphotons)
55 #endif //AliRICHreco_h