]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONHit.cxx
Code from MUON-dev joined
[u/mrichter/AliRoot.git] / MUON / AliMUONHit.cxx
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 Revision 1.1.2.1  2000/06/09 22:02:14  morsch
19 Was before in DataStructures.cxx
20
21 */
22 #include "AliMUONHit.h"
23
24 ClassImp(AliMUONHit)
25  
26 //___________________________________________
27     AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
28         AliHit(shunt, track)
29 {
30 // Constructor
31     fChamber=vol[0];
32     fParticle=hits[0];
33     fX=hits[1];
34     fY=hits[2];
35     fZ=hits[3];
36     fTheta=hits[4];
37     fPhi=hits[5];
38     fTlength=hits[6];
39     fEloss=hits[7];
40     fPHfirst=(Int_t) hits[8];
41     fPHlast=(Int_t) hits[9];
42
43     // modifs perso
44     fPTot=hits[10];
45     fCxHit=hits[11];
46     fCyHit=hits[12];
47     fCzHit=hits[13];
48     fAge=hits[14];
49     
50 }
51
52
53
54
55
56
57