displayEvent without .root file

This commit is contained in:
lars
2023-10-07 14:13:31 +02:00
parent 5718c8b9f1
commit a70bb85247
5 changed files with 61 additions and 34 deletions
+24
View File
@@ -24,7 +24,30 @@ public:
return size;
}
double getX()const{
return position.x();
}
double getY()const{
return position.y();
}
double getZ()const{
return position.z();
}
double getdx()const{
return size.x();
}
double getdy()const{
return size.y();
}
double getdz()const{
return size.z();
}
G4ThreeVector position;
G4ThreeVector size;
mutable G4double energy;
@@ -50,6 +73,7 @@ public:
int nx;
int ny;
bool isActive;
G4VPhysicalVolume* physicalVolume;
std::string name;