doxy: MUON macros, refs, src links, no coll graph
[u/mrichter/AliRoot.git] / ITS / AliITSSDigits2Digits.C
... / ...
CommitLineData
1void AliITSSD2D(TString inFile, TString outFile);
2
3void AliITSSDigits2Digits(TString inFile= "galice.root", TString outFile = "")
4 {
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;
9 if(gAlice)
10 {
11 delete AliRunLoader::Instance();
12 delete gAlice;
13 gAlice = 0x0;
14 } // end if gAlice
15 cout << "Creating digits from summable digits for the ITS..." << endl;
16 AliITSSD2D(inFile,outFile);
17 timer.Stop();
18 timer.Print();
19}
20
21void AliITSSD2D(TString inFile, TString outFile){
22 AliRunDigitizer * manager = new AliRunDigitizer(1,1);
23 manager->SetInputStream(0,inFile);
24 if(outFile != "")manager->SetOutputFile(outFile);
25 AliITSDigitizer *dITS = new AliITSDigitizer(manager);
26 manager->Exec("");
27 delete manager;
28}
29
30
31
32
33
34