1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 //_________________________________________________________________________
17 // TOF hit : member variables
19 // fX : X coordinate of the hit in the Master Reference Frame (LAB Frame)
20 // fY : Y coordinate of the hit in the Master Reference Frame (LAB Frame)
21 // fZ : Z coordinate of the hit in the Master Reference Frame (LAB Frame)
22 // fSector : Number of the TOF Sector which belongs the hit
23 // fPlate : Number of the TOF Plate or Module which belongs the hit
24 // fStrip : Number of the TOF Strip which belongs the hit
25 // fPadx : Number of the pad in the strip along the x-axis - in the strip reference frame
26 // - where hit is produced
27 // fPadz : Number of the pad in the strip along the z-axis - in the strip reference frame
28 // - where hit is produced
29 // fPx : x-director cosine of the Charged Particle Momentum when hit is
30 // produced - expressed in the Master Reference Frame (LAB Frame) -
31 // fPy : y-director cosine of the Charged Particle Momentum when hit is
32 // produced - expressed in the Master Reference Frame (LAB Frame) -
33 // fPz : z-director cosine of the Charged Particle Momentum when hit is
34 // produced - expressed in the Master Reference Frame (LAB Frame) -
35 // fPmom : Modulus of the Charged Particle Momentum when hit is produced
36 // fTof : Time of Flight i.e. the time between the charged particle is produced and this
37 // particle produce the hit on the TOF sensible volume (pad)
38 // fDx : Distance of the hit from the pad edge along x-axis
39 // fDy : y coordinate of the hit in the pad refernce frame
40 // fDz : Distance of the hit from the pad edge along z-axis
41 // fIncA : Incidence Angle between the Normal to the sensible volume where hit
42 // is produced (pad) and the Momentum Direction of the Charged Particle which
44 // fEdep : Energy released by charged particle on the sensible TOF volume where hit is
46 // For more detailed informations about the meaning of the TOF-hit member
48 // http://www.bo.infn.it/alice/alice-doc/TOFWEB/variables-hits.html
50 // Getters, setters and member functions defined here
52 //*-- Authors: F. Pierella, A. Seganti, D. Vicinanza
56 #include "AliTOFhit.h"
60 //____________________________________________________________________________
61 AliTOFhit::AliTOFhit():
81 //____________________________________________________________________________
82 AliTOFhit::AliTOFhit(const AliTOFhit & hit)
101 // copy ctor for AliTOFhit object
106 //______________________________________________________________________________
107 AliTOFhit::AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol,
108 Float_t * const hits)
109 :AliHit(shunt, track),
127 // Constructor of hit object
138 //Position of the hit
143 // Momentum components of the particle in the ALICE frame when hit is produced
149 // Time Of Flight for the particle that produces hit
150 fTof = hits[7]; //TOF[s]
153 fDx = hits[8]; //Distance from the edge along x axis
154 fDy = hits[9]; //Y cohordinate of the hit
155 fDz = hits[10]; //Distance from the edge along z axis
156 fIncA= hits[11]; //Incidence angle
157 fEdep= hits[12]; //Energy loss in TOF pad