virtual void SetSubtractionMethod(Int_t i){fSubtraction = i;}
virtual Int_t GetSubtractionMethod(){return fSubtraction;}
virtual void SetBackgroundBranch(char* c){fBackgroundBranch = c;}
- virtual void SetNonStdFile(char* c){fNonStdFile = c;}
+ virtual void SetNonStdOutputFile(char* c){fNonStdFile = c;}
virtual void SetToReplace(char* c){fReplaceString1 = c;}
const char* GetToReplace(){return fReplaceString1.Data();}
virtual void SetReplacementMask(char* c){fReplaceString2 = c;}
AliAODJetEventBackground* externalBackground = 0;
if(!externalBackground&&fBackgroundBranch.Length()){
externalBackground = (AliAODJetEventBackground*)(AODEvent()->FindListObject(fBackgroundBranch.Data()));
- if(!externalBackground)Printf("%s:%d Background branch not found %s",(char*)__FILE__,__LINE__,fBackgroundBranch.Data());;
+ if(!externalBackground)externalBackground = (AliAODJetEventBackground*)(fAODExtension->GetAOD()->FindListObject(fBackgroundBranch.Data()));
+ if(!externalBackground)Printf("%s:%d Background branch not found %s",(char*)__FILE__,__LINE__,fBackgroundBranch.Data());
}
//
// Execute analysis for current event