1 // ----------------------------------------------------//
3 // This macro does Hits to SDigits //
5 // ----------------------------------------------------//
15 #include "TClonesArray.h"
16 #include "TStopwatch.h"
18 void AliPMDHits2SDigits(Int_t nevt=1)
24 // Input (and output) file name
25 Char_t *alifile = "galice.root";
27 // Create the PMD digitzer
28 AliPMDDigitizer *digitizer = new AliPMDDigitizer();
30 // Open the AliRoot file
31 digitizer->OpengAliceFile(alifile,"HS");
33 digitizer->SetZPosition(zpos);
37 for (Int_t ievt=0; ievt<nevt; ievt++)
39 digitizer->Hits2SDigits(ievt);
42 digitizer->UnLoad("S");