LCOV - code coverage report
Current view: top level - PHOS/PHOSbase - AliPHOSLink.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 9 11.1 %
Date: 2016-06-14 17:26:59 Functions: 1 16 6.2 %

          Line data    Source code
       1             : #ifndef ALIPHOSLINK_H
       2             : #define ALIPHOSLINK_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /* $Id$ */
       7             : 
       8             : //_________________________________________________________________________
       9             : //  Algorithm class used only by AliPHOSTrackSegmentMaker 
      10             : //  Links recpoints
      11             : // into tracksegments                
      12             : //*-- Author: Dmitri Peressounko (SUBATECH)
      13             : 
      14             : // --- ROOT system ---
      15             : 
      16             : #include "TObject.h"
      17             : 
      18             : // --- Standard library ---
      19             : 
      20             : // --- AliRoot header files ---
      21             : 
      22           0 : class AliPHOSLink : public  TObject{
      23             :   
      24             : public:
      25             :   
      26             :   AliPHOSLink() ;  // ctor            
      27             :   AliPHOSLink( Float_t x, Float_t z, Int_t emc, Int_t cpv, Int_t track) ;  // ctor            
      28           0 :   virtual ~AliPHOSLink(){
      29             :     // dtor
      30           0 :   }
      31             :   Int_t   Compare(const TObject * obj) const;
      32           0 :   Int_t   GetEmc(void) const { return fEmcN; }
      33           0 :   Int_t   GetCpv(void) const { return fCpvN ; }
      34           0 :   void    GetXZ(Float_t &dx, Float_t &dz) const { dx=fx ; dz = fz ; } 
      35           0 :   Int_t   GetTrack(void) const { return fTrack ; }
      36             :   Bool_t  IsSortable() const{ 
      37             :     // tells if this is a sortable object 
      38           0 :     return kTRUE ; 
      39             :   }
      40             :   
      41             : private:
      42             :   
      43             :   Int_t fEmcN ;  // Emc index
      44             :   Int_t fCpvN ;  // Cpv index 
      45             :   Int_t fTrack;  // Charged tracked within a minimum distance of the EMC
      46             :   Float_t fx ;   // Distance between EMC and CPV RecPoints in a track segment
      47             :   Float_t fz ;   // Distance between EMC and CPV RecPoints in a track segment
      48             :   
      49          22 :   ClassDef(AliPHOSLink,2)  // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
      50             : 
      51             : };
      52             : 
      53             : #endif // AliPHOSLINK_H

Generated by: LCOV version 1.11