]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDhit.cxx
f1f77eaca2817c53c336a5daa6ed7b42488624d6
[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.3  2000/06/07 16:25:37  cblume
19 Try to remove compiler warnings on Sun and HP
20
21 Revision 1.2  2000/05/08 16:17:27  cblume
22 Merge TRD-develop
23
24 Revision 1.1.2.1  2000/05/08 14:48:31  cblume
25 AliTRDhit class now in separate files
26
27 */
28
29 ///////////////////////////////////////////////////////////////////////////////
30 //                                                                           //
31 //  Hit object for the TRD                                                   //
32 //                                                                           //
33 ///////////////////////////////////////////////////////////////////////////////
34
35 #include "AliTRDhit.h"
36
37 ClassImp(AliTRDhit)
38
39 //_____________________________________________________________________________
40 AliTRDhit::AliTRDhit():AliHit()
41 {
42   //
43   // AliTRDhit default constructor
44   //
45
46 }
47
48 //_____________________________________________________________________________
49 AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t *det, Float_t *hits)
50           :AliHit(shunt, track)
51 {
52   //
53   // Create a TRD hit
54   //
55
56   // Store volume hierarchy
57   fDetector = det[0];
58
59   // Store position and charge
60   fX        = hits[0];
61   fY        = hits[1];
62   fZ        = hits[2];
63   fQ        = hits[3];
64
65 }
66
67 //_____________________________________________________________________________
68 AliTRDhit::~AliTRDhit()
69 {
70   //
71   // AliTRDhit destructor
72   //
73
74 }