CbmRoot
Loading...
Searching...
No Matches
CbmTrackingDetectorInterfaceBase::VolumeInfo Struct Reference

Structure to store geometry information of each station. More...

#include <CbmTrackingDetectorInterfaceBase.h>

Public Member Functions

 VolumeInfo (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
 Constructor from parameters.
 
 VolumeInfo ()=default
 Rule of five.
 
VolumeInfooperator+= (const VolumeInfo &other)
 Compound assingment of another volume.
 
std::string ToString () const
 String representation of the structure.
 

Public Attributes

double fXmin {+std::numeric_limits<double>::max()}
 Lower bound in x-direction [cm].
 
double fXmax {-std::numeric_limits<double>::max()}
 Upper bound in x-direction [cm].
 
double fYmin {+std::numeric_limits<double>::max()}
 Lower bound in y-direction [cm].
 
double fYmax {-std::numeric_limits<double>::max()}
 Upper bound in y-direction [cm].
 
double fZmin {+std::numeric_limits<double>::max()}
 Lower bound in z-direction [cm].
 
double fZmax {-std::numeric_limits<double>::max()}
 Upper bound in z-direction [cm].
 

Detailed Description

Structure to store geometry information of each station.

Definition at line 37 of file CbmTrackingDetectorInterfaceBase.h.

Constructor & Destructor Documentation

◆ VolumeInfo() [1/2]

CbmTrackingDetectorInterfaceBase::VolumeInfo::VolumeInfo ( double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax )
inline

Constructor from parameters.

Definition at line 46 of file CbmTrackingDetectorInterfaceBase.h.

◆ VolumeInfo() [2/2]

CbmTrackingDetectorInterfaceBase::VolumeInfo::VolumeInfo ( )
default

Rule of five.

Member Function Documentation

◆ operator+=()

VolumeInfo & CbmTrackingDetectorInterfaceBase::VolumeInfo::operator+= ( const VolumeInfo & other)
inline

Compound assingment of another volume.

Definition at line 64 of file CbmTrackingDetectorInterfaceBase.h.

References fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

◆ ToString()

std::string CbmTrackingDetectorInterfaceBase::VolumeInfo::ToString ( ) const

String representation of the structure.

Definition at line 182 of file CbmTrackingDetectorInterfaceBase.cxx.

References fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

Member Data Documentation

◆ fXmax

double CbmTrackingDetectorInterfaceBase::VolumeInfo::fXmax {-std::numeric_limits<double>::max()}

Upper bound in x-direction [cm].

Definition at line 39 of file CbmTrackingDetectorInterfaceBase.h.

Referenced by operator+=(), CbmTrackingDetectorInterfaceBase::ReadVolume(), and ToString().

◆ fXmin

double CbmTrackingDetectorInterfaceBase::VolumeInfo::fXmin {+std::numeric_limits<double>::max()}

Lower bound in x-direction [cm].

Definition at line 38 of file CbmTrackingDetectorInterfaceBase.h.

Referenced by operator+=(), CbmTrackingDetectorInterfaceBase::ReadVolume(), and ToString().

◆ fYmax

double CbmTrackingDetectorInterfaceBase::VolumeInfo::fYmax {-std::numeric_limits<double>::max()}

Upper bound in y-direction [cm].

Definition at line 41 of file CbmTrackingDetectorInterfaceBase.h.

Referenced by operator+=(), CbmTrackingDetectorInterfaceBase::ReadVolume(), and ToString().

◆ fYmin

double CbmTrackingDetectorInterfaceBase::VolumeInfo::fYmin {+std::numeric_limits<double>::max()}

Lower bound in y-direction [cm].

Definition at line 40 of file CbmTrackingDetectorInterfaceBase.h.

Referenced by operator+=(), CbmTrackingDetectorInterfaceBase::ReadVolume(), and ToString().

◆ fZmax

double CbmTrackingDetectorInterfaceBase::VolumeInfo::fZmax {-std::numeric_limits<double>::max()}

Upper bound in z-direction [cm].

Definition at line 43 of file CbmTrackingDetectorInterfaceBase.h.

Referenced by operator+=(), CbmTrackingDetectorInterfaceBase::ReadVolume(), and ToString().

◆ fZmin

double CbmTrackingDetectorInterfaceBase::VolumeInfo::fZmin {+std::numeric_limits<double>::max()}

Lower bound in z-direction [cm].

Definition at line 42 of file CbmTrackingDetectorInterfaceBase.h.

Referenced by operator+=(), CbmTrackingDetectorInterfaceBase::ReadVolume(), and ToString().


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