test.C

Go to the documentation of this file.
00001 void test()
00002 {
00003   gSystem->Load("libPgCalInstance.so");
00004   gSystem->Load("libemc.so");
00005   int test;
00006   cout << "PID = " << gSystem->GetPid() << endl;
00007   cin >> test;
00008   recoConsts* rc = recoConsts::instance();
00009   rc->set_IntFlag("RUNNUMBER",1000000);
00010   rc->set_TimeStamp(PHTimeStamp(2010,1,1,0,0,0));
00011   rc->set_CharFlag("EMCEXPERTDATASOURCES","TofT0Bs:ASCII File,TofSectorOffset:None");
00012   PHCompositeNode* top = new PHCompositeNode("TOP");
00013   PHCompositeNode* dst = new PHCompositeNode("DST");
00014   top->addNode(dst);
00015   emcRecoModule* rm = emcRecoModuleFactory::create(*rc);
00016   rm->setup(top);
00017   top->print();
00018 }