]> git.uio.no Git - u/mrichter/AliRoot.git/commit
AOD filling follows the new offline trigger schema. The method AliAODHandler::BeginEv...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Jul 2010 14:37:29 +0000 (14:37 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Jul 2010 14:37:29 +0000 (14:37 +0000)
commit5b17380115f9b6d3698af2e3a2eba070628c4549
tree0d10cd098648486a08141e3cf1fc7c0d723e987b
parent8c24cf5a25034b1ebe4847bfed4f6c0248886ac6
AOD filling follows the new offline trigger schema. The method AliAODHandler::BeginEvent() resets filling of the AOD for the current event, while the ESD/AOD filters may set it back if the event passes their physics selection mask.
All filters must add to their UserExec mehod lines like:
  // Filters must explicitely enable AOD filling in their UserExec (AG)
  if (!AliAnalysisManager::GetAnalysisManager()->GetOutputEventHandler()) AliFatal("Cannot run ESD filter without an output event handler");
  AliAnalysisManager::GetAnalysisManager()->GetOutputEventHandler()->SetFillAOD(kTRUE);

Note:
Changed the logic of AliAnalysisTaskSE::fOfflineTrigger for backward compatibility: if the task does not set it (stays 0) it means all events are selected. If the mask is non 0 it is AND-ed with the current event mask (as implemented with Jan-Fiete).
Again, if no event selection cuts object (like AliPhysicsSelection) is used at the level of the input handler, all events are now selected.
ANALYSIS/AliAnalysisTaskESDfilter.cxx
ANALYSIS/AliAnalysisTaskSE.cxx
STEER/AliAODHandler.h
STEER/AliVEventHandler.h