* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.2 2000/05/08 16:17:27 cblume
-Merge TRD-develop
-
-Revision 1.1.2.1 2000/05/08 14:48:31 cblume
-AliTRDhit class now in separate files
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
#include "AliTRDhit.h"
ClassImp(AliTRDhit)
-
+
+//_____________________________________________________________________________
+AliTRDhit::AliTRDhit():AliHit()
+{
+ //
+ // AliTRDhit default constructor
+ //
+
+}
+
//_____________________________________________________________________________
-AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t *det, Float_t *hits)
+AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det
+ , Float_t *hits, Int_t q)
:AliHit(shunt, track)
{
//
// Create a TRD hit
//
- // Store volume hierarchy
- fDetector = det[0];
+ // Store detector number
+ fDetector = (UShort_t) det;
- // Store position and charge
+ // Store position
fX = hits[0];
fY = hits[1];
fZ = hits[2];
- fQ = hits[3];
+
+ // Store the charge
+ fQ = (Short_t) q;
+
+}
+
+//_____________________________________________________________________________
+AliTRDhit::~AliTRDhit()
+{
+ //
+ // AliTRDhit destructor
+ //
}