- TObjArray* GetVectorPH()const { return fVectorPH; }
- TObjArray* GetPlaPH()const { return fPlaPH; }
- TObjArray* GetVectorCH()const { return fVectorCH; }
- TObjArray* GetPlaCH()const { return fPlaCH; }
- TObjArray* GetVectorPRF()const { return fVectorPRF; }
- TObjArray* GetPlaPRF()const { return fPlaPRF; }
-
- protected:
-
- // Objects for storing the infos per calibration group
-
- class AliTRDPlace : public TObject {
-
- public:
-
- AliTRDPlace()
- :TObject()
- ,fPlace(0x0) { }
- AliTRDPlace(const AliTRDPlace &i)
- :TObject(i)
- ,fPlace(0x0) { }
- AliTRDPlace &operator=(const AliTRDPlace&) { return *this; }
- virtual ~AliTRDPlace() { }
-
- void SetPlace(Int_t place) { fPlace = place; }
- Int_t GetPlace() const { return fPlace; }
-
- protected:
-
- Int_t fPlace; // Place of the calibration group
-
- };
-
- class AliTRDCTInfo : public TObject {
-
- public:
-
- AliTRDCTInfo()
- :TObject()
- ,fEntries(0x0) { }
- AliTRDCTInfo(const AliTRDCTInfo &i)
- :TObject(i)
- ,fEntries(0x0) { }
- AliTRDCTInfo &operator=(const AliTRDCTInfo&) { return *this; }
- virtual ~AliTRDCTInfo() { }
-
- void SetEntries(UShort_t *entries) { fEntries = entries; }
-
- UShort_t *GetEntries() const { return fEntries; }
-
- protected:
-
- UShort_t *fEntries; // Current number of entries for each bin of CH
-
- };
-
-
- class AliTRDPInfo : public TObject {
- public:
-
- AliTRDPInfo()
- :TObject()
- ,fSum(0x0)
- ,fSumSquare(0x0)
- ,fEntries(0x0) { }
- AliTRDPInfo(const AliTRDPInfo &i)
- :TObject(i)
- ,fSum(0x0)
- ,fSumSquare(0x0)
- ,fEntries(0x0) { }
- AliTRDPInfo &operator=(const AliTRDPInfo&) { return *this; }
- virtual ~AliTRDPInfo() { }
-
- void SetSum(Float_t *sum) { fSum = sum; }
- void SetSumSquare(Float_t *sumSquare) { fSumSquare = sumSquare; }
- void SetEntries(UShort_t *entries) { fEntries = entries; }
-
- Float_t *GetSum() const { return fSum; }
- Float_t *GetSumSquare() const { return fSumSquare; }
- UShort_t *GetEntries() const { return fEntries; }
-
- protected:
-
- Float_t *fSum; // Current mean for each bin of the average pulse height
- Float_t *fSumSquare; // Current mean of square values for each bin of the average pulse height
- UShort_t *fEntries; // Current number of entries for each bin of the average pulse height
-
- };
-
- // Arrays of these objects
-
- TObjArray *fVectorPH; // Vectors to fill
- TObjArray *fPlaPH; // Vectors to fill
-
- TObjArray *fVectorCH; // Vectors to fill
- TObjArray *fPlaCH; // Vectors to fill
-
- TObjArray *fVectorPRF; // Vectors to fill
- TObjArray *fPlaPRF; // Vectors to fill
+ Short_t GetDetCha0(Int_t i) const { return fDetCha0[i]; }
+ Short_t GetDetCha2(Int_t i) const { return fDetCha2[i]; }
+ TString GetNamePH() const;
+ TString GetNamePRF() const;
+ TString GetNameCH() const;
+ Int_t GetNz(Int_t i) const;
+ Int_t GetNrphi(Int_t i) const;
+ Int_t GetNbGroupPRF() const { return (Int_t)fNbGroupPRF; }
+
+ Int_t GetTotalNumberOfBinsInDetector(Int_t det, Int_t i, Int_t nbBin) const;
+
+ TObject *GetPHEntries(Int_t det,Bool_t force = kFALSE);
+ TObject *GetPHMean(Int_t det,Bool_t force = kFALSE);
+ TObject *GetPHSquares(Int_t det,Bool_t force = kFALSE);
+
+ TObject *GetPRFEntries(Int_t det,Bool_t force = kFALSE);
+ TObject *GetPRFMean(Int_t det,Bool_t force = kFALSE);
+ TObject *GetPRFSquares(Int_t det,Bool_t force = kFALSE);
+
+ TObject *GetCHEntries(Int_t det,Bool_t force = kFALSE);