LCOV - code coverage report
Current view: top level - ZDC/ZDCbase - AliZDCTowerCalib.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 5 21 23.8 %
Date: 2016-06-14 17:26:59 Functions: 6 25 24.0 %

          Line data    Source code
       1             : #ifndef ALIZDCTOWERCALIB_H
       2             : #define ALIZDCTOWERCALIB_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : ////////////////////////////////////////////////
       8             : //  class for ZDC calibration -> CALIBCOEFF   //
       9             : ////////////////////////////////////////////////
      10             : 
      11             : #include "TNamed.h"
      12             : #include "AliCDBEntry.h"
      13             : 
      14             : class AliZDC;
      15             : 
      16             : class AliZDCTowerCalib: public TNamed {
      17             : 
      18             :  public:
      19             :   AliZDCTowerCalib();
      20             :   AliZDCTowerCalib(const char* name);
      21             :   AliZDCTowerCalib(const AliZDCTowerCalib &calibda);
      22             :   AliZDCTowerCalib& operator= (const AliZDCTowerCalib &calibda);
      23             :   virtual ~AliZDCTowerCalib();
      24             :   void Reset();
      25             :   virtual void  Print(Option_t *) const; 
      26             :   //
      27           0 :   Float_t  GetZN1EqualCoeff(Int_t channel) const {return fZN1EqualCoeff[channel];}
      28           0 :   Float_t* GetZN1EqualCoeffs()             const {return (float*)fZN1EqualCoeff;}
      29           0 :   Float_t  GetZP1EqualCoeff(Int_t channel) const {return fZP1EqualCoeff[channel];}
      30           0 :   Float_t* GetZP1EqualCoeffs()             const {return (float*)fZP1EqualCoeff;}
      31           0 :   Float_t  GetZN2EqualCoeff(Int_t channel) const {return fZN2EqualCoeff[channel];}
      32           0 :   Float_t* GetZN2EqualCoeffs()             const {return (float*)fZN2EqualCoeff;}
      33           0 :   Float_t  GetZP2EqualCoeff(Int_t channel) const {return fZP2EqualCoeff[channel];}
      34           0 :   Float_t* GetZP2EqualCoeffs()             const {return (float*)fZP2EqualCoeff;}
      35             :   //
      36          80 :   Float_t  GetZNCEqualCoeff(Int_t channel) const {return fZN1EqualCoeff[channel];}
      37           0 :   Float_t* GetZNCEqualCoeffs()             const {return (float*)fZN1EqualCoeff;}
      38          80 :   Float_t  GetZPCEqualCoeff(Int_t channel) const {return fZP1EqualCoeff[channel];}
      39           0 :   Float_t* GetZPCEqualCoeffs()             const {return (float*)fZP1EqualCoeff;}
      40          80 :   Float_t  GetZNAEqualCoeff(Int_t channel) const {return fZN2EqualCoeff[channel];}
      41           0 :   Float_t* GetZNAEqualCoeffs()             const {return (float*)fZN2EqualCoeff;}
      42          80 :   Float_t  GetZPAEqualCoeff(Int_t channel) const {return fZP2EqualCoeff[channel];}
      43           0 :   Float_t* GetZPAEqualCoeffs()             const {return (float*)fZP2EqualCoeff;}
      44             : 
      45           0 :   void  SetZN1EqualCoeff(Int_t channel, Float_t val) {fZN1EqualCoeff[channel]=val;}
      46             :   void  SetZN1EqualCoeff(Float_t* EqualCoeff);
      47           0 :   void  SetZP1EqualCoeff(Int_t channel, Float_t val) {fZP1EqualCoeff[channel]=val;}
      48             :   void  SetZP1EqualCoeff(Float_t* EqualCoeff);
      49           0 :   void  SetZN2EqualCoeff(Int_t channel, Float_t val) {fZN2EqualCoeff[channel]=val;}
      50             :   void  SetZN2EqualCoeff(Float_t* EqualCoeff);
      51           0 :   void  SetZP2EqualCoeff(Int_t channel, Float_t val) {fZP2EqualCoeff[channel]=val;}
      52             :   void  SetZP2EqualCoeff(Float_t* EqualCoeff);
      53             :   
      54             :  protected:
      55             :   // --- Coefficients for tower calibration
      56             :   Float_t  fZN1EqualCoeff[5];    // Equalization coefficients for ZN1 PTMs
      57             :   Float_t  fZP1EqualCoeff[5];    // Equalization coefficients for ZN1 PTMs
      58             :   Float_t  fZN2EqualCoeff[5];    // Equalization coefficients for ZN1 PTMs
      59             :   Float_t  fZP2EqualCoeff[5];    // Equalization coefficients for ZN1 PTMs
      60             :   //
      61          28 :   ClassDef(AliZDCTowerCalib,3)    // ZDC calibration calibration data
      62             : };
      63             : 
      64             : #endif

Generated by: LCOV version 1.11