R3BROOT
R3B analysis software
Toggle main menu visibility
Loading...
Searching...
No Matches
R3BNeulandGeoCreator.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
class
TGeoVolume;
5
class
FairGeoMedia;
6
class
FairGeoBuilder;
7
class
TGeoMedium;
8
class
TGeoShape;
9
class
FairGeoLoader;
10
class
FairGeoInterface;
11
class
TGeoManager;
12
13
namespace
R3B::Neuland::Geometry
14
{
15
struct
BarDimension
16
{
17
double
length
{};
18
double
width
{};
19
double
cone_radius
{};
20
double
cone_length
{};
21
};
22
23
class
Creator
24
{
25
public
:
26
Creator
() =
default
;
27
28
auto
construct_volume
(
int
num_of_planes, FairGeoLoader* geo_loader) -> TGeoVolume*;
29
30
private
:
31
FairGeoBuilder*
geo_builder_
=
nullptr
;
32
FairGeoMedia*
geo_media_
=
nullptr
;
33
34
TGeoMedium*
material_BC408_
=
nullptr
;
35
TGeoMedium*
material_poly_
=
nullptr
;
36
TGeoMedium*
material_Al_
=
nullptr
;
37
38
TGeoShape*
shape_scintillator_
=
nullptr
;
39
TGeoShape*
shape_Al_wrapping_
=
nullptr
;
40
TGeoShape*
shape_tape_wrapping_
=
nullptr
;
41
42
TGeoVolume*
scintillator_
=
nullptr
;
43
TGeoVolume*
Al_wrapping_
=
nullptr
;
44
TGeoVolume*
tape_wrapping_
=
nullptr
;
45
TGeoVolume*
bar_
=
nullptr
;
46
47
void
construct_all_material
();
48
void
construct_all_volumes
();
49
void
construct_all_shapes
();
50
51
auto
build_detector
(
int
num_of_planes) -> TGeoVolume*;
52
auto
build_material
(
const
std::string& material) -> TGeoMedium*;
53
auto
build_bar_volume
() -> TGeoVolume*;
54
auto
build_scintillator
() -> TGeoVolume*;
55
auto
build_Al_wrapping
() -> TGeoVolume*;
56
auto
build_tape_wrapping
() -> TGeoVolume*;
57
58
void
read_material_from_file
(FairGeoLoader* geo_loader);
59
};
60
61
}
// namespace R3B::Neuland::Geometry
R3B::Neuland::Geometry::Creator::shape_Al_wrapping_
TGeoShape * shape_Al_wrapping_
Definition
R3BNeulandGeoCreator.h:39
R3B::Neuland::Geometry::Creator::construct_all_shapes
void construct_all_shapes()
Definition
R3BNeulandGeoCreator.cxx:142
R3B::Neuland::Geometry::Creator::material_poly_
TGeoMedium * material_poly_
Definition
R3BNeulandGeoCreator.h:35
R3B::Neuland::Geometry::Creator::Al_wrapping_
TGeoVolume * Al_wrapping_
Definition
R3BNeulandGeoCreator.h:43
R3B::Neuland::Geometry::Creator::build_bar_volume
auto build_bar_volume() -> TGeoVolume *
Definition
R3BNeulandGeoCreator.cxx:167
R3B::Neuland::Geometry::Creator::construct_all_volumes
void construct_all_volumes()
Definition
R3BNeulandGeoCreator.cxx:127
R3B::Neuland::Geometry::Creator::bar_
TGeoVolume * bar_
Definition
R3BNeulandGeoCreator.h:45
R3B::Neuland::Geometry::Creator::shape_tape_wrapping_
TGeoShape * shape_tape_wrapping_
Definition
R3BNeulandGeoCreator.h:40
R3B::Neuland::Geometry::Creator::build_scintillator
auto build_scintillator() -> TGeoVolume *
Definition
R3BNeulandGeoCreator.cxx:176
R3B::Neuland::Geometry::Creator::geo_builder_
FairGeoBuilder * geo_builder_
Definition
R3BNeulandGeoCreator.h:31
R3B::Neuland::Geometry::Creator::build_Al_wrapping
auto build_Al_wrapping() -> TGeoVolume *
Definition
R3BNeulandGeoCreator.cxx:186
R3B::Neuland::Geometry::Creator::shape_scintillator_
TGeoShape * shape_scintillator_
Definition
R3BNeulandGeoCreator.h:38
R3B::Neuland::Geometry::Creator::build_tape_wrapping
auto build_tape_wrapping() -> TGeoVolume *
Definition
R3BNeulandGeoCreator.cxx:194
R3B::Neuland::Geometry::Creator::construct_volume
auto construct_volume(int num_of_planes, FairGeoLoader *geo_loader) -> TGeoVolume *
Definition
R3BNeulandGeoCreator.cxx:84
R3B::Neuland::Geometry::Creator::Creator
Creator()=default
R3B::Neuland::Geometry::Creator::material_Al_
TGeoMedium * material_Al_
Definition
R3BNeulandGeoCreator.h:36
R3B::Neuland::Geometry::Creator::material_BC408_
TGeoMedium * material_BC408_
Definition
R3BNeulandGeoCreator.h:34
R3B::Neuland::Geometry::Creator::scintillator_
TGeoVolume * scintillator_
Definition
R3BNeulandGeoCreator.h:42
R3B::Neuland::Geometry::Creator::build_detector
auto build_detector(int num_of_planes) -> TGeoVolume *
Definition
R3BNeulandGeoCreator.cxx:93
R3B::Neuland::Geometry::Creator::construct_all_material
void construct_all_material()
Definition
R3BNeulandGeoCreator.cxx:135
R3B::Neuland::Geometry::Creator::read_material_from_file
void read_material_from_file(FairGeoLoader *geo_loader)
Definition
R3BNeulandGeoCreator.cxx:227
R3B::Neuland::Geometry::Creator::build_material
auto build_material(const std::string &material) -> TGeoMedium *
Definition
R3BNeulandGeoCreator.cxx:202
R3B::Neuland::Geometry::Creator::geo_media_
FairGeoMedia * geo_media_
Definition
R3BNeulandGeoCreator.h:32
R3B::Neuland::Geometry::Creator::tape_wrapping_
TGeoVolume * tape_wrapping_
Definition
R3BNeulandGeoCreator.h:44
R3B::Neuland::Geometry
Definition
R3BNeulandGeoCreator.cxx:23
R3B::Neuland::Geometry::BarDimension
Definition
R3BNeulandGeoCreator.h:16
R3B::Neuland::Geometry::BarDimension::length
double length
Definition
R3BNeulandGeoCreator.h:17
R3B::Neuland::Geometry::BarDimension::cone_radius
double cone_radius
Definition
R3BNeulandGeoCreator.h:19
R3B::Neuland::Geometry::BarDimension::width
double width
Definition
R3BNeulandGeoCreator.h:18
R3B::Neuland::Geometry::BarDimension::cone_length
double cone_length
Definition
R3BNeulandGeoCreator.h:20
neuland
geobase
R3BNeulandGeoCreator.h
Generated by
1.18.0