]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDhit.cxx
Smaller changes
[u/mrichter/AliRoot.git] / TRD / AliTRDhit.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.5  2000/11/01 14:53:21  cblume
19 Merge with TRD-develop
20
21 Revision 1.1.2.2  2000/09/18 13:41:29  cblume
22 Changed fDetector to UShort and fQ to Short_t. Use customized streamer
23
24 Revision 1.4  2000/06/08 18:32:58  cblume
25 Make code compliant to coding conventions
26
27 Revision 1.3  2000/06/07 16:25:37  cblume
28 Try to remove compiler warnings on Sun and HP
29
30 Revision 1.2  2000/05/08 16:17:27  cblume
31 Merge TRD-develop
32
33 Revision 1.1.2.1  2000/05/08 14:48:31  cblume
34 AliTRDhit class now in separate files
35
36 */
37
38 ///////////////////////////////////////////////////////////////////////////////
39 //                                                                           //
40 //  Hit object for the TRD                                                   //
41 //                                                                           //
42 ///////////////////////////////////////////////////////////////////////////////
43
44 #include "AliTRDhit.h"
45
46 ClassImp(AliTRDhit)
47
48 //_____________________________________________________________________________
49 AliTRDhit::AliTRDhit():AliHit()
50 {
51   //
52   // AliTRDhit default constructor
53   //
54
55 }
56
57 //_____________________________________________________________________________
58 AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det
59                    , Float_t *hits, Int_t q)
60           :AliHit(shunt, track)
61 {
62   //
63   // Create a TRD hit
64   //
65
66   // Store detector number
67   fDetector = (UShort_t) det;
68
69   // Store position 
70   fX        = hits[0];
71   fY        = hits[1];
72   fZ        = hits[2];
73
74   // Store the charge
75   fQ        = (Short_t) q;
76
77 }
78
79 //_____________________________________________________________________________
80 AliTRDhit::~AliTRDhit()
81 {
82   //
83   // AliTRDhit destructor
84   //
85
86 }