|
CbmRoot
|
Task class for interfacing storable raw events in the CbmDigiEvent format to the current offline reconstruction chain. More...
#include <CbmTaskMakeRecoEvents.h>
Public Member Functions | |
| CbmTaskMakeRecoEvents () | |
| Constructor. | |
| CbmTaskMakeRecoEvents (const CbmTaskMakeRecoEvents &)=delete | |
| Copy constructor (disabled) | |
| virtual | ~CbmTaskMakeRecoEvents () |
| Destructor. | |
| virtual void | Exec (Option_t *opt) |
| Task execution. | |
| virtual void | Finish () |
| Finish timeslice. | |
| CbmTaskMakeRecoEvents & | operator= (const CbmTaskMakeRecoEvents &)=delete |
| Assignment operator (disabled) | |
Private Member Functions | |
| virtual InitStatus | Init () |
| Task initialisation. | |
| template<typename Digi> | |
| void | FillTree (gsl::span< const Digi > inVec, std::vector< Digi > *outVec, CbmEvent *event, ECbmDataType digiType) |
| Fill the tree structure with digis from CbmDigiEvent. | |
| void | FillTreeMvd (gsl::span< const CbmMvdRawDigi > inVec, std::vector< CbmMvdDigi > *outVec, CbmEvent *event) |
| Fill the tree with MVD digis. | |
| ClassDef (CbmTaskMakeRecoEvents, 2) | |
Private Attributes | |
| const std::vector< CbmDigiEvent > * | fDigiEvents = nullptr |
| TClonesArray * | fRecoEvents = nullptr |
| std::vector< CbmBmonDigi > * | fBmonDigis = nullptr |
| std::vector< CbmMvdDigi > * | fMvdDigis = nullptr |
| std::vector< CbmStsDigi > * | fStsDigis = nullptr |
| std::vector< CbmRichDigi > * | fRichDigis = nullptr |
| std::vector< CbmMuchDigi > * | fMuchDigis = nullptr |
| std::vector< CbmTrdDigi > * | fTrdDigis = nullptr |
| std::vector< CbmTofDigi > * | fTofDigis = nullptr |
| std::vector< CbmFsdDigi > * | fFsdDigis = nullptr |
| double | fTimeTot = 0. |
| Execution time. | |
| size_t | fNumTs = 0 |
| Number of processed timeslices. | |
| size_t | fNumEvents = 0 |
| Number of events. | |
Task class for interfacing storable raw events in the CbmDigiEvent format to the current offline reconstruction chain.
This tasks creates the established data interfaces (digi branches, CbmEvent) as input to the reconstruction tasks from digis stored in the new event data format CbmDigiEvent as created by trigger and event builder from experiment or simulated data. It is to be understood as intermediate solution until the reconstruction routines will be properly interfaced to the new format. The expense is a duplication of digis in memory.
The task has to be run prior to any reconstruction task making use of digis (cluster and hit finder).
Definition at line 39 of file CbmTaskMakeRecoEvents.h.
| CbmTaskMakeRecoEvents::CbmTaskMakeRecoEvents | ( | ) |
Constructor.
Definition at line 27 of file CbmTaskMakeRecoEvents.cxx.
Referenced by CbmTaskMakeRecoEvents(), ClassDef(), and operator=().
|
delete |
Copy constructor (disabled)
References CbmTaskMakeRecoEvents().
|
virtual |
Destructor.
Definition at line 32 of file CbmTaskMakeRecoEvents.cxx.
|
private |
References CbmTaskMakeRecoEvents().
|
virtual |
Task execution.
Definition at line 37 of file CbmTaskMakeRecoEvents.cxx.
References fBmonDigis, fDigiEvents, fFsdDigis, FillTree(), FillTreeMvd(), fMuchDigis, fMvdDigis, fNumEvents, fNumTs, fRecoEvents, fRichDigis, fStsDigis, fTimeTot, fTofDigis, fTrdDigis, kBmonDigi, kFsdDigi, kMuchDigi, kRichDigi, kStsDigi, kTofDigi, and kTrdDigi.
|
inlineprivate |
Fill the tree structure with digis from CbmDigiEvent.
| inVec | Digi vector form CbmDigiEvent |
| outVec | Digi vector in TTree branch |
| event | Pointer to CbmEvent object the digis will be registered to |
| digiType | Type of digi class (ECbmDataType) |
Copies the digis from CbmDigiEvent into the TTree branch and registers them to the CbmEvent object.
Definition at line 82 of file CbmTaskMakeRecoEvents.h.
References CbmEvent::AddData().
Referenced by Exec().
|
inlineprivate |
Fill the tree with MVD digis.
| inVec | Digi vector from CbmDigiEvent |
| outVec | Digi vector in TTree branch |
| event | Pointer to CbmEvent object the digis will be registered to |
Special implementation of FillTree for MVD digis. We have the complication that CbmDigiEvent contains CbmMvdRawDigis, wheras we need CbmMvdDigi object for the MVD reconstruction. The conversion happens in a constructor of CbmMvdDigi.
Definition at line 100 of file CbmTaskMakeRecoEvents.h.
References kMvdDigi.
Referenced by Exec().
|
virtual |
Finish timeslice.
Definition at line 115 of file CbmTaskMakeRecoEvents.cxx.
References fNumEvents, fNumTs, and fTimeTot.
|
privatevirtual |
Task initialisation.
Definition at line 128 of file CbmTaskMakeRecoEvents.cxx.
References fBmonDigis, fDigiEvents, fFsdDigis, fMuchDigis, fMvdDigis, fRecoEvents, fRichDigis, fStsDigis, fTofDigis, and fTrdDigis.
|
delete |
Assignment operator (disabled)
References CbmTaskMakeRecoEvents().
|
private |
Definition at line 114 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 112 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 121 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 118 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 115 of file CbmTaskMakeRecoEvents.h.
|
private |
Number of events.
Definition at line 124 of file CbmTaskMakeRecoEvents.h.
|
private |
Number of processed timeslices.
Definition at line 123 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 113 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 117 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 116 of file CbmTaskMakeRecoEvents.h.
|
private |
Execution time.
Definition at line 122 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 120 of file CbmTaskMakeRecoEvents.h.
|
private |
Definition at line 119 of file CbmTaskMakeRecoEvents.h.