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