LCOV - code coverage report
Current view: top level - TPC/TPCbase - AliTPCExBEffectiveSector.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 7 14.3 %
Date: 2016-06-14 17:26:59 Functions: 1 8 12.5 %

          Line data    Source code
       1             : #ifndef ALITPCEXBEFFECTIVESECTOR_H
       2             : #define ALITPCEXBEFFECTIVESECTOR_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : /// \class AliTPCExBEffectiveSector
       8             : ///
       9             : /// \author Maarian Ivanov, Jim Thomas, Magnus Mager, Stefan Rossegger
      10             : /// \date 02/05/2010
      11             : 
      12             : #include "AliTPCCorrection.h"
      13             : class TH3F;
      14             : class THnSparse;
      15             : class THnBase;
      16             : 
      17             : class AliTPCExBEffectiveSector : public AliTPCCorrection {
      18             : public:
      19             :   AliTPCExBEffectiveSector();
      20             :   virtual ~AliTPCExBEffectiveSector();
      21             :   // initialization and update functions
      22             :   virtual void Init();
      23             :   virtual void Update(const TTimeStamp &timeStamp);
      24             :   // common setters and getters for ExB
      25             :   virtual void SetOmegaTauT1T2(Float_t omegaTau,Float_t t1,Float_t t2) {
      26           0 :     fT1=t1; fT2=t2;
      27           0 :     const Float_t wt1=t1*omegaTau;    fC1=wt1/(1.+wt1*wt1);
      28           0 :     const Float_t wt2=t2*omegaTau;    fC0=1/(1.+wt2*wt2);
      29           0 :   };
      30           0 :   Float_t GetC1() const {return fC1;}
      31           0 :   Float_t GetC0() const {return fC0;}
      32             :   void Print(const Option_t* option) const;
      33             : public:
      34             :   virtual void GetCorrection(const Float_t x[],const Short_t roc,Float_t dx[]);
      35             : public:
      36             :   Double_t fC0;                ///< coefficient C0 (compare Jim Thomas's notes for definitions)
      37             :   Double_t fC1;                ///< coefficient C1 (compare Jim Thomas's notes for definitions)
      38             :   TH3F *fCorrectionR;        ///< radial correction
      39             :   TH3F *fCorrectionRPhi;     ///< r-phi correction
      40             :   TH3F *fCorrectionZ;        ///< z correction
      41             : private:
      42             :   AliTPCExBEffectiveSector(const AliTPCExBEffectiveSector&);
      43             :   AliTPCExBEffectiveSector &operator=(const AliTPCExBEffectiveSector&);
      44             :   /// \cond CLASSIMP
      45          24 :   ClassDef(AliTPCExBEffectiveSector,2);
      46             :   /// \endcond
      47             : };
      48             : 
      49             : #endif

Generated by: LCOV version 1.11