+ class AliTRDDataDCSdata {
+ public:
+ AliTRDDataDCSdata()
+ :fFit(0x0)
+ ,fGraph(0x0) { };
+ virtual ~AliTRDDataDCSdata() { };
+ TObjArray GetFit() const { return fFit; }
+ TObjArray GetGraph() const { return fGraph; }
+ TObject* GetFit(Int_t i) const { return fFit[i]; }
+ TObject* GetGraph(Int_t i) const { return fGraph[i]; }
+ protected:
+ TObjArray fFit; // array of AliSplineFit
+ TObjArray fGraph; // array of TGraph
+ };
+
+ class AliTRDDataDCSconf {
+ public:
+ AliTRDDataDCSconf()
+ :fAmanda(0)
+ ,fDataType(0)
+ ,fNChannel(0)
+ ,fEnableGraph(0)
+ ,fEnableFit(0)
+ ,fMinPoints(0)
+ ,fIter(0)
+ ,fMaxDelta(0)
+ ,fFitReq(0) { };
+ virtual ~AliTRDDataDCSconf() { };
+ TString GetAmanda() const { return fAmanda; }
+ Char_t GetDataType() const { return fDataType; }
+ UInt_t GetNChannel() const { return fNChannel; }
+ Bool_t GetEnableGraph() const { return fEnableGraph; }
+ Bool_t GetEnableFit() const { return fEnableFit; }
+ Int_t GetMinPoints() const { return fMinPoints; }
+ Int_t GetIter() const { return fIter; }
+ Double_t GetMaxDelta() const { return fMaxDelta; }
+ Int_t GetFitReq() const { return fFitReq; }
+ void SetAmanda(TString s) { fAmanda = s; }
+ void SetDataType(Char_t d) { fDataType = d; }
+ void SetNChannel(UInt_t n) { fNChannel = n; }
+ void SetEnableGraph(Bool_t e) { fEnableGraph = e; }
+ void SetEnableFit(Bool_t e) { fEnableFit = e; }
+ void SetMinPoints(Int_t m) { fMinPoints = m; }
+ void SetIter(Int_t i) { fIter = i; }
+ void SetMaxDelta(Double_t m) { fMaxDelta = m; }
+ void SetFitReq(Int_t f) { fFitReq = f; }
+ protected:
+ TString fAmanda; // amanda string
+ Char_t fDataType; // 'c' for char, 'f' for float
+ UInt_t fNChannel; // number of channel
+ Bool_t fEnableGraph; // will be converted in TGraph
+ Bool_t fEnableFit; // will be converted in AliSplineFit
+ Int_t fMinPoints; // minimum number of points per knot in fit
+ Int_t fIter; // number of iterations for spline fit
+ Double_t fMaxDelta; // precision parameter for spline fit
+ Int_t fFitReq; // fit requirement, 2 = continuous 2nd derivative
+ };
+
+ AliTRDDataDCSdata fDatas [22]; // configurations
+ AliTRDDataDCSconf fConfs [22]; // data arrays