1 Int_t AliTRDcreateDigits()
4 // Creates the digits from the hits of the slow simulator
10 cout << "<AliTRDcreateDigits> No AliRun object found" << endl;
16 // Create the TRD digitzer
17 AliTRDdigitizer *Digitizer = new AliTRDdigitizer("digitizer","Digitizer class");
19 // Initialize the TRD and the geometry
20 if (!(Digitizer->InitDetector())) {
21 cout << "<AliTRDcreateDigits> No TRD geometry found" << endl;
27 Digitizer->SetDiffusion();
28 Digitizer->SetVerbose(1);
31 if (!(Digitizer->MakeDigits())) {
36 // Write the digits into the input file
37 if (!(Digitizer->WriteDigits())) {
42 // Save the digitizer class in the AliROOT file
43 if (!(Digitizer->Write())) {