CbmRoot
Loading...
Searching...
No Matches
CbmTaskEventsCloneInToOut.h
Go to the documentation of this file.
1/* Copyright (C) 2023 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5
6#ifndef CbmTaskEventsCloneInToOut_H
7#define CbmTaskEventsCloneInToOut_H 1
8
9#include <FairTask.h>
10
11class TClonesArray;
12class FairFileSource;
13
29class CbmTaskEventsCloneInToOut : public FairTask {
30
31
32 public:
35
36
39
40
43
44
46 virtual void Exec(Option_t* opt);
47
48
50 virtual void Finish();
51
52
55
56
57 private: // methods
59 virtual InitStatus Init();
60
61 private: // members
62 FairFileSource* fpFileIn = nullptr;
63 const TClonesArray* fRecoEventsIn = nullptr;
64 TClonesArray* fRecoEventsOut = nullptr;
65 double fTimeTot = 0.;
66 size_t fNumTs = 0;
67 size_t fNumEvents = 0;
68
70};
71
72#endif /* CbmTaskEventsCloneInToOut_H */
Task class for clone CbmEvent objects from the Input to the output to allow their update,...
ClassDef(CbmTaskEventsCloneInToOut, 1)
size_t fNumTs
Number of processed timeslices.
virtual void Finish()
Finish timeslice.
virtual ~CbmTaskEventsCloneInToOut()
Destructor.
size_t fNumEvents
Number of events.
CbmTaskEventsCloneInToOut & operator=(const CbmTaskEventsCloneInToOut &)=delete
Assignment operator (disabled)
virtual void Exec(Option_t *opt)
Task execution.
virtual InitStatus Init()
Task initialisation.
CbmTaskEventsCloneInToOut(const CbmTaskEventsCloneInToOut &)=delete
Copy constructor (disabled)