]>
Commit | Line | Data |
---|---|---|
cc2535cd | 1 | void AliITSSD2D(TString inFile, TString outFile); |
2 | ||
88cb7938 | 3 | void AliITSSDigits2Digits(TString inFile= "galice.root", TString outFile = "") |
4 | { | |
af8e1c2d | 5 | // This macro takes SDigits and produces Digits. No merging is done |
6 | // and only one galice.root file is used. | |
7 | // Dynamically link some shared libs | |
8 | TStopwatch timer; | |
88cb7938 | 9 | if(gAlice) |
10 | { | |
33c3c91a | 11 | delete AliRunLoader::Instance(); |
88cb7938 | 12 | delete gAlice; |
13 | gAlice = 0x0; | |
af8e1c2d | 14 | } // end if gAlice |
15 | cout << "Creating digits from summable digits for the ITS..." << endl; | |
cc2535cd | 16 | AliITSSD2D(inFile,outFile); |
17 | timer.Stop(); | |
18 | timer.Print(); | |
19 | } | |
20 | ||
21 | void AliITSSD2D(TString inFile, TString outFile){ | |
22 | AliRunDigitizer * manager = new AliRunDigitizer(1,1); | |
88cb7938 | 23 | manager->SetInputStream(0,inFile); |
cc2535cd | 24 | if(outFile != "")manager->SetOutputFile(outFile); |
25 | AliITSDigitizer *dITS = new AliITSDigitizer(manager); | |
26 | manager->Exec(""); | |
45f33dc2 | 27 | delete manager; |
cc2535cd | 28 | } |
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 |