Line data Source code
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 : /* $Id$ */
17 :
18 : ///////////////////////////////////////////////////////////////////////////////
19 : // //
20 : // Hit object for the TRD //
21 : // //
22 : ///////////////////////////////////////////////////////////////////////////////
23 :
24 : #include "AliTRDhit.h"
25 :
26 48 : ClassImp(AliTRDhit)
27 :
28 : //_____________________________________________________________________________
29 : AliTRDhit::AliTRDhit()
30 12607 : :AliHit()
31 12607 : ,fDetector(0)
32 12607 : ,fQ(0)
33 12607 : ,fTime(0)
34 63035 : {
35 : //
36 : // AliTRDhit default constructor
37 : //
38 :
39 25214 : }
40 :
41 : //_____________________________________________________________________________
42 : AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det
43 : , const Float_t * const hits, Int_t q, Float_t time)
44 23225 : :AliHit(shunt,track)
45 23225 : ,fDetector((UShort_t) det)
46 23225 : ,fQ((Short_t) q)
47 23225 : ,fTime(time)
48 116125 : {
49 : //
50 : // Create a TRD hit
51 : //
52 :
53 : // Store position
54 23225 : fX = hits[0];
55 23225 : fY = hits[1];
56 23225 : fZ = hits[2];
57 :
58 46450 : }
59 :
60 : //_____________________________________________________________________________
61 : AliTRDhit::~AliTRDhit()
62 75640 : {
63 : //
64 : // AliTRDhit destructor
65 : //
66 :
67 75640 : }
|