]>
Commit | Line | Data |
---|---|---|
237c933d | 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$ */ |
237c933d | 17 | |
18 | #include "AliRICHHit.h" | |
19 | ClassImp(AliRICHHit) | |
20 | //___________________________________________ | |
21 | AliRICHHit::AliRICHHit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits): | |
22 | AliHit(shunt, track) | |
23 | { | |
24 | // Constructor | |
25 | fChamber=vol[0]; | |
26 | fParticle=hits[0]; | |
27 | fX=hits[1]; | |
28 | fY=hits[2]; | |
29 | fZ=hits[3]; | |
30 | fTheta=hits[4]; | |
31 | fPhi=hits[5]; | |
32 | fTlength=hits[6]; | |
33 | fEloss=hits[7]; | |
34 | fPHfirst=(Int_t) hits[8]; | |
35 | fPHlast=(Int_t) hits[9]; | |
36 | fLoss=hits[13]; | |
37 | fMomX=hits[14]; | |
38 | fMomY=hits[15]; | |
39 | fMomZ=hits[16]; | |
40 | fNPads=hits[17]; | |
3ed66941 | 41 | fCerenkovAngle=hits[18]; |
42 | fMomFreoX=hits[19]; | |
43 | fMomFreoY=hits[20]; | |
44 | fMomFreoZ=hits[21]; | |
237c933d | 45 | } |