1 // ----------------------------------------------------//
3 // This macro does Hits to Digits //
5 // ----------------------------------------------------//
15 #include "TClonesArray.h"
16 #include "TStopwatch.h"
17 #include "AliRunDigitizer.h"
18 #include "AliVZERODigitizer.h"
20 void VZEROHits2Digits()
24 Char_t *alifile = "galice.root";
26 // Create the run digitizer
27 AliRunDigitizer* manager = new AliRunDigitizer(1, 1);
28 manager->SetInputStream(0, alifile);
29 manager->SetOutputFile("H2Dfile");
31 // Create the VZERO digitizer
32 new AliVZERODigitizer(manager);