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");
20 Digitizer->SetGasGain(3300.);
21 Digitizer->SetChipGain(8.0);
22 Digitizer->SetNoise(1000.);
23 Digitizer->SetADCinRange(1000.);
24 Digitizer->SetADCoutRange(1023.);
25 Digitizer->SetADCthreshold(0);
26 Digitizer->SetVerbose(1);
29 if (!(Digitizer->MakeDigits())) {
34 // Write the digits into the input file
35 if (!(Digitizer->WriteDigits())) {
40 // Save the digitizer class in the AliROOT file
41 if (!(Digitizer->Write())) {