]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/macros/sim-hlt-tpc.C
- added libAliHLTRCU to default libraries
[u/mrichter/AliRoot.git] / HLT / TPCLib / macros / sim-hlt-tpc.C
1 // $Id$
2 /*
3  * Example macro to run the HLT Conformal mapping tracker embedded into
4  * AliRoot simulation. The reconstruction is done from the TPC digits.
5  *
6  * aliroot -b -q sim-hlt-tpc.C | tee sim-hlt-tpc.log
7  *
8  * The chain to be run is defined by the macro given to the parameter
9  * 'config='
10  *
11  * The makro asumes the data to be already simulated. If it should run
12  * within the initial simulation, comment the corresponding functions
13  * below (SetRunGeneration etc.)
14  *
15  * Matthias.Richter@ift.uib.no
16  */
17 {
18   // this is just a tool to switch the logging systems
19   AliHLTLogging log;
20   //log.SwitchAliLog(0);
21
22   AliSimulation sim;
23
24   // switch of simulation and data generation
25   // comment all that stuff to also simulate the events and data
26   sim.SetRunGeneration(kFALSE);
27   sim.SetMakeDigits("");
28   sim.SetMakeSDigits("");
29   sim.SetMakeDigitsFromHits("");
30   sim.SetMakeTrigger("");
31
32   // set the options for the HLT simulation
33   //sim.SetRunHLT("libAliHLTUtil.so libAliHLTTPC.so loglevel=0x7c config=conf-tpc-writer.C chains=sink1");
34   sim.SetRunHLT("libAliHLTUtil.so libAliHLTTPC.so loglevel=0x7c config=conf-tpc-esd.C chains=sink1");
35   sim.Run();
36 }