|
ATLAS Offline Software
|
Go to the documentation of this file.
23 m_constantMaterialToAllLayers(true),
24 m_constantThicknessInX0(0.02),
25 m_constantThicknessInL0(0.06),
26 m_constantAverageA(14.),
27 m_constantAverageZ(7.),
28 m_constantAverageRho(0.00233)
31 declareInterface<Trk::IGeometryProcessor>(
this);
49 1./m_constantThicknessInX0,
50 1./m_constantThicknessInL0,
53 m_constantAverageRho);
55 return StatusCode::SUCCESS;
66 return process(*worldVolume, 0);
69 ATH_MSG_FATAL(
"No highest level TrackingVolume found. Stopping recursive parsing, abort job.");
70 return StatusCode::FAILURE;
76 std::stringstream displayBuffer;
77 for (
size_t il = 0;
il <
level; ++
il) displayBuffer <<
" ";
86 auto layIter =
layers.begin();
87 auto layIterE =
layers.end();
89 for ( ; layIter != layIterE; ++layIter){
91 ATH_MSG_WARNING(
"Zero-pointer found in LayerArray - indicates problem !");
92 if ((*layIter) &&
process(**layIter,
level).isFailure()){
93 ATH_MSG_FATAL(
"Failed to call process(const Layer&) on confined layers. Aborting.");
94 return StatusCode::FAILURE;
102 if (confinedVolumes) {
104 auto volumesIter = volumes.begin();
105 for (; volumesIter != volumes.end(); ++volumesIter){
107 ATH_MSG_WARNING(
"Zero-pointer found in VolumeArray - indicates problem !");
108 if ((*volumesIter) &&
process(**volumesIter, ++
level).isFailure() ){
109 ATH_MSG_FATAL(
"Failed to call process(const TrackingVolume&) on confined volumes. Aborting.");
110 return StatusCode::FAILURE;
116 return StatusCode::SUCCESS;
125 return StatusCode::SUCCESS;
131 std::stringstream displayBuffer;
132 for (
size_t il = 0;
il <
level; ++
il) displayBuffer <<
" ";
134 ATH_MSG_DEBUG(displayBuffer.str() <<
" assigning material for Layer with Index: " << lIndex.
value());
135 ATH_MSG_VERBOSE(displayBuffer.str() <<
" Layer memory adress is : " << &lay);
140 return StatusCode::SUCCESS;
145 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
#define ATH_MSG_VERBOSE(x)
const LayerArray * confinedLayers() const
Return the subLayer array.
void assignMaterialProperties(const LayerMaterialProperties &, double scale=1.0)
assignMaterialPropeties
const TrackingVolume * highestTrackingVolume() const
return the world
::StatusCode StatusCode
StatusCode definition for legacy code.
int value() const
layerIndex expressed in an integer
const std::string & volumeName() const
Returns the VolumeName - for debug reason, might be depreciated later.
virtual BinnedArraySpan< T *const > arrayObjects()=0
Return all objects of the Array non-const we can still modify the T.
#define ATH_MSG_WARNING(x)
const TrackingVolumeArray * confinedVolumes() const
Return the subLayer array.
const LayerMaterialProperties * layerMaterialProperties() const
getting the LayerMaterialProperties including full/pre/post update
std::span< T > BinnedArraySpan
const LayerIndex & layerIndex() const
get the layerIndex