X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=JETAN%2FAliJetFinder.cxx;h=bdad6045e357270c5dfbf6fe4f551d44a080aeb7;hb=54b8f8e10d781a30f59c584a34cddb5925e6ddb9;hp=2e4aaa3c019522870dcd21bd24884bb491caeea8;hpb=b8bf1e9094620192e316aecfb7dd72e41c15f61b;p=u%2Fmrichter%2FAliRoot.git diff --git a/JETAN/AliJetFinder.cxx b/JETAN/AliJetFinder.cxx index 2e4aaa3c019..bdad6045e35 100644 --- a/JETAN/AliJetFinder.cxx +++ b/JETAN/AliJetFinder.cxx @@ -42,7 +42,8 @@ AliJetFinder::AliJetFinder(): fHeader(0x0), fAODjets(0x0), fNAODjets(0), - fAODEvBkg(0) + fAODEvBkg(0), + fDebug(0) { // // Constructor @@ -160,6 +161,7 @@ void AliJetFinder::ConnectAOD(AliAODEvent* aod) { // Connect to the AOD fAODjets = aod->GetJets(); + fAODEvBkg = (AliAODJetEventBackground*)(aod->FindListObject(AliAODJetEventBackground::StdBranchName())); } //////////////////////////////////////////////////////////////////////// @@ -167,6 +169,7 @@ void AliJetFinder::ConnectAODNonStd(AliAODEvent* aod,const char *bname) { fAODjets = dynamic_cast(aod->FindListObject(bname)); - // how is this is reset? Cleared? + fAODEvBkg = (AliAODJetEventBackground*)(aod->FindListObject(Form("%s_%s",AliAODJetEventBackground::StdBranchName(),bname))); + // how is this is reset? Cleared? -> by the UserExec!! }