3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////////////////////
8 // Steering Class for reconstruction parameters //
9 // Revision: cvetan.cheshkov@cern.ch 12/06/2008 //
10 // Its structure has been revised and it is interfaced to AliRunInfo and //
13 ///////////////////////////////////////////////////////////////////////////////
18 class AliDetectorRecoParam;
22 class AliRecoParam : public TObject
27 virtual ~AliRecoParam();
30 kNSpecies = 5, // number of event species
31 kNDetectors = 16 // number of detectors (last one is GRP!)
33 enum EventSpecie_t {kDefault = 1,
39 static Int_t AConvert(EventSpecie_t es) ;
40 static EventSpecie_t Convert(Int_t ies) ;
41 static EventSpecie_t ConvertIndex(Int_t index) ;
43 virtual void Print(Option_t *option="") const;
44 const TObjArray *GetDetRecoParamArray(Int_t iDet) const { return fDetRecoParams[iDet]; }
45 void SetEventSpecie(const AliRunInfo*runInfo, const AliEventInfo &evInfo);
46 EventSpecie_t GetEventSpecie() const { return fEventSpecie; }
47 static const char* GetEventSpecieName(EventSpecie_t es);
48 static const char* GetEventSpecieName(Int_t esIndex);
49 const char* PrintEventSpecie() const;
50 const AliDetectorRecoParam *GetDetRecoParam(Int_t iDet) const;
51 void AddDetRecoParam(Int_t iDet, AliDetectorRecoParam* param);
52 Bool_t AddDetRecoParamArray(Int_t iDet, TObjArray* parArray);
54 AliRecoParam(const AliRecoParam&);
55 AliRecoParam& operator=(const AliRecoParam&);
60 Int_t fDetRecoParamsIndex[kNSpecies][kNDetectors]; // index to fDetRecoParams arrays
61 TObjArray *fDetRecoParams[kNDetectors]; // array with reconstruction-parameter objects for all detectors
62 EventSpecie_t fEventSpecie; // current event specie
63 static TString fkgEventSpecieName[] ; // the names of the event species
64 ClassDef(AliRecoParam, 6)