]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTrackHit.h
Corrections to violations of coding conventions
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackHit.h
index 92ffa7ec0235a0eae139ec95b8541eb99eae3c97..e6e7c33c2b487fc4c5ce51d31c344591ea6ca025 100644 (file)
@@ -5,8 +5,12 @@
 
 /*$Id$*/
 
-#include <TROOT.h>
-#include "AliMUONTrackParam.h"
+///////////////////////////////////////////////////////
+// Reconstructed track hit in ALICE dimuon spectrometer
+///////////////////////////////////////////////////////
+
+#include <TObject.h>
+#include "AliMUONTrackParam.h" // object belongs to the class
 
 class AliMUONHitForRec;
 
@@ -21,15 +25,9 @@ class AliMUONTrackHit : public TObject {
   AliMUONTrackHit(AliMUONHitForRec* Hit); // Constructor from one HitForRec
 
   // Inline functions for Get and Set
-  AliMUONHitForRec* GetHitForRecPtr(void) {
-    // Get fHitForRecPtr
-    return fHitForRecPtr;}
-  AliMUONTrackParam* GetTrackParam(void) {
-    // Get pointer to fTrackParam
-    return &(fTrackParam);}
-  void SetTrackParam(AliMUONTrackParam* TrackParam) {
-    // Set fTrackParam
-    fTrackParam = *TrackParam;}
+  AliMUONHitForRec* GetHitForRecPtr(void) const {return fHitForRecPtr;}
+  AliMUONTrackParam* GetTrackParam(void) {return &(fTrackParam);}
+  void SetTrackParam(AliMUONTrackParam* TrackParam) {fTrackParam = *TrackParam;}
 
   // What is necessary for sorting TClonesArray's; sufficient too ????
   Bool_t IsSortable () const {