add off trig result
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Feb 2012 05:45:43 +0000 (05:45 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Feb 2012 05:45:43 +0000 (05:45 +0000)
PWGGA/EMCALTasks/AliEsdSkimTask.cxx

index 6f89faa..45e0a00 100644 (file)
 #include "AliESDtrackCuts.h"
 #include "AliEsdTrackExt.h"
 #include "AliEventplane.h"
+#include "AliInputEventHandler.h"
 #include "AliMultiplicity.h"
-#include "AliVEventHandler.h"
 #include "AliPicoTrack.h"
+#include "AliVEventHandler.h"
 
 //_________________________________________________________________________________________________
 AliEsdSkimTask::AliEsdSkimTask(const char *opt) :
@@ -89,6 +90,7 @@ void AliEsdSkimTask::UserExec(Option_t */*opt*/)
           header->SetActiveTriggerInputs(name,i+48);
       }
     }
+    header->SetUniqueID(((AliInputEventHandler*)(am->GetInputEventHandler()))->IsEventSelected());
     if (am->GetInputEventHandler()) {
       TTree *tree = am->GetInputEventHandler()->GetTree();
       if (tree) {