Belle II Software development
CDCGeometry::MotherVolume Class Reference

Mother volume geometry parameters. More...

#include <CDCGeometry.h>

Inheritance diagram for CDCGeometry::MotherVolume:

Public Member Functions

 MotherVolume ()
 Constructor.
 
 ~MotherVolume ()
 Destructor.
 
void appendNode (double rmin, double rmax, double z)
 Append a new node.
 
int getNNodes () const
 Get the number of the mother volume nodes.
 
std::vector< double > getRmin () const
 Get the list of the Rmin corrdinates.
 
std::vector< double > getRmax () const
 Get the list of the Rmax corrdinates.
 
std::vector< double > getZ () const
 Get the list of the z corrdinates.
 

Private Member Functions

 ClassDef (MotherVolume, 1)
 Makes objects storable.
 

Private Attributes

std::vector< double > m_rmin
 Rmin list of the mother volume.
 
std::vector< double > m_rmax
 Rmax list of the mother volume.
 
std::vector< double > m_z
 Z-cordinates list of the mother volume.
 

Detailed Description

Mother volume geometry parameters.

Definition at line 910 of file CDCGeometry.h.

Constructor & Destructor Documentation

◆ MotherVolume()

MotherVolume ( )
inline

Constructor.

Definition at line 917 of file CDCGeometry.h.

917{}

◆ ~MotherVolume()

~MotherVolume ( )
inline

Destructor.

Definition at line 922 of file CDCGeometry.h.

922{}

Member Function Documentation

◆ appendNode()

void appendNode ( double  rmin,
double  rmax,
double  z 
)

Append a new node.

Definition at line 17 of file CDCGeometry.cc.

18{
19 m_rmin.push_back(rmin);
20 m_rmax.push_back(rmax);
21 m_z.push_back(z);
22}
std::vector< double > m_z
Z-cordinates list of the mother volume.
Definition: CDCGeometry.h:950
std::vector< double > m_rmin
Rmin list of the mother volume.
Definition: CDCGeometry.h:948
std::vector< double > m_rmax
Rmax list of the mother volume.
Definition: CDCGeometry.h:949

◆ getNNodes()

int getNNodes ( ) const
inline

Get the number of the mother volume nodes.

Definition at line 932 of file CDCGeometry.h.

932{ return m_rmin.size();}

◆ getRmax()

std::vector< double > getRmax ( ) const
inline

Get the list of the Rmax corrdinates.

Definition at line 940 of file CDCGeometry.h.

940{ return m_rmax;}

◆ getRmin()

std::vector< double > getRmin ( ) const
inline

Get the list of the Rmin corrdinates.

Definition at line 936 of file CDCGeometry.h.

936{ return m_rmin;}

◆ getZ()

std::vector< double > getZ ( ) const
inline

Get the list of the z corrdinates.

Definition at line 944 of file CDCGeometry.h.

944{ return m_z;}

Member Data Documentation

◆ m_rmax

std::vector<double> m_rmax
private

Rmax list of the mother volume.

Definition at line 949 of file CDCGeometry.h.

◆ m_rmin

std::vector<double> m_rmin
private

Rmin list of the mother volume.

Definition at line 948 of file CDCGeometry.h.

◆ m_z

std::vector<double> m_z
private

Z-cordinates list of the mother volume.

Definition at line 950 of file CDCGeometry.h.


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