CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kf::SetupBuilder::LayerProperty Struct Reference

A helper structure to store geometrical information of the layers. More...

#include <KfSetupBuilder.h>

Public Member Functions

bool operator< (const LayerProperty &rhs) const
 Comparison method (for sorting layers)
 
template<typename F>
ActiveLayer< FCreateActiveLayer () const
 Constructs an active layer.
 
std::string ToString () const
 String representation of the class.
 

Public Attributes

int detId
 
int locId
 Local index of the detector module.
 
double zRef
 Reference z-coordinate [cm].
 
double zMin
 Lower z-coordinate boundary [cm].
 
double zMax
 Upper z-coordinate boundary [cm].
 
double xMinFull
 Lower x-coordinate boundary of full volume [cm].
 
double xMaxFull
 Upper x-coordinate boundary of full volume [cm].
 
double yMinFull
 Lower x-coordinate boundary of full volume [cm].
 
double yMaxFull
 Upper x-coordinate boundary of full volume [cm].
 
double xMinAct
 Lower x-coordinate boundary of active volume [cm].
 
double xMaxAct
 Upper x-coordinate boundary of active volume [cm].
 
double yMinAct
 Lower x-coordinate boundary of active volume [cm].
 
double yMaxAct
 Upper x-coordinate boundary of active volume [cm].
 
EFieldType fieldType
 Type of the magnetic field.
 
bool timeInfo
 If a layer stores time information.
 

Detailed Description

A helper structure to store geometrical information of the layers.

Definition at line 47 of file KfSetupBuilder.h.

Member Function Documentation

◆ CreateActiveLayer()

template<typename F>
ActiveLayer< F > cbm::algo::kf::SetupBuilder::LayerProperty::CreateActiveLayer ( ) const
inline

Constructs an active layer.

Template Parameters
FFloating point type of the active layer

Definition at line 71 of file KfSetupBuilder.h.

References fieldType, timeInfo, xMaxAct, xMinAct, yMaxAct, yMinAct, and zRef.

◆ operator<()

bool cbm::algo::kf::SetupBuilder::LayerProperty::operator< ( const LayerProperty & rhs) const
inline

Comparison method (for sorting layers)

Definition at line 66 of file KfSetupBuilder.h.

References zRef.

◆ ToString()

std::string SetupBuilder::LayerProperty::ToString ( ) const

String representation of the class.

Definition at line 22 of file KfSetupBuilder.cxx.

References detId, fieldType, locId, timeInfo, xMaxAct, xMaxFull, xMinAct, xMinFull, yMaxAct, yMaxFull, yMinAct, yMinFull, zMax, zMin, and zRef.

Member Data Documentation

◆ detId

int cbm::algo::kf::SetupBuilder::LayerProperty::detId

Index of detector subsystem (NOTE: init with static_cast<int>(inpDetId), where inpDetId if of EDetID enum type)

Definition at line 48 of file KfSetupBuilder.h.

Referenced by ToString().

◆ fieldType

EFieldType cbm::algo::kf::SetupBuilder::LayerProperty::fieldType

Type of the magnetic field.

Definition at line 62 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), and ToString().

◆ locId

int cbm::algo::kf::SetupBuilder::LayerProperty::locId

Local index of the detector module.

Definition at line 50 of file KfSetupBuilder.h.

Referenced by ToString().

◆ timeInfo

bool cbm::algo::kf::SetupBuilder::LayerProperty::timeInfo

If a layer stores time information.

Definition at line 63 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), and ToString().

◆ xMaxAct

double cbm::algo::kf::SetupBuilder::LayerProperty::xMaxAct

Upper x-coordinate boundary of active volume [cm].

Definition at line 59 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), and ToString().

◆ xMaxFull

double cbm::algo::kf::SetupBuilder::LayerProperty::xMaxFull

Upper x-coordinate boundary of full volume [cm].

Definition at line 55 of file KfSetupBuilder.h.

Referenced by ToString().

◆ xMinAct

double cbm::algo::kf::SetupBuilder::LayerProperty::xMinAct

Lower x-coordinate boundary of active volume [cm].

Definition at line 58 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), and ToString().

◆ xMinFull

double cbm::algo::kf::SetupBuilder::LayerProperty::xMinFull

Lower x-coordinate boundary of full volume [cm].

Definition at line 54 of file KfSetupBuilder.h.

Referenced by ToString().

◆ yMaxAct

double cbm::algo::kf::SetupBuilder::LayerProperty::yMaxAct

Upper x-coordinate boundary of active volume [cm].

Definition at line 61 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), and ToString().

◆ yMaxFull

double cbm::algo::kf::SetupBuilder::LayerProperty::yMaxFull

Upper x-coordinate boundary of full volume [cm].

Definition at line 57 of file KfSetupBuilder.h.

Referenced by ToString().

◆ yMinAct

double cbm::algo::kf::SetupBuilder::LayerProperty::yMinAct

Lower x-coordinate boundary of active volume [cm].

Definition at line 60 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), and ToString().

◆ yMinFull

double cbm::algo::kf::SetupBuilder::LayerProperty::yMinFull

Lower x-coordinate boundary of full volume [cm].

Definition at line 56 of file KfSetupBuilder.h.

Referenced by ToString().

◆ zMax

double cbm::algo::kf::SetupBuilder::LayerProperty::zMax

Upper z-coordinate boundary [cm].

Definition at line 53 of file KfSetupBuilder.h.

Referenced by ToString().

◆ zMin

double cbm::algo::kf::SetupBuilder::LayerProperty::zMin

Lower z-coordinate boundary [cm].

Definition at line 52 of file KfSetupBuilder.h.

Referenced by ToString().

◆ zRef

double cbm::algo::kf::SetupBuilder::LayerProperty::zRef

Reference z-coordinate [cm].

Definition at line 51 of file KfSetupBuilder.h.

Referenced by CreateActiveLayer(), operator<(), and ToString().


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