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