ROOT logo
#ifndef ALITOFHIT_H
#define ALITOFHIT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

////////////////////////////////////////////////
//                                            //
//  Hit class for TOF                         //
//  Interface                                 //
//  Getters, Setters and member variables     //
//  declared here                             //
//                                            //
////////////////////////////////////////////////

/* $Id$ */

#include "AliHit.h"

 
class AliTOFhit : public AliHit {
  
public:
  AliTOFhit();
  AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol, 
            Float_t * const hits);
  AliTOFhit(const AliTOFhit & hit) ;
  AliTOFhit& operator = (const AliTOFhit& hit);
  virtual ~AliTOFhit() {}
       // getters for AliTOFhit object
  Int_t   GetSector() const {return fSector;}
  Int_t   GetPlate()  const {return fPlate;}
  Int_t   GetPadx()   const {return fPadx;}
  Int_t   GetPadz()   const {return fPadz;}
  Int_t   GetStrip()  const {return fStrip;}
  Float_t GetTof()    const {return fTof;}
  Float_t GetMom()    const {return fPmom;}
  Float_t GetPx()     const {return fPx;}
  Float_t GetPy()     const {return fPy;}
  Float_t GetPz()     const {return fPz;}
  Float_t GetDx()     const  {return fDx;}
  Float_t GetDz()     const  {return fDz;}
  Float_t GetIncA()   const {return fIncA;}
  Float_t GetEdep()   const {return fEdep;}

protected:
  Int_t      fSector;  // number of sector 
  Int_t      fPlate;   // number of plate
  Int_t      fStrip;   // number of strip
  Int_t      fPadx;    // number of pad along x
  Int_t      fPadz;    // number of pad along z
// X, Y and Z coordinates of the hit are defined on mother class
// AliHit
  Float_t    fPx;      // px in TOF
  Float_t    fPy;      // py in TOF
  Float_t    fPz;      // pz in TOF
  Float_t    fPmom;    // P in TOF
  Float_t    fTof;     // Time of Flight
  Float_t    fDx;      // x of impact point in pad r.s.
  Float_t    fDy;      // y of impact point in pad r.s.
  Float_t    fDz;      // z of impact point in pad r.s.
  Float_t    fIncA;    // Incidence angle
  Float_t    fEdep;    // Energy lost in TOF sensitive layer

  ClassDef(AliTOFhit,1)  // Hit for Time Of Flight
};

#endif /* ALITOFHIT_H */
 AliTOFhit.h:1
 AliTOFhit.h:2
 AliTOFhit.h:3
 AliTOFhit.h:4
 AliTOFhit.h:5
 AliTOFhit.h:6
 AliTOFhit.h:7
 AliTOFhit.h:8
 AliTOFhit.h:9
 AliTOFhit.h:10
 AliTOFhit.h:11
 AliTOFhit.h:12
 AliTOFhit.h:13
 AliTOFhit.h:14
 AliTOFhit.h:15
 AliTOFhit.h:16
 AliTOFhit.h:17
 AliTOFhit.h:18
 AliTOFhit.h:19
 AliTOFhit.h:20
 AliTOFhit.h:21
 AliTOFhit.h:22
 AliTOFhit.h:23
 AliTOFhit.h:24
 AliTOFhit.h:25
 AliTOFhit.h:26
 AliTOFhit.h:27
 AliTOFhit.h:28
 AliTOFhit.h:29
 AliTOFhit.h:30
 AliTOFhit.h:31
 AliTOFhit.h:32
 AliTOFhit.h:33
 AliTOFhit.h:34
 AliTOFhit.h:35
 AliTOFhit.h:36
 AliTOFhit.h:37
 AliTOFhit.h:38
 AliTOFhit.h:39
 AliTOFhit.h:40
 AliTOFhit.h:41
 AliTOFhit.h:42
 AliTOFhit.h:43
 AliTOFhit.h:44
 AliTOFhit.h:45
 AliTOFhit.h:46
 AliTOFhit.h:47
 AliTOFhit.h:48
 AliTOFhit.h:49
 AliTOFhit.h:50
 AliTOFhit.h:51
 AliTOFhit.h:52
 AliTOFhit.h:53
 AliTOFhit.h:54
 AliTOFhit.h:55
 AliTOFhit.h:56
 AliTOFhit.h:57
 AliTOFhit.h:58
 AliTOFhit.h:59
 AliTOFhit.h:60
 AliTOFhit.h:61
 AliTOFhit.h:62
 AliTOFhit.h:63
 AliTOFhit.h:64
 AliTOFhit.h:65
 AliTOFhit.h:66
 AliTOFhit.h:67