cuts on Q out, side, long 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
29 fVolume = vol[2];
30 fCopy = vol[3];
31 fX = hits[0];
32 fY = hits[1];
33 fZ = hits[2];
34 fXloc = hits[3];
35 fYloc = hits[4];
36 fZloc = hits[5];
37 fEdep = hits[6];
38 fEtot = hits[7];
39 fTrackPiD = hits[8];
40 fParticle = hits[9];
41 fTof = hits[10];
42 fIsTrackEntering = hits[11];
43 fIsTrackExiting = hits[12];
44 fCharge = hits[13];
45 fIsCerenkov = hits[14];
46 fMulti = hits[15];
47 fTheta = hits[16];
48 fPhi = hits[17];
49 fNGCerenkovs = hits[18];
50}