Removed a std::cout statement
[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"
17bec9f7 17#include "AliRunDigitizer.h"
cb9f948f 18#include "AliVZERODigitizer.h"
19
20void VZEROHits2Digits()
21{
22
23 // Input file name
24 Char_t *alifile = "galice.root";
25
17a0708e 26 // Create the run digitizer
27 AliRunDigitizer* manager = new AliRunDigitizer(1, 1);
28 manager->SetInputStream(0, alifile);
29 manager->SetOutputFile("H2Dfile");
30
cb9f948f 31 // Create the VZERO digitizer
17a0708e 32 new AliVZERODigitizer(manager);
cb9f948f 33
cb9f948f 34 // Create the digits
17a0708e 35 manager->Exec("");
cb9f948f 36
37}