/*
$Log$
+Revision 1.5 2001/01/26 21:46:33 morsch
+Use access functions to MUONHit, ... data members.
+
+Revision 1.4 2000/10/02 21:28:09 fca
+Removal of useless dependecies via forward declarations
+
+Revision 1.3 2000/06/25 13:06:39 hristov
+Inline functions moved from *.cxx to *.h files instead of forward declarations
+
Revision 1.2 2000/06/15 07:58:48 morsch
Code from MUON-dev joined
// which are taken from the coordinates of the GEANT hit,
// the track number (GEANT and not TH),
// and the chamber number (0...).
- fBendingCoor = Ghit->fY;
- fNonBendingCoor = Ghit->fX;
- fZ = Ghit->fZ;
+ fBendingCoor = Ghit->Y();
+ fNonBendingCoor = Ghit->X();
+ fZ = Ghit->Z();
// fTrack = Ghit->fTrack; ?????????
- fChamberNumber = Ghit->fChamber - 1;
+ fChamberNumber = Ghit->Chamber() - 1;
// other fields will be updated in
// AliMUONEventReconstructor::NewHitForRecFromGEANT,
// except the following ones
return *this;
}
//__________________________________________________________________________
-Int_t AliMUONHitForRec::Compare(TObject* Hit)
+Int_t AliMUONHitForRec::Compare(const TObject* Hit) const
{
// "Compare" function to sort with increasing chamber number.
// Returns -1 (0, +1) if ChamberNumber of current HitForRec