7 #include <phparameter/PHParameters.h>
8 #include <phparameter/PHParametersContainer.h>
24 #include <type_traits>
31 , m_LayerConfigVector(layerconfig)
32 , m_DetectorType(detectorname)
34 for (std::vector<std::pair<int, int>>::const_iterator
piter = layerconfig.begin();
piter != layerconfig.end(); ++
piter)
56 std::cout <<
"PHG4InttSubsystem::Init started" << std::endl;
65 std::pair<std::vector<std::pair<int, int>>::const_iterator, std::vector<std::pair<int, int>>::const_iterator> layer_begin_end = std::make_pair(
m_LayerConfigVector.begin(),
m_LayerConfigVector.end());
76 for (std::set<int>::const_iterator parcontaineriter =
GetDetIds().first; parcontaineriter !=
GetDetIds().second; ++parcontaineriter)
91 std::set<std::string> nodes;
108 if (detector_suffix ==
"NONE" || detector_suffix.empty())
110 detector_suffix =
Name();
119 for (
auto nodename : nodes)
169 PHG4InttDefs::SEGMENTATION_PHI};
171 int nladder[4] = {12, 12, 16, 16};
172 double sensor_radius[4] = {7.188 - 36
e-4, 7.732 - 36
e-4, 9.680 - 36
e-4, 10.262 - 36
e-4};
173 double offsetphi[4] = {-0.5 * 360.0 / nladder[0], 0.0, -0.5 * 360.0 / nladder[2], 0.0};
204 for (
auto detiter = detid.first; detiter != detid.second; ++detiter)
401 std::cout << std::endl
402 <<
"------" << std::endl;
404 std::cout << std::endl
405 <<
"------" << std::endl