19#ifndef BDSPHYSICALVOLUMEINFO_H
20#define BDSPHYSICALVOLUMEINFO_H
43 G4String placementNameIn,
45 G4int beamlineIndexIn = -1,
53 inline G4String
GetName()
const {
return name;}
56 inline void SetName(G4String NameIn) {name = NameIn;}
63 {placementName = placementNameIn;}
66 inline G4double
GetSPos()
const {
return spos;}
69 void SetSPos(G4double SPosIn) {spos = SPosIn;}
82 G4String placementName;
A vector of BDSBeamlineElement instances - a beamline.
A class holding any information pertaining to a particular physical volume in a BDSIM geant4 model.
BDSBeamline * GetBeamlineMassWorld() const
Accessor.
BDSBeamline * GetBeamline() const
Accessor.
friend std::ostream & operator<<(std::ostream &out, BDSPhysicalVolumeInfo const &info)
output stream
G4double GetSPos() const
Get the s position coordinate of the logical volume.
BDSBeamline * beamlineMassWorld
Corresponding mass world beam line - this may in fact be the same as the beam line.
G4int beamlineMassWorldIndex
Corresponding mass world beam line index - also may be the same as beamlineIndex.
G4int GetBeamlineMassWorldIndex() const
Accessor.
void SetName(G4String NameIn)
Set the name of the logical volume.
G4String GetName() const
Get the name of the logical volume.
G4int GetBeamlineIndex() const
Accessor.
void SetSPos(G4double SPosIn)
Set the s position coordinate of the logical volume.
G4String GetPlacementName() const
Get the name of the logical volume.
void SetPlacementName(G4String placementNameIn)
Set the name of the logical volume.