LCOV - code coverage report
Current view: top level - STEER/ESD - AliESDTOFMatch.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 15 40.0 %
Date: 2016-06-14 17:26:59 Functions: 9 21 42.9 %

          Line data    Source code
       1             : #ifndef ALIESDTOFMATCH_H
       2             : #define ALIESDTOFMATCH_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : /* $Id: $ */
       8             : 
       9             : //----------------------------------------------------------------------//
      10             : //                                                                      //
      11             : // AliESDTOFMatch Class                                                 //
      12             : //                                                                      //
      13             : //----------------------------------------------------------------------//
      14             : 
      15             : #include "AliVTOFMatch.h"
      16             : 
      17             : class AliESDTOFMatch : public AliVTOFMatch
      18             : {
      19             :  public:
      20             :   AliESDTOFMatch();
      21             :   AliESDTOFMatch(Int_t i,Double_t inttimes[AliPID::kSPECIESC],Double_t dx,Double_t dy,Double_t dz,Double_t l);
      22             :   AliESDTOFMatch(AliESDTOFMatch &source);
      23         528 :   virtual ~AliESDTOFMatch() {}
      24             :   AliESDTOFMatch &operator=(const AliESDTOFMatch& source);
      25           0 :   virtual Float_t GetDx() const {return fDx;}
      26           0 :   virtual Float_t GetDy() const {return fDy;}
      27           0 :   virtual Float_t GetDz() const {return fDz;}
      28        3596 :   virtual Float_t GetTrackLength() const {return fTrackLength;}
      29           0 :   virtual void SetDx(Double_t delta) {fDx = delta;}
      30           0 :   virtual void SetDy(Double_t delta) {fDy = delta;}
      31           0 :   virtual void SetDz(Double_t delta) {fDz = delta;}
      32           0 :   virtual void SetTrackLength(Double_t length) {fTrackLength = length;}
      33             :   //
      34       21920 :   virtual Double_t GetIntegratedTimes(Int_t i) const {return fIntegratedTimes[i];}
      35           0 :   virtual void     GetIntegratedTimes(Double_t* t) const {for (int i=AliPID::kSPECIESC;i--;) t[i]=fIntegratedTimes[i];}
      36           0 :   virtual void     SetIntegratedTimes(Double_t* t)       {for (int i=AliPID::kSPECIESC;i--;) fIntegratedTimes[i]=t[i];}
      37             :   //
      38        7084 :   virtual Int_t GetTrackIndex()           const {return GetUniqueID();}
      39         264 :   virtual void  SetTrackIndex(Int_t id)         {SetUniqueID(id);}
      40             :   void Print(const Option_t *opt=0) const;
      41             :   
      42             :  protected:
      43             :   Double32_t fDx;                // DeltaX residual
      44             :   Double32_t fDy;                //! DeltaY residual
      45             :   Double32_t fDz;                // DeltaZ residual
      46             :   Double32_t fTrackLength;       // track Length
      47             :   Double32_t fIntegratedTimes[AliPID::kSPECIESC]; // int timex
      48             :   //
      49         188 :   ClassDef(AliESDTOFMatch, 1) // TOF matchable hit
      50             :     //
      51             : };
      52             : #endif

Generated by: LCOV version 1.11