9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
19 #include "TGeoManager.h"
29 TGeoManager::Import(path.c_str());
39 if (gGeoManager !=
nullptr) {
40 std::string volumeName =
"*";
43 tgpOptions.
targetNames = {
"PixelActiveo2",
"PixelActiveo4",
"PixelActiveo5",
45 std::string axes =
"XYZ";
49 tgpState.
volume = gGeoManager->GetTopVolume();
60 const auto& shape = *(snode.node->GetVolume()->GetShape());
61 const auto&
transform = *(snode.transform.get());
66 objVis.write(
"PixelActive");
72 if (gGeoManager !=
nullptr) {
73 std::string volumeName =
"*";
76 tgpOptions.
targetNames = {
"PixelActiveo2",
"PixelActiveo4",
"PixelActiveo5",
80 tgpOptions.
unit = 10.;
82 std::string axes =
"XYZ";
85 tgpState.
volume = gGeoManager->GetTopVolume();
96 const auto& shape = *(snode.node->GetVolume()->GetShape());
97 const auto&
transform = *(snode.transform.get());
102 objVis.write(
"PixelActive_Innermost");