]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROhit.cxx
TreeAddress fixed
[u/mrichter/AliRoot.git] / VZERO / AliVZEROhit.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
16 /* $Id$ */
17
18
19 #include "AliVZEROhit.h"
20
21 ClassImp(AliVZEROhit)
22  
23 //_____________________________________________________________________________
24 AliVZEROhit::AliVZEROhit(Int_t shunt, Int_t track, Int_t* vol, Float_t* hits):
25   AliHit(shunt, track)
26 {
27   //
28   // Add a VZERO hit
29   //
30   
31   fVolume          = vol[0];
32   fCopy            = vol[1];
33   fX               = hits[0];
34   fY               = hits[1];
35   fZ               = hits[2];
36   fTrackPiD        = hits[3];
37   fTof             = hits[4];
38   fCharge          = hits[5];
39   fTheta           = hits[6];
40   fPhi             = hits[7];
41   fRingNumber      = hits[8];
42   
43   fPt              = hits[9];
44   fPmom            = hits[10];
45   fPx              = hits[11];
46   fPy              = hits[12];
47   fPz              = hits[13];
48   
49   fVx              = hits[14];
50   fVy              = hits[15];
51   fVz              = hits[16];
52   
53   fEloss           = hits[17];
54   fTleng           = hits[18];
55   
56 }