CbmRoot
|
Task class for clone CbmEvent objects from the Input to the output to allow their update, e.g. due to new reconstruction steps. More...
#include <CbmTaskEventsCloneInToOut.h>
Public Member Functions | |
CbmTaskEventsCloneInToOut () | |
Constructor. | |
CbmTaskEventsCloneInToOut (const CbmTaskEventsCloneInToOut &)=delete | |
Copy constructor (disabled) | |
virtual | ~CbmTaskEventsCloneInToOut () |
Destructor. | |
virtual void | Exec (Option_t *opt) |
Task execution. | |
virtual void | Finish () |
Finish timeslice. | |
CbmTaskEventsCloneInToOut & | operator= (const CbmTaskEventsCloneInToOut &)=delete |
Assignment operator (disabled) | |
Private Member Functions | |
virtual InitStatus | Init () |
Task initialisation. | |
ClassDef (CbmTaskEventsCloneInToOut, 1) | |
Private Attributes | |
FairFileSource * | fpFileIn = nullptr |
const TClonesArray * | fRecoEventsIn = nullptr |
TClonesArray * | fRecoEventsOut = nullptr |
double | fTimeTot = 0. |
Execution time. | |
size_t | fNumTs = 0 |
Number of processed timeslices. | |
size_t | fNumEvents = 0 |
Number of events. | |
Task class for clone CbmEvent objects from the Input to the output to allow their update, e.g. due to new reconstruction steps.
This tasks copies the existing CbmEvent from the input file to the memory with the persitency flag set, so that they appear in the output file and can be updated (standard inputs are const).
The task has to be run prior to any reconstruction task adding more information to the CbmEvent (e.g. hit or track reconstruction), but only in case the event building was done in a previous run (thus saving the events to the file used as input for this run)
Definition at line 29 of file CbmTaskEventsCloneInToOut.h.
CbmTaskEventsCloneInToOut::CbmTaskEventsCloneInToOut | ( | ) |
Constructor.
Definition at line 27 of file CbmTaskEventsCloneInToOut.cxx.
|
delete |
Copy constructor (disabled)
|
virtual |
Destructor.
Definition at line 32 of file CbmTaskEventsCloneInToOut.cxx.
|
private |
|
virtual |
Task execution.
Explicit creation-copy as no ranged Copy method for TClonesArray
Definition at line 37 of file CbmTaskEventsCloneInToOut.cxx.
References fNumEvents, fNumTs, fRecoEventsIn, fRecoEventsOut, and fTimeTot.
|
virtual |
Finish timeslice.
Definition at line 84 of file CbmTaskEventsCloneInToOut.cxx.
References fNumEvents, fNumTs, fRecoEventsOut, and fTimeTot.
|
privatevirtual |
Task initialisation.
Definition at line 98 of file CbmTaskEventsCloneInToOut.cxx.
References fpFileIn, fRecoEventsIn, and fRecoEventsOut.
|
delete |
Assignment operator (disabled)
|
private |
Number of events.
Definition at line 67 of file CbmTaskEventsCloneInToOut.h.
|
private |
Number of processed timeslices.
Definition at line 66 of file CbmTaskEventsCloneInToOut.h.
|
private |
Definition at line 62 of file CbmTaskEventsCloneInToOut.h.
Referenced by Init().
|
private |
Definition at line 63 of file CbmTaskEventsCloneInToOut.h.
|
private |
Definition at line 64 of file CbmTaskEventsCloneInToOut.h.
|
private |
Execution time.
Definition at line 65 of file CbmTaskEventsCloneInToOut.h.