]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliInputEventHandler.h
Fix in composition of QAChecked output image file (Melinda S.)
[u/mrichter/AliRoot.git] / STEER / AliInputEventHandler.h
index 10c8ae631b7b872c90326996cf67a9c3d2603d13..b6d2908966fbbe5b0a73078c360a9b12e170ed59 100644 (file)
@@ -18,13 +18,14 @@ class AliVEvent;
 class AliVCuts;
 class AliRunTag;
 class AliEventTag;
-
+class AliPIDResponse;
 
 class AliInputEventHandler : public AliVEventHandler {
 
  public:
  enum EInputHandlerFlags {
-    kUserCallSelectionMask = BIT(14) // Watch out for defining base class bits
+    kUserCallSelectionMask = BIT(14), // Watch out for defining base class bits
+    kCheckStatistics       = BIT(15)
  };
     AliInputEventHandler();
     AliInputEventHandler(const char* name, const char* title);
@@ -46,6 +47,7 @@ class AliInputEventHandler : public AliVEventHandler {
     virtual void         SetInputTree(TTree* tree)                    {fTree = tree;}
     virtual void         SetEventSelection(AliVCuts* cuts)            {fEventCuts = cuts;}
     virtual void         SetUserCallSelectionMask(Bool_t flag=kTRUE)  {TObject::SetBit(kUserCallSelectionMask,flag);}
+    virtual void         SetCheckStatistics(Bool_t flag=kTRUE)        {TObject::SetBit(kCheckStatistics,flag);}
     //
     void SetInactiveBranches(const char* branches) {fBranches   = branches;}
     void SetActiveBranches  (const char* branches) {fBranchesOn = branches;}
@@ -59,6 +61,7 @@ class AliInputEventHandler : public AliVEventHandler {
     virtual TTree       *GetTree( )        const                      {return fTree;}
     virtual AliVCuts    *GetEventSelection() const                    {return fEventCuts;}
     virtual Long64_t     GetReadEntry()    const;
+    virtual Bool_t       IsCheckStatistics() const                    {return TObject::TestBit(kCheckStatistics);}
     virtual Bool_t       IsUserCallSelectionMask() const              {return TObject::TestBit(kUserCallSelectionMask);}
     virtual Bool_t       NewEvent()
        {Bool_t ne = fNewEvent; fNewEvent = kFALSE; return ne;}
@@ -73,6 +76,10 @@ class AliInputEventHandler : public AliVEventHandler {
     void SetParentHandler(AliInputEventHandler* parent) {fParentHandler = parent;}
     AliInputEventHandler* ParentHandler() {return fParentHandler;}
 
+    //PID response
+    virtual AliPIDResponse* GetPIDResponse() {return 0x0;}
+    virtual void CreatePIDResponse(Bool_t /*isMC*/=kFALSE) {;}
+  
  protected:
     void SwitchOffBranches() const;
     void SwitchOnBranches()  const;