Fix to avoid deleting cached CDB objects - modified fix by Peter.
[u/mrichter/AliRoot.git] / FMD / Simulate.C
CommitLineData
d28dcc0d 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
4347b38f 15/* $Id$ */
c2fc1258 16/** @file Simulate.C
17 @author Christian Holm Christensen <cholm@nbi.dk>
18 @date Mon Mar 27 14:20:24 2006
19 @brief Script to do simulation
20*/
21/** Script to do test the FMD digitization class.
22 */
4347b38f 23void
ed82d35e 24Simulate(Int_t n=1)
d28dcc0d 25{
1e8f773e 26 AliSimulation sim;
44fed3ff 27 sim.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
28 sim.SetSpecificStorage("GRP/GRP/Data", Form("local://%s",gSystem->pwd()));
29 sim.SetConfigFile("./Config.C");
83ad576a 30 sim.SetMakeSDigits("FMD");
31 sim.SetMakeDigits("FMD");
faf80567 32 sim.SetWriteRawData("FMD", "raw.root");
44fed3ff 33 sim.SetRunQA(":");
34
35 AliLog::SetModuleDebugLevel("FMD", 2);
36
1e8f773e 37 TStopwatch w;
38 w.Start();
69893a66 39 sim.Run(n);
1e8f773e 40 w.Stop();
41 w.Print();
d28dcc0d 42}
d28dcc0d 43
4347b38f 44//
45// EOF
46//