Skip to content

Commit

Permalink
ALIROOT-6077 AD AOD: additional protection
Browse files Browse the repository at this point in the history
  • Loading branch information
hristov authored and hristov committed Jun 12, 2015
1 parent 70e4d7a commit 6141ef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ANALYSIS/ESDfilter/AliAnalysisTaskESDfilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2018,7 +2018,8 @@ void AliAnalysisTaskESDfilter::ConvertAD(const AliESDEvent& esd)
{
// Convert AD data
AliAODAD* adData = AODEvent()->GetADData();
*adData = *(esd.GetADData());
if (adData && esd.GetADData())
*adData = *(esd.GetADData());
}
//_____________________________________________________________________________
Int_t AliAnalysisTaskESDfilter::ConvertHMPID(const AliESDEvent& esd) // clm
Expand Down

0 comments on commit 6141ef7

Please sign in to comment.