Skip to content

Commit

Permalink
volume material with root writer (#849)
Browse files Browse the repository at this point in the history
the root writer didn't write material volume and that the root material decorator didn't handle it either. This PR let the writer write the volume material and the decorator read the volume material from the root file.
  • Loading branch information
Corentin-Allaire committed Jun 30, 2021
1 parent 7c17307 commit 05b655e
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ class RootMaterialDecorator : public Acts::IMaterialDecorator {
/// Configuration of the Reader
class Config {
public:
/// The name of the output tree
std::string folderNameBase = "Material";
/// The name of the output surface tree
std::string folderSurfaceNameBase = "SurfaceMaterial";
/// The name of the output volume tree
std::string folderVolumeNameBase = "VolumeMaterial";
/// The volume identification string
std::string voltag = "_vol";
/// The boundary identification string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ class RootMaterialWriter {
/// Steering to handle volume data
bool processVolumes = true;

/// The name of the output tree
std::string folderNameBase = "Material";
/// The name of the output surface tree
std::string folderSurfaceNameBase = "SurfaceMaterial";
/// The name of the output volume tree
std::string folderVolumeNameBase = "VolumeMaterial";
/// The volume identification string
std::string voltag = "_vol";
/// The boundary identification string
Expand Down

0 comments on commit 05b655e

Please sign in to comment.