X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDhit.cxx;h=46a4b4341d7064ddf810c242bd486734353ff6f4;hb=38a5dfec900f32325cfec561efd67d38f27ad01a;hp=b26fccddcac96d643455c0dab9b5378b00c27169;hpb=6f1e466d6db177aa095cc30f57958d5e62389e1c;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDhit.cxx b/TRD/AliTRDhit.cxx index b26fccddcac..46a4b4341d7 100644 --- a/TRD/AliTRDhit.cxx +++ b/TRD/AliTRDhit.cxx @@ -13,12 +13,7 @@ * provided "as is" without express or implied warranty. * **************************************************************************/ -/* -$Log$ -Revision 1.1.2.1 2000/05/08 14:48:31 cblume -AliTRDhit class now in separate files - -*/ +/* $Id$ */ /////////////////////////////////////////////////////////////////////////////// // // @@ -29,22 +24,44 @@ 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) - :AliHit(shunt, track) +AliTRDhit::AliTRDhit() + :AliHit() + ,fDetector(0) + ,fQ(0) + ,fTime(0) +{ + // + // AliTRDhit default constructor + // + +} + +//_____________________________________________________________________________ +AliTRDhit::AliTRDhit(Int_t shunt, Int_t track, Int_t det + , const Float_t * const hits, Int_t q, Float_t time) + :AliHit(shunt,track) + ,fDetector((UShort_t) det) + ,fQ((Short_t) q) + ,fTime(time) { // // Create a TRD hit // - // Store volume hierarchy - fDetector = det; + // Store position + fX = hits[0]; + fY = hits[1]; + fZ = hits[2]; + +} - // Store position and charge - fX = hits[0]; - fY = hits[1]; - fZ = hits[2]; - fQ = hits[3]; +//_____________________________________________________________________________ +AliTRDhit::~AliTRDhit() +{ + // + // AliTRDhit destructor + // }