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");
18 Digitizer->InitDetector();
20 // Set the parameter (for TRF ~200ns)
21 Digitizer->SetGasGain(1600.);
22 Digitizer->SetChipGain(8.0);
23 Digitizer->SetNoise(1000.);
24 Digitizer->SetADCinRange(1000.);
25 Digitizer->SetADCoutRange(1023.);
26 Digitizer->SetADCthreshold(0);
27 Digitizer->SetVerbose(1);
30 if (!(Digitizer->MakeDigits())) {
35 // Write the digits into the input file
36 if (!(Digitizer->WriteDigits())) {
41 // Save the digitizer class in the AliROOT file
42 if (!(Digitizer->Write())) {