GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Data Analysis » How to create more than one output event in FairTask Exec()-function? (How to create more than one output event in FairTask Exec()-function?)
Re: How to create more than one output event in FairTask Exec()-function? [message #23803 is a reply to message #23799] Wed, 27 March 2019 14:16 Go to previous messageGo to previous message
C. A. Douma is currently offline  C. A. Douma
Messages: 88
Registered: September 2015
Location: Groningen
continuous participant
From: *kvi-cart.rug.nl
FairFileSource::AddFile() looks promising. How can I use it?

In a steering macro, I do

FairRunAna* run = new FairRunAna();
run->SetInputFile("<path to>/DigiFile.root");

Can I then just do
run->AddFile("<path to>/DigiFile_2.root");
and do run->Run(0,twice as many events as in a single file);

Christiaan.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reading container parameter
Next Topic: Some UCESB zero-suppressed multi hit documentation
Goto Forum:
  


Current Time: Thu Dec 26 18:06:52 CET 2024

Total time taken to generate the page: 0.00831 seconds