]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDhit.cxx
README updated (R.Barbera)
[u/mrichter/AliRoot.git] / FMD / AliFMDhit.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
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  **************************************************************************/
15 #include "AliFMDhit.h"
16
17 ClassImp(AliFMDhit)
18
19 AliFMDhit::AliFMDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
20   AliHit(shunt, track)
21 {
22 //Normal FMD  hit ctor
23   fVolume = vol[0];
24   fNumberOfSector=vol[1];
25   fNumberOfRing=vol[2];
26   fX=hits[0];
27   fY=hits[1];
28   fZ=hits[2];
29   fPx=hits[3];
30   fPy=hits[4];
31   fPz=hits[5];
32   fEdep=hits[6];
33   fParticle=(Int_t)hits[7];
34   fTime=hits[8];
35 }
36  
37
38
39
40
41
42
43
44
45
46
47
48
49