Skip to content
Snippets Groups Projects
Commit 34726149 authored by Andre Sailer's avatar Andre Sailer
Browse files

ChannelingCrystalMaterial: fix crystal_orientation to be constPropertyRef

parent 49d06f9e
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ namespace dd4hep { ...@@ -64,7 +64,7 @@ namespace dd4hep {
channelingData->SetFilename(crystal_data); channelingData->SetFilename(crystal_data);
/// Set crystal orientation /// Set crystal orientation
orientation = mat.propertyRef("Geant4-ignore:crystal_orientation"); orientation = mat.constPropertyRef("Geant4-ignore:crystal_orientation");
if ( !orientation.empty() ) { if ( !orientation.empty() ) {
Direction direction; Direction direction;
Property prop(direction); Property prop(direction);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment