]> git.uio.no Git - u/mrichter/AliRoot.git/blame - CRT/AliCRThit.cxx
Depth variable added
[u/mrichter/AliRoot.git] / CRT / AliCRThit.cxx
CommitLineData
fb7a1f55 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/*
c312f3f0 17$Log$
fb7a1f55 18
19*/
20
21#include "AliCRThit.h"
22
23ClassImp(AliCRThit)
24
25//____________________________________________________________________________
26AliCRThit::AliCRThit(const AliCRThit & hit)
27{
28 //
29 // copy ctor for AliCRThit object
30 //
31
32 fnmou = hit.fnmou;
c312f3f0 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;
fb7a1f55 44}
45
46//______________________________________________________________________________
47AliCRThit::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];
c312f3f0 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];
fb7a1f55 66}
67