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

A factory class for the MuCh RecoSetupUnit. More...

#include <CbmMuchRecoSetupUnitFactory.h>

Public Types

using RecoSetupUnit_t = algo::much::RecoSetupUnit
 
using OffsetContainer_t = typename RecoSetupUnit_t::OffsetContainer_t
 

Public Member Functions

 RecoSetupUnitFactory ()
 Default constructor (check for parameter containers)
 
RecoSetupUnit_t Create () const
 Creates a reconstruction setup unit.
 

Private Member Functions

OffsetContainer_t CreateStationIdOffsets () const
 Creates tracking station offset container.
 
std::pair< std::vector< algo::GeoVolume >, std::vector< algo::GeoVolume > > CreateStationVolumes () const
 Creates full and active volumes of the tracking stations.
 

Detailed Description

A factory class for the MuCh RecoSetupUnit.

Definition at line 18 of file CbmMuchRecoSetupUnitFactory.h.

Member Typedef Documentation

◆ OffsetContainer_t

◆ RecoSetupUnit_t

Constructor & Destructor Documentation

◆ RecoSetupUnitFactory()

RecoSetupUnitFactory::RecoSetupUnitFactory ( )

Default constructor (check for parameter containers)

Definition at line 36 of file CbmMuchRecoSetupUnitFactory.cxx.

References CbmSetup::GetGeoTag(), CbmMuchGeoScheme::Init(), CbmMuchGeoScheme::Instance(), CbmSetup::Instance(), and kMuch.

Member Function Documentation

◆ Create()

RecoSetupUnit RecoSetupUnitFactory::Create ( ) const

Creates a reconstruction setup unit.

Definition at line 62 of file CbmMuchRecoSetupUnitFactory.cxx.

References CreateStationIdOffsets(), and CreateStationVolumes().

◆ CreateStationIdOffsets()

RecoSetupUnitFactory::OffsetContainer_t RecoSetupUnitFactory::CreateStationIdOffsets ( ) const
private

Creates tracking station offset container.

Definition at line 74 of file CbmMuchRecoSetupUnitFactory.cxx.

References CbmMuchGeoScheme::Instance().

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 88 of file CbmMuchRecoSetupUnitFactory.cxx.

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

Referenced by Create().


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