]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MFT/AliMFTHit.h
Sintax editing in AliMFTHit.h
[u/mrichter/AliRoot.git] / MFT / AliMFTHit.h
index 1210840c4a105df125916b59e6755ba628f1c2a7..f3981c455f0303f430dd2986f0aebe606eaf6862 100644 (file)
@@ -58,13 +58,13 @@ public:
 
   TParticle* GetParticle() const;
 
-  Bool_t IsInside()      const { return (fStatus ==  1); }
-  Bool_t IsEntering()    const { return (fStatus ==  2); }
-  Bool_t IsExiting()     const { return (fStatus ==  4); }
-  Bool_t IsOut()         const { return (fStatus ==  8); }
-  Bool_t IsDisappeared() const { return (fStatus == 16); }
-  Bool_t IsStopped()     const { return (fStatus == 32); }
-  Bool_t IsAlive()       const { return (fStatus == 64); }
+  Bool_t IsInside()      const { return (fStatus & 0x1);    } 
+  Bool_t IsEntering()    const { return (fStatus & 0x1<<1); }
+  Bool_t IsExiting()     const { return (fStatus & 0x1<<2); }
+  Bool_t IsOut()         const { return (fStatus & 0x1<<3); }
+  Bool_t IsDisappeared() const { return (fStatus & 0x1<<4); }
+  Bool_t IsStopped()     const { return (fStatus & 0x1<<5); }
+  Bool_t IsAlive()       const { return (fStatus & 0x1<<6); }
 
 protected: