]> git.uio.no Git - u/mrichter/AliRoot.git/commit - STEER/AODLinkDef.h
Added support for creating both standard AOD and several deltaAOD's in the same
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 27 Apr 2009 14:11:50 +0000 (14:11 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 27 Apr 2009 14:11:50 +0000 (14:11 +0000)
commit9066c6765d99037c7d842ca32909d9c261927051
tree90bf1a8e3800bbc78b2254478a3970316d77b26d
parent3cee83d70aa12527cb9007be343c8dc643d36335
Added support for creating both standard AOD and several deltaAOD's in the same
ESD-based analysis. Producing a deltaAOD using AliAODHandler::SetNonStandardAOD()
in an analysis on input AOD is still possible. To use the new feature:
- use a standard AOD handler (no call to SetNonStandardAOD)
- in the AliAnalysisTaskSE-derived task, call AddAODBranch(cname, addobj, fname)
where the newly added fname is the file name where the branch(es) is(are) to be
written.

Added AliAnalysisTaskSE::IsStandardAOD() to check from the user code if the AOD
handler is configured for standard AOD or not. Check first via AODEvent() if there
is any AOD handler at all.
STEER/AODLinkDef.h
STEER/AliAODHandler.cxx
STEER/AliAODHandler.h