Update of macros
[u/mrichter/AliRoot.git] / TRD / AliTRDmerge.C
CommitLineData
fa148e6c 1void AliTRDmerge()
2{
3 /////////////////////////////////////////////////////////////////////////
4 //
5 // Merges different file with summable digits
6 //
7 /////////////////////////////////////////////////////////////////////////
8
9 AliRunDigitizer *manager = new AliRunDigitizer(2,1);
10 manager->SetInputStream(0,"galice_signal.root");
11 manager->SetInputStream(1,"galice_background.root");
12
13 AliTRDdigitizer *digitizer = new AliTRDdigitizer(manager
14 ,"TRDdigitizer"
15 ,"TRD digitizer class");
16
17 // Define the parameter object
18 // If no external parameter object is defined,
19 // default parameter will be used
20 AliTRDparameter *parameter = new AliTRDparameter("TRDparameter"
21 ,"TRD parameter class");
22 digitizer->SetParameter(parameter);
23
24 // Do the merging
25 manager->Exec("deb");
26
27}