updated commment
[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
88cb7938 16/* $Id$ */
6f1e466d 17
18///////////////////////////////////////////////////////////////////////////////
19// //
20// Hit object for the TRD //
21// //
22///////////////////////////////////////////////////////////////////////////////
23
24#include "AliTRDhit.h"
25
26ClassImp(AliTRDhit)
8230f242 27
28//_____________________________________________________________________________
3bc9d03e 29AliTRDhit::AliTRDhit()
30 :AliHit()
31 ,fDetector(0)
32 ,fQ(0)
8230f242 33{
34 //
35 // AliTRDhit default constructor
36 //
37
38}
39
6f1e466d 40//_____________________________________________________________________________
793ff80c 41AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det
42 , Float_t *hits, Int_t q)
3bc9d03e 43 :AliHit(shunt,track)
44 ,fDetector((UShort_t) det)
45 ,fQ((Short_t) q)
6f1e466d 46{
47 //
48 // Create a TRD hit
49 //
50
793ff80c 51 // Store position
3bc9d03e 52 fX = hits[0];
53 fY = hits[1];
54 fZ = hits[2];
6f1e466d 55
56}
8230f242 57
58//_____________________________________________________________________________
59AliTRDhit::~AliTRDhit()
60{
61 //
62 // AliTRDhit destructor
63 //
64
65}