LCOV - code coverage report
Current view: top level - ACORDE/ACORDEsim - AliACORDEhit.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 12 8.3 %
Date: 2016-06-14 17:26:59 Functions: 2 18 11.1 %

          Line data    Source code
       1             : #ifndef ALIACORDEHIT_H
       2             : #define ALIACORDEHIT_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             : //                                            //
      10             : //  Hit class for ACORDE                         //
      11             : //  Interface                                 //
      12             : //  Getters, Setters and member variables     //
      13             : //  declared here                             //
      14             : //                                            //
      15             : ////////////////////////////////////////////////
      16             : 
      17             : #include "AliHit.h"
      18             : 
      19           0 : class AliACORDEhit : public AliHit {  
      20             : public:
      21             :   AliACORDEhit();
      22             :   AliACORDEhit(Int_t shunt, Int_t track, Int_t* vol, Float_t *hits);
      23             :   virtual ~AliACORDEhit();
      24             : 
      25           0 :   Int_t GetModule() const {return fModule;}
      26           0 :   Int_t GetPlastic() const {return fPlastic;}
      27             : 
      28           0 :   Float_t TrackId()   const {return fTrackId;}
      29           0 :   Float_t GetTime() const {return fTime;}
      30           0 :   Float_t Px()           const {return fPx;}
      31           0 :   Float_t Py()           const {return fPy;}
      32           0 :   Float_t Pz()           const {return fPz;}
      33           0 :   Float_t Energy() const {return fEnergy;}
      34           0 :   Float_t Eloss()        const {return fEloss;}
      35             :   Float_t PolarAngle()   const;
      36             :   Float_t AzimuthAngle() const;
      37           0 :   Float_t TrkLength() const {return fTrkLength;}
      38             : 
      39             : 
      40             : protected:
      41             :   Int_t fModule;
      42             :   Int_t fPlastic;
      43             :   Float_t fTrackId;
      44             :   Float_t fTime;
      45             :   Float_t fPx;  
      46             :   Float_t fPy;  
      47             :   Float_t fPz;  
      48             :   Float_t fEloss;
      49             :   Float_t fEnergy;
      50             :   Float_t fTrkLength;
      51             : 
      52             : private:
      53          14 :   ClassDef(AliACORDEhit,1)  // Hit for ACORDE (ACORDE)
      54             : };
      55             : 
      56             : typedef AliACORDEhit AliCRThit; // for backward compatibility
      57             : 
      58             : #endif /* ALIACORDEHIT_H */

Generated by: LCOV version 1.11