24 aper1(0.0),aper2(0.0),
25 offsetX(0.0),offsetY(0.0),
26 thickness(0.0),soilThickness(0.0),
27 floorOffset(0.0),visible(true)
58 publish(
"aper2",&Tunnel::aper2);
60 publish(
"offsetY",&Tunnel::offsetY);
62 publish(
"soilThickness",&Tunnel::soilThickness);
63 publish(
"floorOffset",&Tunnel::floorOffset);
68 publish(
"endElement",&Tunnel::endElement);
73 std::cout <<
"tunnel: "
81 << soilThickness <<
" "
void publish(const std::string &name, T C::*mp)
Make pointer to member from class C and type T with accessible with a name.
double aper1
radius, aperture parameters
void PublishMembers()
Publish members.
std::string soilMaterial
soil
std::string startElement
start and end element by name
double thickness
tunnel geometry parameters
std::string material
material
std::string type
geometry type
double offsetX
offset x and y
void print() const
print some properties
Parser namespace for GMAD language. Combination of Geant4 and MAD.