]>
Commit | Line | Data |
---|---|---|
cb9f948f | 1 | // ----------------------------------------------------// |
2 | // // | |
3 | // This macro does Hits to Digits // | |
4 | // // | |
5 | // ----------------------------------------------------// | |
6 | ||
7 | #include <stdlib.h> | |
8 | #include "Riostream.h" | |
9 | #include "TROOT.h" | |
10 | #include "TFile.h" | |
11 | #include "TNetFile.h" | |
12 | #include "TRandom.h" | |
13 | #include "TTree.h" | |
14 | #include "TBranch.h" | |
15 | #include "TClonesArray.h" | |
16 | #include "TStopwatch.h" | |
17 | #include "AliVZERODigitizer.h" | |
18 | ||
19 | void VZEROHits2Digits() | |
20 | { | |
21 | ||
22 | // Input file name | |
23 | Char_t *alifile = "galice.root"; | |
24 | ||
25 | // Create the VZERO digitizer | |
26 | AliVZERODigitizer *manager = new AliVZERODigitizer(); | |
27 | ||
28 | // Open the AliRoot file | |
29 | manager->OpengAliceFile(alifile); | |
30 | ||
31 | // Create the digits | |
32 | ||
33 | manager->Exec(); | |
34 | ||
35 | } |