]>
Commit | Line | Data |
---|---|---|
a9e2aefa | 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 | ||
88cb7938 | 16 | /* $Id$ */ |
0e83b872 | 17 | |
a9e2aefa | 18 | #include "AliMUONHit.h" |
19 | ||
20 | ClassImp(AliMUONHit) | |
21 | ||
22 | //___________________________________________ | |
0e83b872 | 23 | AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits): |
a9e2aefa | 24 | AliHit(shunt, track) |
25 | { | |
26 | // Constructor | |
2eb55fab | 27 | fChamber = vol[0]; |
28 | fParticle = hits[0]; | |
29 | fX = hits[1]; | |
30 | fY = hits[2]; | |
31 | fZ = hits[3]; | |
32 | fTheta = hits[4]; | |
33 | fPhi = hits[5]; | |
34 | fTlength = hits[6]; | |
35 | fEloss = hits[7]; | |
36 | fPHfirst = (Int_t) hits[8]; | |
37 | fPHlast = (Int_t) hits[9]; | |
38 | fPTot = hits[10]; | |
39 | fPx = hits[11]; | |
40 | fPy = hits[12]; | |
41 | fPz = hits[13]; | |
42 | fAge = hits[14]; | |
a9e2aefa | 43 | } |
0e83b872 | 44 | //___________________________________________ |
45 | AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t iChamber, Int_t idpart, Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, Float_t theta, Float_t phi, Float_t length, Float_t destep): | |
46 | AliHit(shunt, track) | |
47 | { | |
48 | // Constructor | |
49 | fChamber = iChamber; | |
50 | fParticle = idpart; | |
51 | fX = X; | |
52 | fY = Y; | |
53 | fZ = Z; | |
54 | fTheta = theta; | |
55 | fPhi = phi; | |
56 | fTlength = length; | |
57 | fEloss = destep; | |
58 | fPHfirst = 0; | |
59 | fPHlast = 0; | |
60 | fPTot = momentum; | |
61 | fAge = tof; | |
62 | } | |
63 | ||
a9e2aefa | 64 | |
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 |