5#ifndef GEO2G4_ASSEMBLYTRIPLET_H
6#define GEO2G4_ASSEMBLYTRIPLET_H
8#include "G4ThreeVector.hh"
9#include "G4RotationMatrix.hh"
22 G4ThreeVector& translation,
23 G4RotationMatrix* pRotation,
24 G4bool isReflection =
false);
28 G4ThreeVector& translation,
29 G4RotationMatrix* pRotation,
30 G4bool isReflection =
false);
46 void SetVolume( G4LogicalVolume* pVolume );
99 G4ThreeVector v(0.,0.,0.);
105 G4ThreeVector& translation,
106 G4RotationMatrix* pRotation,
107 G4bool isReflection )
115 G4ThreeVector& translation,
116 G4RotationMatrix* pRotation,
117 G4bool isReflection )
133 G4Exception(
"Geo2G4AssemblyTriplet::SetVolume()",
134 "IllegalCall", JustWarning,
135 "There is an assembly already set, it will be ignored.");
146 G4Exception(
"Geo2G4AssemblyTriplet::SetAssembly()",
147 "IllegalCall", JustWarning,
148 "There is a volume already set, it will be ignored.");
const Geo2G4AssemblyVolume * GetAssembly() const
const G4LogicalVolume * GetVolume() const
void SetTranslation(G4ThreeVector &pVolume)
Geo2G4AssemblyVolume * GetAssembly()
void SetRotation(G4RotationMatrix *pVolume)
Geo2G4AssemblyVolume * m_assembly
G4bool IsReflection() const
G4LogicalVolume * m_volume
const G4RotationMatrix * GetRotation() const
void SetVolume(G4LogicalVolume *pVolume)
Geo2G4AssemblyTriplet(const Geo2G4AssemblyTriplet &second)=default
Geo2G4AssemblyTriplet & operator=(const Geo2G4AssemblyTriplet &second)=default
G4ThreeVector GetTranslation()
G4RotationMatrix * GetRotation()
G4RotationMatrix * m_rotation
G4LogicalVolume * GetVolume()
const G4ThreeVector GetTranslation() const
G4ThreeVector m_translation
void SetAssembly(Geo2G4AssemblyVolume *pAssembly)