]>
Commit | Line | Data |
---|---|---|
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 | ||
19 | */ | |
20 | ||
21 | #include "AliCRThit.h" | |
22 | ||
23 | ClassImp(AliCRThit) | |
24 | ||
25 | //____________________________________________________________________________ | |
26 | AliCRThit::AliCRThit(const AliCRThit & hit) | |
27 | { | |
28 | // | |
29 | // copy ctor for AliCRThit object | |
30 | // | |
31 | ||
32 | fnmou = hit.fnmou; | |
33 | fId = hit.fId; | |
34 | fX = hit.fX; | |
35 | fY = hit.fY; | |
36 | fZ = hit.fZ; | |
37 | fpxug = hit.fpxug; | |
38 | fpyug = hit.fpyug; | |
39 | fpzug = hit.fpzug; | |
40 | flay = hit.flay; | |
41 | fxver = hit.fxver; | |
42 | fyver = hit.fyver; | |
43 | fzver = hit.fzver; | |
44 | } | |
45 | ||
46 | //______________________________________________________________________________ | |
47 | AliCRThit::AliCRThit(Int_t shunt, Int_t track, Int_t *vol, | |
48 | Float_t *hits) :AliHit(shunt, track) | |
49 | { | |
50 | // | |
51 | // Constructor of hit object | |
52 | // | |
53 | ||
54 | fnmou = hits[0]; | |
55 | fId = hits[1]; | |
56 | fX = hits[2]; | |
57 | fY = hits[3]; | |
58 | fZ = hits[4]; | |
59 | fpxug = hits[5]; | |
60 | fpyug = hits[6]; | |
61 | fpzug = hits[7]; | |
62 | flay = hits[8]; | |
63 | fxver = hits[9]; | |
64 | fyver = hits[10]; | |
65 | fzver = hits[11]; | |
66 | } | |
67 |