LCOV - code coverage report
Current view: top level - STEER/STEERBase - AliVTrdTracklet.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 4 75.0 %
Date: 2016-06-14 17:26:59 Functions: 4 10 40.0 %

          Line data    Source code
       1             : #ifndef ALIVTRDTRACKLET_H
       2             : #define ALIVTRDTRACKLET_H
       3             : 
       4             : // format for the TRD tracklets calculated in the FEE,
       5             : // used for the TRD L1 trigger
       6             : // Author: Jochen Klein <jochen.klein@cern.ch>
       7             : 
       8             : #include "TObject.h"
       9             : 
      10             : class AliVTrdTracklet : public TObject {
      11             :  public:
      12             : 
      13             :   AliVTrdTracklet();
      14       31292 :   virtual ~AliVTrdTracklet() {};
      15             :   AliVTrdTracklet(const AliVTrdTracklet& track);
      16             :   AliVTrdTracklet& operator=(const AliVTrdTracklet& track);
      17             :   virtual void Copy(TObject &obj) const;
      18             : 
      19             :   // tracklet information
      20             :   virtual UInt_t GetTrackletWord() const = 0;
      21             :   virtual Int_t  GetBinY() const = 0;
      22             :   virtual Int_t  GetBinDy() const = 0;
      23             :   virtual Int_t  GetBinZ() const = 0;
      24             :   virtual Int_t  GetPID() const = 0;
      25             : 
      26             :   // position and deflection information (chamber-local)
      27         584 :   Float_t GetLocalY() const { return GetBinY() * fgkBinWidthY; }
      28           0 :   Float_t GetDyDx() const { return GetBinDy() * fgkBinWidthDy/fgkDriftLength; }
      29             : 
      30             :   virtual Int_t GetHCId() const = 0;
      31             :   virtual Int_t GetDetector() const = 0;
      32             :   virtual Int_t GetLabel() const = 0;
      33             : 
      34             :  protected:
      35             : 
      36             :   static const Float_t fgkBinWidthY;   // bin width y-position
      37             :   static const Float_t fgkBinWidthDy;  // bin width deflection length
      38             :   static const Float_t fgkDriftLength; // drift length to which the deflection length is scaled
      39             : 
      40         196 :   ClassDef(AliVTrdTracklet,0)
      41             : };
      42             : 
      43             : #endif

Generated by: LCOV version 1.11