Merge TRD-develop
[u/mrichter/AliRoot.git] / TRD / AliTRDhit.cxx
CommitLineData
6f1e466d 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$
18Revision 1.1.2.1 2000/05/08 14:48:31 cblume
19AliTRDhit class now in separate files
20
21*/
22
23///////////////////////////////////////////////////////////////////////////////
24// //
25// Hit object for the TRD //
26// //
27///////////////////////////////////////////////////////////////////////////////
28
29#include "AliTRDhit.h"
30
31ClassImp(AliTRDhit)
32
33//_____________________________________________________________________________
34AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits)
35 :AliHit(shunt, track)
36{
37 //
38 // Create a TRD hit
39 //
40
41 // Store volume hierarchy
42 fDetector = det;
43
44 // Store position and charge
45 fX = hits[0];
46 fY = hits[1];
47 fZ = hits[2];
48 fQ = hits[3];
49
50}