5 #ifndef GEO2G4_ASSEMBLYTRIPLET_H
6 #define GEO2G4_ASSEMBLYTRIPLET_H
8 #include "G4ThreeVector.hh"
9 #include "G4RotationMatrix.hh"
11 class G4LogicalVolume;
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 );
97 : m_volume( 0 ), m_rotation( 0 ), m_assembly(0), m_isReflection(false)
99 G4ThreeVector
v(0.,0.,0.);
105 G4ThreeVector& translation,
106 G4RotationMatrix* pRotation,
107 G4bool isReflection )
108 : m_volume( pVolume ), m_translation( translation ), m_rotation( pRotation ),
109 m_assembly( 0 ), m_isReflection(isReflection)
115 G4ThreeVector& translation,
116 G4RotationMatrix* pRotation,
117 G4bool isReflection )
118 : m_volume( 0 ), m_translation( translation ), m_rotation( pRotation ),
119 m_assembly( pAssembly ), m_isReflection(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.");