4 #ifndef EDepSim_VolumeId_hh_seen 5 #define EDepSim_VolumeId_hh_seen 10 #include <G4VPhysicalVolume.hh> 11 #include <G4TouchableHandle.hh> 13 namespace EDepSim {
class VolumeId;}
38 VolumeId(
const G4TouchableHandle& handle);
44 void AddVolume(G4VPhysicalVolume* fHandle,
int fReplica);
54 const G4TouchableHandle&
y);
61 const G4TouchableHandle& y);
EDepSim::VolumeId & operator=(const G4TouchableHandle &handle)
std::ostream & operator<<(std::ostream &stream, const EDepSim::VolumeId &v)
bool operator<(const EDepSim::VolumeId &x, const EDepSim::VolumeId &y)
Construct a module from components.
G4VPhysicalVolume * fHandle
bool operator==(const EDepSim::VolumeId &x, const EDepSim::VolumeId &y)
VolumeId()
Construct an empty volume Id.
bool operator!=(const EDepSim::VolumeId &x, const EDepSim::VolumeId &y)
void AddVolume(G4VPhysicalVolume *fHandle, int fReplica)
Explicitly add a new volume to the volume Id.
std::vector< Volume > Volumes