1 void slowDigitsCreate() {
3 /////////////////////////////////////////////////////////////////////////
5 // Creates the digits from the hit information.
7 /////////////////////////////////////////////////////////////////////////
9 // Dynamically link some shared libs
10 if (gClassTable->GetID("AliRun") < 0) {
11 gROOT->LoadMacro("loadlibs.C");
13 cout << "Loaded shared libraries" << endl;
16 // Input (and output) file name
17 Char_t *alifile = "galice_d_v1.root";
19 // Create the TRD digitzer
20 AliTRDdigitizer *Digitizer = new AliTRDdigitizer("digitizer","Digitizer class");
23 Digitizer->SetDiffusion();
24 //Digitizer->SetExB();
25 //Digitizer->SetElAttach();
26 //Digitizer->SetAttachProb();
28 // Open the AliRoot file
29 Digitizer->Open(alifile);
32 Digitizer->MakeDigits();
34 // Write the digits into the input file
35 Digitizer->WriteDigits();
37 // Save the digitizer class in the AliROOT file