]> git.uio.no Git - u/mrichter/AliRoot.git/commit - ANALYSIS/AliAnalysisTaskSE.cxx
If MC handler is connected but MC not available, the InitOK() flag is consistently...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 May 2013 14:16:31 +0000 (14:16 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 May 2013 14:16:31 +0000 (14:16 +0000)
commit98d1fc3336c398ce903c323a8bf9d94f36cc1c9d
treea6d29fcd3362dc67595b410779e807e530990576
parentd4806ef4d8725d86e49133170864e847a536fa7e
If MC handler is connected but MC not available, the InitOK() flag is consistently set and the MCEvent() returns null, so the user tasks can rely on the MCEvent() to detect the availability of MC. By default the MC candler will now work in particle preload mode for efficiency reasons. User tasks get executed even if the MC handler was requested while no MC data, so the user code should consistently check for the fMCEvent pointer
ANALYSIS/AliAnalysisTaskSE.cxx
STEER/STEERBase/AliMCEventHandler.cxx