1 // ----------------------------------------------------//
3 // This macro does Hits to Digits //
5 // ----------------------------------------------------//
15 #include "TClonesArray.h"
16 #include "TStopwatch.h"
18 void AliPMDHits2Digits(Int_t nevt=1)
21 Char_t *alifile = "galice.root";
23 // Create the PMD digitzer
24 AliPMDDigitizer *digitizer = new AliPMDDigitizer();
26 // Open the AliRoot file
27 digitizer->OpengAliceFile(alifile,"HS");
30 for (Int_t ievt=0; ievt<nevt; ievt++)
32 digitizer->Hits2Digits(ievt);
34 digitizer->UnLoad("S");