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("TRDdigitizer","Digitizer class");
18 digitizer->InitDetector();
21 digitizer->SetTailCancelation(0);
22 digitizer->SetADCthreshold(0);
23 digitizer->SetDebug(1);
26 if (!(digitizer->MakeDigits())) {
31 // Write the digits into the input file
32 if (!(digitizer->MakeBranch())) {
37 // Write the digits into the input file
38 if (!(digitizer->WriteDigits())) {
43 // Save the digitizer class in the AliROOT file
44 if (!(digitizer->Write())) {