Macros for creating OCDB
[u/mrichter/AliRoot.git] / MFT / AliMuonForwardTrack.h
index 939009e..8702c9d 100644 (file)
@@ -43,6 +43,8 @@ public:
   AliMUONTrack* GetMUONTrack() { return fMUONTrack; }
   TParticle* GetMCTrackRef() { return fMCTrackRef; }
 
+  Int_t GetCharge() { return TMath::Nint(GetTrackParamAtMUONCluster(0)->GetCharge()); }
+
   AliMUONVCluster* GetMUONCluster(Int_t iMUONCluster);
   AliMFTCluster*   GetMFTCluster(Int_t iMFTCluster);