29 auto construct_volume(
int num_of_planes, FairGeoLoader* geo_loader) -> TGeoVolume*;
32 FairGeoBuilder* geo_builder_ =
nullptr;
33 FairGeoMedia* geo_media_ =
nullptr;
35 TGeoMedium* material_BC408_ =
nullptr;
36 TGeoMedium* material_poly_ =
nullptr;
37 TGeoMedium* material_Al_ =
nullptr;
39 TGeoShape* shape_scintillator_ =
nullptr;
40 TGeoShape* shape_Al_wrapping_ =
nullptr;
41 TGeoShape* shape_tape_wrapping_ =
nullptr;
43 TGeoVolume* scintillator_ =
nullptr;
44 TGeoVolume* Al_wrapping_ =
nullptr;
45 TGeoVolume* tape_wrapping_ =
nullptr;
46 TGeoVolume* bar_ =
nullptr;
48 void construct_all_material();
49 void construct_all_volumes();
50 void construct_all_shapes();
52 auto build_detector(
int num_of_planes) -> TGeoVolume*;
53 auto build_material(
const std::string& material) -> TGeoMedium*;
54 auto build_bar_volume() -> TGeoVolume*;
55 auto build_scintillator() -> TGeoVolume*;
56 auto build_Al_wrapping() -> TGeoVolume*;
57 auto build_tape_wrapping() -> TGeoVolume*;
59 void read_material_from_file(FairGeoLoader* geo_loader);