]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnCutPIDTOF.h
Recovery ESDpid from InputHandler
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutPIDTOF.h
index 8f64e11caa2cfd3e868c8b75208d2b5bc4eddae7..1c92c3b2274cc321d513439fb9104dd2c1999e89 100644 (file)
@@ -48,8 +48,11 @@ class AliRsnCutPIDTOF : public AliRsnCut
     virtual Bool_t  IsSelected(TObject *object);
     virtual void    Print(const Option_t *option = "") const;
 
-  protected:
-  
+  private:
+
+    void Initialize();
+
+    Bool_t            fInitialized;      // a mono-usage flag which initializes the ESD pid object
     Bool_t            fRejectUnmatched;  //  decide if non TOF matched tracks pass the cut or not
     EPARTYPE          fRefType;          //  particle type for which PID is checked   
     Double_t          fRefMass;          //  reference mass used for computations