]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDhit.cxx
Major upgrades to the strip structure
[u/mrichter/AliRoot.git] / TRD / AliTRDhit.cxx
index f1f77eaca2817c53c336a5daa6ed7b42488624d6..092ab47aa09df754ddad63a777838a0cf32bca1c 100644 (file)
 
 /*
 $Log$
+Revision 1.5  2000/11/01 14:53:21  cblume
+Merge with TRD-develop
+
+Revision 1.1.2.2  2000/09/18 13:41:29  cblume
+Changed fDetector to UShort and fQ to Short_t. Use customized streamer
+
+Revision 1.4  2000/06/08 18:32:58  cblume
+Make code compliant to coding conventions
+
 Revision 1.3  2000/06/07 16:25:37  cblume
 Try to remove compiler warnings on Sun and HP
 
@@ -46,21 +55,24 @@ AliTRDhit::AliTRDhit():AliHit()
 }
 
 //_____________________________________________________________________________
-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;
 
 }