CbmRoot
Loading...
Searching...
No Matches
cbm::tof::RecoSetupUnitFactory Class Reference

A builder class for the STS RecoSetupUnit. More...

#include <CbmTofRecoSetupUnitFactory.h>

Collaboration diagram for cbm::tof::RecoSetupUnitFactory:
[legend]

Public Types

using RecoSetupUnit_t = algo::tof::RecoSetupUnit
 
using TrkStationIdMap_t = algo::tof::TrkStationIdMap
 

Public Member Functions

 RecoSetupUnitFactory ()
 Default constructor (implements RAII for internal fields)
 
RecoSetupUnit_t Create () const
 Creates a reconstruction setup unit.
 

Private Member Functions

TrkStationIdMap_t CreateStationIdMap () const
 Creates the tracking station ID map.
 
std::pair< std::vector< algo::GeoVolume >, std::vector< algo::GeoVolume > > CreateStationVolumes () const
 Creates full and active volumes of the tracking stations.
 

Private Attributes

CbmTofDigiBdfParfDigiBdfPar {nullptr}
 

Detailed Description

A builder class for the STS RecoSetupUnit.

Definition at line 22 of file CbmTofRecoSetupUnitFactory.h.

Member Typedef Documentation

◆ RecoSetupUnit_t

◆ TrkStationIdMap_t

Constructor & Destructor Documentation

◆ RecoSetupUnitFactory()

RecoSetupUnitFactory::RecoSetupUnitFactory ( )

Default constructor (implements RAII for internal fields)

Definition at line 38 of file CbmTofRecoSetupUnitFactory.cxx.

References fDigiBdfPar.

Member Function Documentation

◆ Create()

RecoSetupUnit RecoSetupUnitFactory::Create ( ) const

Creates a reconstruction setup unit.

Definition at line 64 of file CbmTofRecoSetupUnitFactory.cxx.

References CreateStationIdMap(), and CreateStationVolumes().

◆ CreateStationIdMap()

RecoSetupUnitFactory::TrkStationIdMap_t RecoSetupUnitFactory::CreateStationIdMap ( ) const
private

Creates the tracking station ID map.

Definition at line 75 of file CbmTofRecoSetupUnitFactory.cxx.

References fDigiBdfPar.

Referenced by Create().

◆ CreateStationVolumes()

std::pair< std::vector< GeoVolume >, std::vector< GeoVolume > > RecoSetupUnitFactory::CreateStationVolumes ( ) const
private

Creates full and active volumes of the tracking stations.

Returns
pair {full volumes, active volumes}

Definition at line 113 of file CbmTofRecoSetupUnitFactory.cxx.

References cbm::GeoHelper::CollectNodes(), fDigiBdfPar, and cbm::RecoSetupUtils::ReadVolume().

Referenced by Create().

Member Data Documentation

◆ fDigiBdfPar

CbmTofDigiBdfPar* cbm::tof::RecoSetupUnitFactory::fDigiBdfPar {nullptr}
private

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