Belle II Software development
VXDGeoPlacement Class Reference

Class holding all parameters to place a VXD geometry subcomponent. More...

#include <GeoVXDComponents.h>

Public Types

enum  EPosW {
  c_below ,
  c_bottom ,
  c_center ,
  c_top ,
  c_above
}
 Enum describing where to place the component vertically. More...
 

Public Member Functions

 VXDGeoPlacement (const std::string &name="", double u=0, double v=0, std::string w="bottom", double woffset=0)
 Constructor.
 
const std::string & getName () const
 get Name of the component
 
double getU () const
 get local u coordinate where to place the component
 
double getV () const
 get local v coordinate where to place the component
 
EPosW getW () const
 get local w position where to place the component
 
double getWOffset () const
 get offset to local w position where to place the component
 

Private Attributes

std::string m_name
 Name of the component.
 
double m_u
 u coordinate where to place the component
 
double m_v
 v coordinate where to place the component
 
EPosW m_w
 w coordinate where to place the component
 
double m_woffset
 Offset to the w placement of the component.
 

Detailed Description

Class holding all parameters to place a VXD geometry subcomponent.

Definition at line 25 of file GeoVXDComponents.h.

Member Enumeration Documentation

◆ EPosW

enum EPosW

Enum describing where to place the component vertically.

Enumerator
c_below 

Place the component below the mother.

c_bottom 

Place the component at the bottom of the mother.

c_center 

Place the component at the center of the mother.

c_top 

Place the component at the top of the mother.

c_above 

Place the component above the mother.

Definition at line 28 of file GeoVXDComponents.h.

28 {
29 c_below,
30 c_bottom,
31 c_center,
32 c_top,
33 c_above
34 };
@ c_bottom
Place the component at the bottom of the mother.
@ c_above
Place the component above the mother.
@ c_center
Place the component at the center of the mother.
@ c_top
Place the component at the top of the mother.
@ c_below
Place the component below the mother.

Member Function Documentation

◆ getName()

const std::string & getName ( ) const
inline

get Name of the component

Definition at line 39 of file GeoVXDComponents.h.

39{ return m_name; }
std::string m_name
Name of the component.

◆ getU()

double getU ( ) const
inline

get local u coordinate where to place the component

Definition at line 41 of file GeoVXDComponents.h.

41{ return m_u; }
double m_u
u coordinate where to place the component

◆ getV()

double getV ( ) const
inline

get local v coordinate where to place the component

Definition at line 43 of file GeoVXDComponents.h.

43{ return m_v; }
double m_v
v coordinate where to place the component

◆ getW()

EPosW getW ( ) const
inline

get local w position where to place the component

Definition at line 45 of file GeoVXDComponents.h.

45{ return m_w; }
EPosW m_w
w coordinate where to place the component

◆ getWOffset()

double getWOffset ( ) const
inline

get offset to local w position where to place the component

Definition at line 47 of file GeoVXDComponents.h.

47{ return m_woffset; }
double m_woffset
Offset to the w placement of the component.

Member Data Documentation

◆ m_name

std::string m_name
private

Name of the component.

Definition at line 50 of file GeoVXDComponents.h.

◆ m_u

double m_u
private

u coordinate where to place the component

Definition at line 52 of file GeoVXDComponents.h.

◆ m_v

double m_v
private

v coordinate where to place the component

Definition at line 54 of file GeoVXDComponents.h.

◆ m_w

EPosW m_w
private

w coordinate where to place the component

Definition at line 56 of file GeoVXDComponents.h.

◆ m_woffset

double m_woffset
private

Offset to the w placement of the component.

Definition at line 58 of file GeoVXDComponents.h.


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