From fab83bb9a827ff9aade5a3e14153336450246189 Mon Sep 17 00:00:00 2001 From: mivanov Date: Sat, 28 Jun 2014 14:18:21 +0200 Subject: [PATCH] ATO-17 - do not check MC/reco OCDB consistency in test mode. Random seeding --- test/testdEdx/Config.C | 2 +- test/testdEdx/rec.C | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/test/testdEdx/Config.C b/test/testdEdx/Config.C index 94b9603bfda..772c9642fe5 100644 --- a/test/testdEdx/Config.C +++ b/test/testdEdx/Config.C @@ -64,7 +64,7 @@ const char * pprTrigConfName[] = { static PprRun_t srun = testdEdx; static PprRad_t srad = kGluonRadiation; static AliMagF::BMap_t smag = AliMagF::k5kG; -static Int_t sseed = 12345; //Set 0 to use the current time +static Int_t sseed = 0; //Set 0 to use the current time static PprTrigConf_t strig = kDefaultPPTrig; // default pp trigger configuration // Comment line diff --git a/test/testdEdx/rec.C b/test/testdEdx/rec.C index ae01a084f60..6d457beb274 100644 --- a/test/testdEdx/rec.C +++ b/test/testdEdx/rec.C @@ -1,6 +1,17 @@ void rec() { AliReconstruction reco; + // Switch Iontail in RecoParam. Ceration of a new OCDB entry + //AliCDBManager * man = AliCDBManager::Instance(); + //man->SetDefaultStorage("local:///cvmfs/alice.gsi.de/alice/data/2010/OCDB"); + //AliCDBEntry* e = man->Get("TPC/Calib/RecoParam/",136844); + //TObjArray* a = (TObjArray*)e->GetObject(); + //for (Int_t i=0; i<4; i++){ + // AliTPCRecoParam* p = ( AliTPCRecoParam*)a->At(i); + // p->SetUseIonTailCorrection(kTRUE); + //} + + reco.SetWriteESDfriend(); reco.SetWriteAlignmentData(); @@ -15,6 +26,7 @@ void rec() { TStopwatch timer; + reco.ResetCheckRecoCDBvsSimuCDB(); timer.Start(); reco.Run(); timer.Stop(); -- 2.39.3