]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/Simulate.C
consolidate zero-length arrays (aka struct hack)
[u/mrichter/AliRoot.git] / T0 / Simulate.C
CommitLineData
8ad6a9be 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 **************************************************************************/
15
16/* $Id$ */
17
18// Script to do test the FMD digitization class.
19void
20Simulate()
21{
22 AliLog::SetModuleDebugLevel("T0", 10);
23 AliSimulation sim;
24// sim.SetConfigFile("$(ALICE_ROOT)/T0/Config_PDC06.C");
25
26 sim.SetConfigFile("$(ALICE_ROOT)/T0/Config.C");
27 sim.SetMakeSDigits(" ");
28 sim.SetMakeDigits("T0");
29 // sim.SetMakeTrigger( "TEST" );
30 sim.SetWriteRawData("T0");
31 // sim.SetMakeDigitsFromHits("FMD");
32 TStopwatch w;
33 w.Start();
34 //sim.RunTrigger("TEST");
35 sim.Run(3);
36 // sim.RunDigitization();
37 //sim.WriteRawData("T0","raw.root");
38 // sim.WriteRawData("T0");
39 w.Stop();
40 w.Print();
41}
42
43//
44// EOF
45//