]>
Commit | Line | Data |
---|---|---|
971579f6 | 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 | #include "AliSTARThit.h" | |
21 | ||
22 | ClassImp(AliSTARThit) | |
23 | ||
24 | //_____________________________________________________________________________ | |
25 | AliSTARThit::AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits): | |
26 | AliHit(shunt, track) | |
27 | { | |
28 | // | |
29 | // Add a START hit | |
30 | // | |
31 | ||
32 | fVolume = vol[0]; | |
33 | fPmt=vol[1]; | |
34 | fX=hits[0]; | |
35 | fY=hits[1]; | |
36 | fZ=hits[2]; | |
37 | fEdep=hits[3]; | |
38 | fEtot=hits[4]; | |
39 | fParticle=Int_t (hits[5]); | |
40 | fTime=hits[6]; | |
41 | ||
42 | // for (Int_t i=0; i<=6; i++) {printf("Hits up %f\n",hits[i]);} | |
43 | } |