]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliRecoParam.h
protect QA agains non TH objects
[u/mrichter/AliRoot.git] / STEER / AliRecoParam.h
1 #ifndef ALIRECOPARAM_H
2 #define ALIRECOPARAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ///////////////////////////////////////////////////////////////////////////////
7 //                                                                           //
8 // Base Class for Detector reconstruction parameters                         //
9 // Revision: cvetan.cheshkov@cern.ch 12/06/2008                              //
10 // Its structure has been revised and it is interfaced to AliEventInfo.      //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14
15 #include "TNamed.h"
16 class AliDetectorRecoParam;
17 class AliEventInfo;
18
19 class AliRecoParam : public TNamed
20 {
21
22  public: 
23   AliRecoParam();
24   AliRecoParam(const char *detector);
25   virtual ~AliRecoParam();  
26   //
27   virtual void                  Print(Option_t *option="") const;
28   TObjArray                    *GetAllRecoParams() const { return fRecoParamArray; }
29   virtual AliDetectorRecoParam *GetRecoParam(const AliEventInfo &/*evInfo*/) const;
30   void                          AddRecoParam(AliDetectorRecoParam* param);
31
32 protected:
33
34   TObjArray *fRecoParamArray;   //array with reconstruction-parameter objects
35
36 private:
37
38   AliRecoParam(const AliRecoParam&); // Not implemented
39   AliRecoParam& operator=(const AliRecoParam&); // Not implemented
40
41   ClassDef(AliRecoParam, 2)
42 };
43
44
45 #endif