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