]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDhit.cxx
Macro for Bari's 1D pattern recognition
[u/mrichter/AliRoot.git] / TRD / AliTRDhit.cxx
index b26fccddcac96d643455c0dab9b5378b00c27169..f1f77eaca2817c53c336a5daa6ed7b42488624d6 100644 (file)
 
 /*
 $Log$
+Revision 1.3  2000/06/07 16:25:37  cblume
+Try to remove compiler warnings on Sun and HP
+
+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
 
@@ -29,9 +35,18 @@ AliTRDhit class now in separate files
 #include "AliTRDhit.h"
 
 ClassImp(AliTRDhit)
+
 //_____________________________________________________________________________
-AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits)
+AliTRDhit::AliTRDhit():AliHit()
+{
+  //
+  // AliTRDhit default constructor
+  //
+
+}
+
+//_____________________________________________________________________________
+AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t *det, Float_t *hits)
           :AliHit(shunt, track)
 {
   //
@@ -39,7 +54,7 @@ AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits)
   //
 
   // Store volume hierarchy
-  fDetector = det;
+  fDetector = det[0];
 
   // Store position and charge
   fX        = hits[0];
@@ -48,3 +63,12 @@ AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits)
   fQ        = hits[3];
 
 }
+
+//_____________________________________________________________________________
+AliTRDhit::~AliTRDhit()
+{
+  //
+  // AliTRDhit destructor
+  //
+
+}