]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCHit.cxx
Adding AliZDCv2
[u/mrichter/AliRoot.git] / ZDC / AliZDCHit.cxx
CommitLineData
8e308087 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$Log
18*/
19
20////////////////////////////////////////////////
21// Hits classes for set ZDC //
22////////////////////////////////////////////////
23
24
25#include "AliZDCHit.h"
26
27ClassImp(AliZDCHit)
28
29//_____________________________________________________________________________
30AliZDCHit::AliZDCHit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
31 AliHit(shunt, track)
32{
33 //
34 // Add a ZDC hit
35 //
36 Int_t i;
5a881c97 37 for(i=0; i<2; i++) {
38 fVolume[i] = vol[i];
39 }
40 fX = hits[0];
41 fY = hits[1];
42 fZ = hits[2];
43 fPrimKinEn = hits[3];
44 fXImpact = hits[4];
45 fYImpact = hits[5];
46 fSFlag = hits[6];
47 fLightPMQ = hits[7];
48 fLightPMC = hits[8];
49 fEnergy = hits[9];
8e308087 50
51}