]>
Commit | Line | Data |
---|---|---|
c1cd4fce | 1 | void TestHLTITSSAP() { |
2 | ||
3 | gSystem->Load("liblhapdf"); | |
4 | gSystem->Load("libEGPythia6"); | |
5 | gSystem->Load("libpythia6"); | |
6 | gSystem->Load("libAliPythia6"); | |
7 | gSystem->Load("libhijing"); | |
8 | gSystem->Load("libTHijing"); | |
9 | gSystem->Load("libgeant321"); | |
10 | ||
11 | if (gSystem->Getenv("EVENT")) | |
12 | nev = atoi(gSystem->Getenv("EVENT")) ; | |
13 | ||
14 | AliSimulation simulator; | |
15 | simulator.SetRunGeneration(0); | |
16 | simulator.SetRunSimulation(0); | |
17 | simulator.SetMakeDigits(""); | |
18 | simulator.SetMakeSDigits(""); | |
19 | simulator.SetMakeDigitsFromHits(""); | |
20 | //simulator.SetWriteRawData("ALL","raw.root",kTRUE); | |
21 | ||
22 | simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
23 | simulator.SetSpecificStorage("GRP/GRP/Data", | |
24 | Form("local://%s",gSystem->pwd())); | |
25 | simulator.SetSpecificStorage("ITS/Align/Data", | |
26 | "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal"); | |
27 | ||
28 | simulator.SetRunQA(":") ; | |
29 | ||
30 | AliHLTConfigurationHandler::CreateHandler(); | |
31 | AliHLTConfigurationHandler *handler = AliHLTConfigurationHandler::Instance(); | |
32 | ||
33 | handler->CreateConfiguration("ITS-SAPtracker1","ITSSAPTracker","DigitClusterFinder ITS-SPD-vertexer", | |
34 | ""); | |
35 | ||
36 | ||
37 | simulator.SetRunHLT("chains=ITS-SAPtracker1"); | |
38 | ||
39 | TStopwatch timer; | |
40 | timer.Start(); | |
41 | simulator.Run(); | |
42 | timer.Stop(); | |
43 | timer.Print(); | |
44 | } |