CbmRoot
Loading...
Searching...
No Matches
cbm::algo::tof::Hitfind Class Reference

Algo class for hitfinding. More...

#include <Hitfind.h>

Public Types

typedef std::tuple< PartitionedVector< Hit >, HitfindMonitorData, PODVector< i32 > > resultType
 

Public Member Functions

resultType operator() (gsl::span< CbmTofDigi > digiIn)
 Algorithm execution.
 
 Hitfind (tof::HitfindSetup)
 Constructor.
 

Private Attributes

std::vector< tof::ClusterizerfAlgo
 TOF hitfinders (with unique RPC index for OpenMP)
 
std::vector< int32_t > fNbSm
 Number of SMs per super module type.
 
std::vector< int32_t > fNbRpc
 Number of RPCs per super module type.
 
std::vector< std::vector< std::vector< std::pair< CbmTofDigi, int32_t > > > > fStorDigi
 Intermediate storage variables (digi, index)
 
std::vector< std::vector< std::pair< CbmTofDigi, int32_t > > * > fStorDigiPtr
 Pointer to storage variables with unique RPC index (for OpenMP)
 

Detailed Description

Algo class for hitfinding.

Author
Dominik Smith d.smi.nosp@m.th@g.nosp@m.si.de
Since
16.10.2023

Definition at line 52 of file tof/Hitfind.h.

Member Typedef Documentation

◆ resultType

Constructor & Destructor Documentation

◆ Hitfind()

Member Function Documentation

◆ operator()()

Hitfind::resultType cbm::algo::tof::Hitfind::operator() ( gsl::span< CbmTofDigi > digiIn)

Algorithm execution.

Parameters
flestimeslice to hitfind
Returns
pair: digi timeslice, monitoring data
Note
Modifies input digis for time calibration

Definition at line 74 of file tof/Hitfind.cxx.

References CBM_OMP, CBM_PARALLEL, fAlgo, fNbRpc, fNbSm, fStorDigi, fStorDigiPtr, cbm::algo::openmp::GetNumThreads(), CbmTofDigi::GetRpc(), CbmTofDigi::GetSm(), cbm::algo::openmp::GetThreadNum(), and CbmTofDigi::GetType().

Member Data Documentation

◆ fAlgo

std::vector<tof::Clusterizer> cbm::algo::tof::Hitfind::fAlgo
private

TOF hitfinders (with unique RPC index for OpenMP)

Definition at line 70 of file tof/Hitfind.h.

Referenced by Hitfind(), and operator()().

◆ fNbRpc

std::vector<int32_t> cbm::algo::tof::Hitfind::fNbRpc
private

Number of RPCs per super module type.

Definition at line 76 of file tof/Hitfind.h.

Referenced by Hitfind(), and operator()().

◆ fNbSm

std::vector<int32_t> cbm::algo::tof::Hitfind::fNbSm
private

Number of SMs per super module type.

Definition at line 73 of file tof/Hitfind.h.

Referenced by Hitfind(), and operator()().

◆ fStorDigi

std::vector<std::vector<std::vector<std::pair<CbmTofDigi, int32_t> > > > cbm::algo::tof::Hitfind::fStorDigi
private

Intermediate storage variables (digi, index)

Definition at line 79 of file tof/Hitfind.h.

Referenced by Hitfind(), and operator()().

◆ fStorDigiPtr

std::vector<std::vector<std::pair<CbmTofDigi, int32_t> >*> cbm::algo::tof::Hitfind::fStorDigiPtr
private

Pointer to storage variables with unique RPC index (for OpenMP)

Definition at line 82 of file tof/Hitfind.h.

Referenced by Hitfind(), and operator()().


The documentation for this class was generated from the following files: