From: jgrosseo Date: Wed, 21 Nov 2007 13:51:06 +0000 (+0000) Subject: removal of a few debug lines X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=d659ac7421d9a01a70543654c64bc6cc293642c0;p=u%2Fmrichter%2FAliRoot.git removal of a few debug lines --- diff --git a/PWG0/multiplicity/AliMultiplicityTask.cxx b/PWG0/multiplicity/AliMultiplicityTask.cxx index 0fcc0b0f614..ef7e339b6dd 100644 --- a/PWG0/multiplicity/AliMultiplicityTask.cxx +++ b/PWG0/multiplicity/AliMultiplicityTask.cxx @@ -403,9 +403,6 @@ void AliMultiplicityTask::Exec(Option_t*) } }// end of mc particle - // FAKE - return; - fMultiplicity->FillGenerated(vtxMC[2], eventTriggered, eventVertex, (Int_t) nMCTracks05, (Int_t) nMCTracks09, (Int_t) nMCTracks15, (Int_t) nMCTracks20, (Int_t) nMCTracksAll); if (!eventTriggered || !eventVertex) diff --git a/PWG0/multiplicity/run.C b/PWG0/multiplicity/run.C index 1e3305d581b..4fd3471ec7c 100644 --- a/PWG0/multiplicity/run.C +++ b/PWG0/multiplicity/run.C @@ -62,7 +62,7 @@ void run(Char_t* data, Int_t nRuns=20, Int_t offset=0, Bool_t aDebug = kFALSE, B // Enable MC event handler AliMCEventHandler* handler = new AliMCEventHandler; handler->SetReadTR(kFALSE); - //mgr->SetMCtruthEventHandler(handler); + mgr->SetMCtruthEventHandler(handler); // Add ESD handler AliESDInputHandler* esdH = new AliESDInputHandler; @@ -86,11 +86,3 @@ void run(Char_t* data, Int_t nRuns=20, Int_t offset=0, Bool_t aDebug = kFALSE, B mgr->PrintStatus(); mgr->StartAnalysis((aProof) ? "proof" : "local", chain); } - -void runAll() -{ - run("part1.txt", 1000000, 0, kFALSE, kTRUE); - gSystem->Exec("mv multiplicityMC.root multiplicityMC_1.root"); - run("part2.txt", 1000000, 0, kFALSE, kTRUE); - gSystem->Exec("mv multiplicityMC.root multiplicityMC_2.root"); -}