CbmRoot
|
#include <CbmTaskTrdHitFinder.h>
Public Member Functions | |
CbmTaskTrdHitFinder () | |
Default constructor. | |
~CbmTaskTrdHitFinder () | |
Default destructor. | |
virtual InitStatus | Init () |
virtual void | SetParContainers () |
virtual void | Exec (Option_t *option) |
Executed task. | |
virtual void | Finish () |
Private Member Functions | |
CbmTaskTrdHitFinder (const CbmTaskTrdHitFinder &) | |
CbmTaskTrdHitFinder & | operator= (const CbmTaskTrdHitFinder &) |
template<class TModule , class TCluster > | |
void | BuildHits (TModule *mod, std::vector< TCluster > *clusters) |
Build hits from clusters for a given module. | |
template<class TCluster > | |
void | AddClusters (std::vector< TCluster > *clusters) |
void | AddHits (gsl::span< cbm::algo::trd::Hit > hits) |
bool | InitAlgos () |
Create one algo object for each RPC. | |
ClassDef (CbmTaskTrdHitFinder, 1) | |
Private Attributes | |
std::vector< CbmTrdCluster > * | fClusters = nullptr |
std::vector< CbmTrdHit > * | fHits = nullptr |
Output array of CbmTrdHit. | |
std::unique_ptr< cbm::algo::trd::Hitfind > | fAlgo |
Hit finding algorithm. | |
UInt_t | fNrTs = 0 |
Number of processed time slices. | |
UInt_t | fNrEvents = 0 |
Number of processed events (without CbmEvent corresponds to nr of exec calls) | |
UInt_t | fNrDigis = 0 |
Number of digis as input for the hit production. | |
UInt_t | fNrClusters = 0 |
Number of produced clusters. | |
UInt_t | fNrHits = 0 |
Number of produced hits. | |
Float_t | fProcessTime = 0 |
Total processing time [RealTime]. | |
Task to build TRD and TRD2D hits from yaml configuratin.
Definition at line 25 of file CbmTaskTrdHitFinder.h.
CbmTaskTrdHitFinder::CbmTaskTrdHitFinder | ( | ) |
Default constructor.
Definition at line 33 of file CbmTaskTrdHitFinder.cxx.
CbmTaskTrdHitFinder::~CbmTaskTrdHitFinder | ( | ) |
Default destructor.
Definition at line 36 of file CbmTaskTrdHitFinder.cxx.
|
private |
|
private |
|
private |
Definition at line 106 of file CbmTaskTrdHitFinder.cxx.
References dpos, fHits, hits, pos, CbmTrdHit::SetClassType(), CbmTrdHit::SetMaxType(), CbmTrdHit::SetOverFlow(), and CbmTrdHit::SetRowCross().
Referenced by Exec().
|
private |
Build hits from clusters for a given module.
|
private |
|
virtual |
Executed task.
Definition at line 76 of file CbmTaskTrdHitFinder.cxx.
References AddHits(), fClusters, fHits, fNrTs, fProcessTime, CbmDigiManager::Get(), CbmDigiManager::GetNofDigis(), hits, CbmDigiManager::Instance(), and kTrd.
|
virtual |
Finish task
Definition at line 124 of file CbmTaskTrdHitFinder.cxx.
References fNrClusters, fNrDigis, fNrEvents, fNrHits, and fProcessTime.
|
virtual |
Initialisation
Definition at line 55 of file CbmTaskTrdHitFinder.cxx.
References fAlgo, fClusters, fHits, CbmDigiManager::Init(), CbmDigiManager::Instance(), kTrd, and cbm::algo::yaml::ReadFromFile().
|
private |
Create one algo object for each RPC.
|
private |
|
virtual |
Definition at line 49 of file CbmTaskTrdHitFinder.cxx.
|
private |
|
private |
Output array of CbmTrdCluster
Definition at line 66 of file CbmTaskTrdHitFinder.h.
Referenced by Exec(), Init(), and ~CbmTaskTrdHitFinder().
|
private |
Output array of CbmTrdHit.
Definition at line 69 of file CbmTaskTrdHitFinder.h.
Referenced by AddHits(), Exec(), Init(), and ~CbmTaskTrdHitFinder().
|
private |
Number of produced clusters.
Definition at line 84 of file CbmTaskTrdHitFinder.h.
Referenced by Finish().
|
private |
Number of digis as input for the hit production.
Definition at line 81 of file CbmTaskTrdHitFinder.h.
Referenced by Finish().
|
private |
Number of processed events (without CbmEvent corresponds to nr of exec calls)
Definition at line 78 of file CbmTaskTrdHitFinder.h.
Referenced by Finish().
|
private |
Number of produced hits.
Definition at line 87 of file CbmTaskTrdHitFinder.h.
Referenced by Finish().
|
private |
Number of processed time slices.
Definition at line 75 of file CbmTaskTrdHitFinder.h.
Referenced by Exec().
|
private |
Total processing time [RealTime].
Definition at line 90 of file CbmTaskTrdHitFinder.h.