]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added member function IsMC
authorcholm <Christian.Holm.Christensen@cern.ch>
Fri, 26 Sep 2014 07:34:03 +0000 (09:34 +0200)
committercholm <Christian.Holm.Christensen@cern.ch>
Fri, 26 Sep 2014 07:34:03 +0000 (09:34 +0200)
PWGLF/FORWARD/analysis2/AliForwardQATask.h

index 6c576ddb3a92c3350ad98498d5378a1b33c99058..aec633fcb7a3c891c76b5327da4115236ab7c90e 100644 (file)
@@ -210,6 +210,12 @@ public:
    * @param option Not used
    */
   void Print(Option_t* option="") const;
+  /** 
+   * Check if we're running over MC data
+   * 
+   * @return true if the event inspector thinks it's MC
+   */
+  Bool_t IsMC() const { return GetEventInspector().IsMC(); }
 protected: 
   /** 
    * Copy constructor