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?)
How to create more than one output event in FairTask Exec()-function? [message #23774] Tue, 26 March 2019 12:41 Go 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
Dear all,

I would like to design an R3BRoot FairTask that merges several .root-files.

So suppose that I create a TClonesArray* fOutput;
that I write its content with FairRootManaber::Register to an output-file,
and that I expand the fOutput-array with one object at a time
using the new-operator (inside the Exec()-function),

is there a way to manually call a command for writing fOutput
to the file and emptying it halfway inside the Exec()-function?
So that I essentially generate multiple events in the output-tree
for a single Exec()-call?

Many thanks in advance!
Christiaan Douma.
 
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: Fri Apr 19 15:14:29 CEST 2024

Total time taken to generate the page: 0.01143 seconds