From 94dae49701bfb7175ab38b9931d189e8661ee538 Mon Sep 17 00:00:00 2001 From: mtadel Date: Wed, 17 Sep 2008 13:51:03 +0000 Subject: [PATCH] With Cvetan: two hacks to make it work again: a) set gGeoManager to 0 before instantiating AliReconstruction and restore it afterwards; b) set dummy low-flux reco-params for ITS as they are required at tracker construction time. --- EVE/alice-macros/clusters.C | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/EVE/alice-macros/clusters.C b/EVE/alice-macros/clusters.C index 17f5ec31fa3..e0f2d70daf4 100644 --- a/EVE/alice-macros/clusters.C +++ b/EVE/alice-macros/clusters.C @@ -27,7 +27,14 @@ void clusters() const Int_t detIds[] = { 0, 1, 2, 3, 5 }; const Int_t detN = sizeof(detNames)/sizeof(char*); + // Hack - AliReconstruction does wonders with gGeoManager. + TGeoManager* xxx = gGeoManager; gGeoManager = 0; AliReconstruction* reco = new AliReconstruction; + gGeoManager = xxx; + + // Hack for ITS - it requires RecoParams outside event-loop! + reco.SetRecoParam("ITS", AliITSRecoParam::GetLowFluxParam()); + reco->ImportRunLoader(rl); { TString alldets; -- 2.43.5