Commit 3e7c16ac authored by Noemi Calace's avatar Noemi Calace
Browse files

fixing HGTD tracking geometry compilation error, due to changes to...

fixing HGTD tracking geometry compilation error, due to changes to RegisterColorCode method of TrackingVolume base class
parent 7794571e
......@@ -246,24 +246,26 @@ std::pair<EventIDRange, const Trk::TrackingGeometry*> HGTDet::HGTD_TrackingGeome
inBufferVolumes.push_back(innerVol);
inBufferVolumes.push_back(positiveInnerGapVolume);
const Trk::TrackingVolume* inDetEnclosed =
Trk::TrackingVolume* inDetEnclosed =
m_trackingVolumeCreator->createContainerTrackingVolume(inBufferVolumes,
*materialProperties,
"HGTD::Container::EnclosedInnerDetector");
// create the tracking volumes
// create the three volumes
const Trk::TrackingVolume* negativeVolume = m_trackingVolumeCreator->createTrackingVolume(negativeLayers,
Trk::TrackingVolume* negativeVolume =
m_trackingVolumeCreator->createTrackingVolume(negativeLayers,
*materialProperties,
enclosedInnerRadius,enclosedOuterRadius,
enclosedInnerRadius, enclosedOuterRadius,
-maxZ_HGTD, -minZ_HGTD,
m_layerBuilder->identification()+"::NegativeEndcap",
(Trk::BinningType)m_layerBinningType);
const Trk::TrackingVolume* positiveVolume = m_trackingVolumeCreator->createTrackingVolume(positiveLayers,
Trk::TrackingVolume* positiveVolume =
m_trackingVolumeCreator->createTrackingVolume(positiveLayers,
*materialProperties,
enclosedInnerRadius,enclosedOuterRadius,
enclosedInnerRadius, enclosedOuterRadius,
minZ_HGTD, maxZ_HGTD,
m_layerBuilder->identification()+"::PositiveEndcap",
(Trk::BinningType)m_layerBinningType);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment