diff --git a/T0/Reconstruct.C b/T0/Reconstruct.C new file mode 100644 index 00000000000..6ea2eda09fc --- /dev/null +++ b/T0/Reconstruct.C @@ -0,0 +1,35 @@ +/************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + + +void +Reconstruct() +{ + // AliCDBManager* cdb = AliCDBManager::Instance(); + // cdb->SetDefaultStorage("local://cdb"); + AliLog::SetModuleDebugLevel("T0", 10); + AliReconstruction rec; + rec.SetRunLocalReconstruction("T0"); + rec.SetRunVertexFinder(kFALSE); + rec.SetRunTracking(" "); + rec.SetFillESD("T0"); + rec.SetInput("./"); +// rec.Run("raw.root"); + rec.Run(); +} + +// +// EOF +// diff --git a/T0/Simulate.C b/T0/Simulate.C new file mode 100644 index 00000000000..3dd8bd4734e --- /dev/null +++ b/T0/Simulate.C @@ -0,0 +1,45 @@ + /************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +/* $Id$ */ + +// Script to do test the FMD digitization class. +void +Simulate() +{ + AliLog::SetModuleDebugLevel("T0", 10); + AliSimulation sim; +// sim.SetConfigFile("$(ALICE_ROOT)/T0/Config_PDC06.C"); + + sim.SetConfigFile("$(ALICE_ROOT)/T0/Config.C"); + sim.SetMakeSDigits(" "); + sim.SetMakeDigits("T0"); + // sim.SetMakeTrigger( "TEST" ); + sim.SetWriteRawData("T0"); + // sim.SetMakeDigitsFromHits("FMD"); + TStopwatch w; + w.Start(); + //sim.RunTrigger("TEST"); + sim.Run(3); + // sim.RunDigitization(); + //sim.WriteRawData("T0","raw.root"); + // sim.WriteRawData("T0"); + w.Stop(); + w.Print(); +} + +// +// EOF +//