X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWG0%2FeventStats%2FAliEventStatsTask.cxx;h=d624126be36f898fb3b86ce79266f0e23bc42855;hb=d7168ce96ef97323f50d142d424666777912e215;hp=3a9b6b05f06fdbc520b8c5182ef8c63473a72ad9;hpb=296dd2625d31e73ab7c9cbd53f19276958b3b973;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWG0/eventStats/AliEventStatsTask.cxx b/PWG0/eventStats/AliEventStatsTask.cxx index 3a9b6b05f06..d624126be36 100644 --- a/PWG0/eventStats/AliEventStatsTask.cxx +++ b/PWG0/eventStats/AliEventStatsTask.cxx @@ -2,23 +2,16 @@ #include "AliEventStatsTask.h" -#include #include -#include #include #include -#include #include #include #include -#include -#include -#include -#include #include "AliPhysicsSelection.h" -#include "AliBackgroundSelection.h" +//#include "AliBackgroundSelection.h" ClassImp(AliEventStatsTask) @@ -62,12 +55,9 @@ void AliEventStatsTask::UserCreateOutputObjects() fOutput = new TList; fOutput->SetOwner(); - fPhysicsSelection = new AliPhysicsSelection; - AliBackgroundSelection* background = new AliBackgroundSelection("AliBackgroundSelection", "AliBackgroundSelection"); - background->Init(); - //fPhysicsSelection->AddBackgroundIdentification(background); - //AliLog::SetClassDebugLevel("AliPhysicsSelection", AliLog::kDebug); - + if (!fPhysicsSelection) + fPhysicsSelection = new AliPhysicsSelection; + fOutput->Add(fPhysicsSelection); }