detector change might work - might

This commit is contained in:
Jan Kieseler
2023-09-20 22:51:37 +02:00
parent a6dfa6079c
commit bdcd83e63f
5 changed files with 35 additions and 19 deletions
+9
View File
@@ -90,6 +90,15 @@ public:
void printSensorEnergies()const;
bool isAssigned()const{
if(layers.size() == 0){
return false;
}
else{
return layers[0].physicalVolume != nullptr;
}
}
private:
double xywidth;