]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/VZEROHits2Digits.C
Provides digitization
[u/mrichter/AliRoot.git] / VZERO / VZEROHits2Digits.C
CommitLineData
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
19void 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}