ATO-98 - function returns also status value
[u/mrichter/AliRoot.git] / PMD / AliPMDSDigits2Digits.C
CommitLineData
dc627cea 1#include <stdlib.h>
2
3#include "Riostream.h"
4#include "TROOT.h"
5#include "TFile.h"
6#include "TNetFile.h"
7#include "TRandom.h"
8#include "TTree.h"
9#include "TBranch.h"
10#include "TClonesArray.h"
11#include "TStopwatch.h"
12
13
14void AliPMDSDigits2Digits(Int_t nevt=1)
15{
16 // Input (and output) file name
17 Char_t *alifile = "galice.root";
18
19 // Create the PMD digitzer
20 AliPMDDigitizer *digitizer = new AliPMDDigitizer();
21
22 // Open the AliRoot file
23 digitizer->OpengAliceFile(alifile,"SD");
24
25 Int_t ievt;
26
27 for (ievt = 0; ievt < nevt; ievt++)
28 {
29 digitizer->SDigits2Digits(ievt);
30 }
31 digitizer->UnLoad("S");
32
33}
34