From fd2b273cd488c261c306b43be0bc57483e742653 Mon Sep 17 00:00:00 2001 From: cvetan Date: Tue, 3 Feb 2009 21:27:36 +0000 Subject: [PATCH] Moving the OCDB object and mag field from the selector's input list to the input-data file in PROOF. Tested with v4-16-Release and root 5-22-00 on CAF. The PROOF based reconstruction would need further fixes in the trunk to accomodate for the new mag field related changes in root and aliroot. --- STEER/AliReconstruction.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index 05fdd24e328..29cdbe2c13d 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -1249,15 +1249,16 @@ void AliReconstruction::Begin(TTree *) } AliSysInfo::AddStamp("InitRecoParams"); - if (fInput) { + if (fInput && gProof) { if (reco) *reco = *this; - fInput->Add(gGeoManager); + + gProof->AddInputData(gGeoManager,kTRUE); gGeoManager = NULL; - fInput->Add(const_cast(AliCDBManager::Instance()->GetEntryCache())); + gProof->AddInputData(const_cast(AliCDBManager::Instance()->GetEntryCache()),kTRUE); fInput->Add(new TParameter("RunNumber",AliCDBManager::Instance()->GetRun())); AliMagF *magFieldMap = (AliMagF*)TGeoGlobalMagField::Instance()->GetField(); magFieldMap->SetName("MagneticFieldMap"); - fInput->Add(magFieldMap); + gProof->AddInputData(magFieldMap,kTRUE); } } -- 2.43.0