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