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.root";
19 // Create the TRD digitzer
20 AliTRDdigitizer *Digitizer = new AliTRDdigitizer("digitizer","Digitizer class");
23 Digitizer->SetDiffusion();
24 Digitizer->SetVerbose(1);
25 //Digitizer->SetExB();
26 //Digitizer->SetElAttach();
27 //Digitizer->SetAttachProb();
29 // Open the AliRoot file
30 Digitizer->Open(alifile);
33 Digitizer->MakeDigits();
35 // Write the digits into the input file
36 Digitizer->WriteDigits();
38 // Save the digitizer class in the AliROOT file