Re: Geane for luminosity monitor [message #10293 is a reply to message #10291] |
Wed, 24 February 2010 15:29 |
Mathias Michel
Messages: 21 Registered: May 2009 Location: Mainz
|
occasional visitor |
From: *kph.uni-mainz.de
|
|
I tried to find the newest macros, like in the pid package, so this is how my macro looks like:
FairRunAna *fRun= new FairRunAna();
fRun->SetInputFile(MCFile);
fRun->AddFriend(DigiFile);
...
fRun->SetOutputFile(outFile);
FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
FairParRootFileIo* parInput1 = new FairParRootFileIo(kTRUE);
parInput1->open(parFile.Data(),"UPDATE");
rtdb->setFirstInput(parInput1);
FairGeane *Geane = new FairGeane();
fRun->AddTask(Geane)
PndLmdGeaneTask* lmdgeane = new PndLmdGeaneTask();
fRun->AddTask(lmdgeane);
rtdb->setOutput(parInput1);
rtdb->print();
fRun->Init();
PndEmcMapper *emcMap = PndEmcMapper::Instance(6);
//Geane->SetField(fRun->GetField());
fRun->Run(0,nEvents);
[Updated on: Wed, 24 February 2010 15:30] Report message to a moderator
|
|
|