LCOV - code coverage report
Current view: top level - STEER/ESD - AliESDPmdTrack.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 19 28 67.9 %
Date: 2016-06-14 17:26:59 Functions: 22 34 64.7 %

          Line data    Source code
       1             : #ifndef ALIESDPMDTRACK_H
       2             : #define ALIESDPMDTRACK_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             : // Event Data Summary Class for pmd tracks
      10             : // This is part of the reconstructed ESD events
      11             : // for the PMD detector
      12             : 
      13             : #include "TObject.h"
      14             : 
      15             : class AliESDPmdTrack : public TObject {
      16             :  public:
      17             :   AliESDPmdTrack();
      18        3408 :   virtual ~AliESDPmdTrack(){;}
      19             :   AliESDPmdTrack (const AliESDPmdTrack &PMDTrack);  // copy constructor
      20             :   AliESDPmdTrack &operator=(const AliESDPmdTrack &PMDTrack); // assignment op
      21             :   virtual void Copy(TObject &obj) const;
      22             : 
      23         344 :   void SetDetector(Int_t idet) {fDet = idet;}
      24             :   
      25         344 :   void SetClusterX(Float_t xglobal) {fX = xglobal;}
      26         344 :   void SetClusterY(Float_t yglobal) {fY = yglobal;}
      27         344 :   void SetClusterZ(Float_t zglobal) {fZ = zglobal;}
      28         344 :   void SetClusterADC(Float_t cluadc) {fCluADC = cluadc;}
      29         344 :   void SetClusterCells(Float_t ncell) {fNcell = (UChar_t)ncell;}
      30         344 :   void SetClusterPID(Float_t clupid) {fCluPID = clupid;}
      31         344 :   void SetSmn(Int_t smn) {fSmn = smn;}
      32         344 :   void SetClusterTrackNo(Int_t trno) {fTrackNo = trno;}
      33         344 :   void SetClusterTrackPid(Int_t trpid) {fTrackPid = trpid;}
      34         344 :   void SetClusterMatching(UShort_t mstat) {fClMatching = mstat;}
      35         344 :   void SetClusterSigmaX(Float_t sigx) {fSigX = sigx;}
      36         344 :   void SetClusterSigmaY(Float_t sigy) {fSigY = sigy;}
      37             : 
      38         344 :   Double_t GetClusterX() const {return fX;}
      39         344 :   Double_t GetClusterY() const {return fY;}
      40         344 :   Double_t GetClusterZ() const {return fZ;}
      41         344 :   Double_t GetClusterADC() const {return fCluADC;}
      42           0 :   Double_t GetClusterPID() const {return fCluPID;}
      43           0 :   UChar_t  GetClusterCells() const {return fNcell;}
      44           0 :   UChar_t  GetDetector() const {return fDet;}
      45           0 :   Int_t    GetSmn() const {return fSmn;}
      46           0 :   Int_t    GetClusterTrackNo() const {return fTrackNo;}
      47           0 :   Int_t    GetClusterTrackPid() const {return fTrackPid;}
      48           0 :   UShort_t GetClusterMatching() const {return fClMatching;}
      49           0 :   Double_t GetClusterSigmaX() const {return fSigX;}
      50           0 :   Double_t GetClusterSigmaY() const {return fSigY;}
      51             :   
      52             :   
      53             :  protected:
      54             : 
      55             :   Double32_t fX;      // Cluster X position
      56             :   Double32_t fY;      // Cluster Y position
      57             :   Double32_t fZ;      // Cluster Z position (vertex uncorrected)
      58             :   Double32_t fCluADC; // Cluster Energy in ADC
      59             :   Double32_t fCluPID; //[0.,1.,8] Cluster probability, 1: Photon, 0: Hadron
      60             :   UChar_t    fDet;    // Detector, 0:PRE, 1:CPV
      61             :   UChar_t    fNcell;  // Cluster cells
      62             :   Int_t      fSmn;    // Serial module number
      63             :   Int_t      fTrackNo; // Track number assigned to the clus from simulation
      64             :   Int_t      fTrackPid; // Track pid assigned to clus from simulation
      65             :   UShort_t   fClMatching; // Cluster of PRE matching with CPV
      66             :   Double32_t fSigX;       // Cluster x-width
      67             :   Double32_t fSigY;       // Cluster y-width
      68             : 
      69         180 :   ClassDef(AliESDPmdTrack,5)  //PMD ESD track class 
      70             : 
      71             : };
      72             : 
      73             : #endif 

Generated by: LCOV version 1.11