20 : fVolumeName(volumeName),
24 fStrawTube{
"", 0., 0. }
37 const G4String& materialName, G4double thickness, G4double fluctuation)
39 fLayers.push_back(std::make_tuple(materialName, thickness, fluctuation));
44 const G4String& materialName, G4double wallThickness, G4double gasThickness)
46 fStrawTube = std::make_tuple(materialName, wallThickness, gasThickness);
53 if (i >= G4int(
fLayers.size())) {
54 TString text =
"The layer ";
56 text +=
" is not defined.";
58 return std::make_tuple(
"", 0., 0.);
Definition of the TG4Globals class and basic container types.
Definition of the TG4RadiatorDescription class.
static void Warning(const TString &className, const TString &methodName, const TString &text)
TG4RadiatorDescription(const G4String &volumeName="")
std::tuple< G4String, G4double, G4double > Component
void SetStrawTube(const G4String &materialName, G4double wallThickness, G4double gasThickness)
Component GetLayer(G4int i) const
void SetLayer(const G4String &materialName, G4double thickness, G4double fluctuation)
std::vector< Component > fLayers
The layer parameters.
Component fStrawTube
The straw tube parameters.
~TG4RadiatorDescription()