10 Int_t particle_type=0;
14 void RICHdigit (Int_t nEvents = 1,Int_t type = 0)
16 /////////////////////////////////////////////////////////////////////////
17 // This macro is a small example of a ROOT macro
18 // illustrating how to read the output of GALICE
19 // and do some analysis.
21 /////////////////////////////////////////////////////////////////////////
23 // Dynamically link some shared libs
25 if (gClassTable->GetID("AliRun") < 0) {
26 gROOT->LoadMacro("loadlibs.C");
35 AliRunDigitizer * manager = new AliRunDigitizer(2,1);
36 manager->SetInputStream(0,"galice.root");
37 manager->SetInputStream(1,"bgr.root");
38 manager->SetOutputFile("galice.root");
39 AliRICHDigitizer *dRICH = new AliRICHDigitizer(manager);
44 AliRunDigitizer * manager = new AliRunDigitizer(1,1);
45 manager->SetInputStream(0,"galice.root");
46 manager->SetNrOfEventsToWrite(nEvents);
47 AliRICHDigitizer *dRICH = new AliRICHDigitizer(manager);
52 printf("\nEnd of Macro *************************************\n");