replaces AliPHOSAliEnFile: references to AliEn removed
[u/mrichter/AliRoot.git] / macros / TestMergeC.C
CommitLineData
c9f21053 1////////////////////////////////////////////////////////////////////////
2//
3// name: TestMergeC.C
4// date: 30.04.2002
5// last update: 30.04.2002
6// author: Jiri Chudoba
7// version: 1.0
8// description:
9// test macro for AliMergeSteer class
10//
11////////////////////////////////////////////////////////////////////////
12
13TestMergeC(Int_t nEvents = 2, Bool_t flagSim = kFALSE,
14 Bool_t flagSDigits = kFALSE,
15 Bool_t flagMerge = kFALSE,
16 Bool_t flagRecoMerged = kFALSE,
17 Bool_t flagCmpMerged = kFALSE) {
18
19 gInterpreter->ProcessLine(".L $(ALICE_ROOT)/STEER/AliMergeSteer.C++");
20// gSystem->Load("$(ALICE_ROOT)/STEER/AliMergeSteer_C.so");
21
22 AliMergeSteer* ms = new AliMergeSteer();
23
24 ms->SetNEvents(nEvents);
25
26 ms->SetFlagSim(flagSim);
27
28 ms->SetFlagSDigits(flagSDigits);
29
30 ms->SetFlagMerge(flagMerge);
31
32 ms->SetFlagRecoMerged(flagRecoMerged);
33
34 ms->SetFlagCmpMerged(flagCmpMerged);
35
36// ms->SetFlagCmpSignalOnly(kTRUE);
37
38 ms->SetFileNameBgrHits("rfio:bgr.hits.root");
39 ms->SetFileNameSDigits("tpc.sdigits.roi.root");
40 ms->SetFileNameDigitsMerged("digits.root");
41
42 ms->SetDetectorFlag("TPC",2);
43
44 ms->Exec("");
45
46 delete ms;
47}