]>
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 | ||
16 | /* | |
17 | $Log$ | |
555ccc34 | 18 | Revision 1.1 2000/06/12 15:16:59 jbarbosa |
19 | Cleaned up version. | |
20 | ||
237c933d | 21 | */ |
22 | #include "AliRICHCerenkov.h" | |
23 | ||
24 | ClassImp(AliRICHCerenkov) | |
25 | //___________________________________________ | |
26 | AliRICHCerenkov::AliRICHCerenkov(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits): | |
27 | AliHit(shunt, track) | |
28 | { | |
29 | // Constructor for object AliRICHCerenkov | |
30 | fChamber=vol[0]; | |
31 | fX=hits[1]; | |
32 | fY=hits[2]; | |
33 | fZ=hits[3]; | |
34 | fTheta=hits[4]; | |
35 | fPhi=hits[5]; | |
555ccc34 | 36 | fTlength=hits[6]; |
237c933d | 37 | fEloss=hits[7]; |
38 | fPHfirst=(Int_t) hits[8]; | |
39 | fPHlast=(Int_t) hits[9]; | |
40 | fCMother=Int_t(hits[10]); | |
41 | fIndex = hits[11]; | |
42 | fProduction = hits[12]; | |
43 | fLoss=hits[13]; | |
44 | fMomX=hits[14]; | |
45 | fMomY=hits[15]; | |
46 | fMomZ=hits[16]; | |
47 | fNPads=hits[17]; | |
48 | fCerenkovAngle=hits[18]; | |
49 | } | |
50 |