98 const std::vector<gar::geo::LayeredCalorimeterStruct::Layer> &
layers = inputParameters.
layers;
100 parameters.m_subDetectorName = subDetectorName;
101 parameters.m_subDetectorType = subDetectorType;
107 parameters.m_innerPhiCoordinate = inputParameters.
inner_phi0;
108 parameters.m_outerPhiCoordinate = inputParameters.
outer_phi0;
110 parameters.m_isMirroredInZ =
true;
111 parameters.m_nLayers = layers.size();
113 MF_LOG_DEBUG(
"GeometryCreator::SetDefaultSubDetectorParameters")
114 <<
" parameters.m_subDetectorName = " << parameters.m_subDetectorName.Get()
115 <<
" parameters.m_subDetectorType = " << parameters.m_subDetectorType.Get()
116 <<
" parameters.m_innerRCoordinate = " << parameters.m_innerRCoordinate.Get()
117 <<
" parameters.m_innerZCoordinate = " << parameters.m_innerZCoordinate.Get()
118 <<
" parameters.m_innerSymmetryOrder = " << parameters.m_innerSymmetryOrder.Get()
119 <<
" parameters.m_outerRCoordinate = " << parameters.m_outerRCoordinate.Get()
120 <<
" parameters.m_outerZCoordinate = " << parameters.m_outerZCoordinate.Get()
121 <<
" parameters.m_innerPhiCoordinate = " << parameters.m_innerPhiCoordinate.Get()
122 <<
" parameters.m_outerPhiCoordinate = " << parameters.m_outerPhiCoordinate.Get()
123 <<
" parameters.m_nLayers = " << parameters.m_nLayers.Get();
125 for (
size_t i = 0; i < layers.size(); i++)
128 PandoraApi::Geometry::LayerParameters layerParameters;
135 totalNumberOfRadLengths += layers.at(i-1).outer_nRadiationLengths;
136 totalNumberOfIntLengths += layers.at(i-1).outer_nInteractionLengths;
140 layerParameters.m_nRadiationLengths = totalNumberOfRadLengths;
141 layerParameters.m_nInteractionLengths = totalNumberOfIntLengths;
143 MF_LOG_DEBUG(
"GeometryCreator::SetDefaultSubDetectorParameters")
145 <<
" layerParameters.m_closestDistanceToIp = " << layerParameters.m_closestDistanceToIp.Get()
146 <<
" layerParameters.m_nRadiationLengths = " << layerParameters.m_nRadiationLengths.Get()
147 <<
" layerParameters.m_nInteractionLengths = " << layerParameters.m_nInteractionLengths.Get();
149 parameters.m_layerParametersVector.push_back(layerParameters);
static constexpr double cm
double inner_nInteractionLengths
std::vector< Layer > layers
double inner_nRadiationLengths