#include <G4tgbPlaceParamCircle.hh>
|
| G4tgbPlaceParamCircle (G4tgrPlaceParameterisation *) |
|
| ~G4tgbPlaceParamCircle () |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
|
| G4tgbPlaceParameterisation (G4tgrPlaceParameterisation *tgrParam) |
|
virtual | ~G4tgbPlaceParameterisation () |
|
void | CheckNExtraData (G4tgrPlaceParameterisation *tgrParam, G4int nWcheck, WLSIZEtype st, const G4String &methodName) |
|
G4int | GetNCopies () const |
|
EAxis | GetAxis () const |
|
| G4VPVParameterisation () |
|
virtual | ~G4VPVParameterisation () |
|
virtual G4VSolid * | ComputeSolid (const G4int, G4VPhysicalVolume *) |
|
virtual G4Material * | ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0) |
|
virtual G4bool | IsNested () const |
|
virtual G4VVolumeMaterialScanner * | GetMaterialScanner () |
|
virtual void | ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const |
|
virtual void | ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const |
|
Definition at line 52 of file G4tgbPlaceParamCircle.hh.
Definition at line 52 of file G4tgbPlaceParamCircle.cc.
64 if( zaxis.cross(theCircleAxis).mag() > 1.E-6 )
66 theDirInPlane = zaxis.
cross(theCircleAxis);
92 if( theCircleAxis.
mag() == 0. )
94 G4Exception(
"G4tgbPlaceParamCircle::G4tgbPlaceParamCircle()",
97 theCircleAxis /= theCircleAxis.
mag();
109 G4cout <<
" G4tgbPlaceParamCircle::G4tgbPlaceParamCircle():" <<
G4endl
112 <<
" step - " << theStep <<
G4endl
113 <<
" offset - " << theOffset <<
G4endl
114 <<
" radius - " << theRadius <<
G4endl
115 <<
" circle axis - " << theCircleAxis <<
G4endl
116 <<
" dir in plane - " << theDirInPlane <<
G4endl;
void CheckNExtraData(G4tgrPlaceParameterisation *tgrParam, G4int nWcheck, WLSIZEtype st, const G4String &methodName)
CLHEP::Hep3Vector G4ThreeVector
std::vector< G4double > GetExtraData() const
G4tgbPlaceParameterisation(G4tgrPlaceParameterisation *tgrParam)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
const G4String & GetParamType() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Hep3Vector cross(const Hep3Vector &) const
G4tgbPlaceParamCircle::~G4tgbPlaceParamCircle |
( |
| ) |
|
Reimplemented from G4tgbPlaceParameterisation.
Definition at line 124 of file G4tgbPlaceParamCircle.cc.
126 G4double posi = theOffset + copyNo*theStep;
128 origin.
rotate( posi, theCircleAxis );
132 rm.
rotate( -posi, theCircleAxis );
148 G4cout <<
" G4tgbPlaceParamCircle::ComputeTransformation():"
151 <<
" centre - " << origin <<
G4endl
152 <<
" rotation-matrix - " << *pvRm <<
G4endl;
CLHEP::HepRotation G4RotationMatrix
const G4RotationMatrix * GetRotation() const
void SetRotation(G4RotationMatrix *)
HepRotation & rotate(double delta, const Hep3Vector &axis)
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
static G4int GetVerboseLevel()
virtual void SetCopyNo(G4int CopyNo)=0
void SetTranslation(const G4ThreeVector &v)
G4RotationMatrix * theRotationMatrix
Hep3Vector & rotate(double, const Hep3Vector &)
The documentation for this class was generated from the following files: