Geant4
10.01.p01
|
Chamber parametrisation used in the GDML read/write example. More...
#include <G02ChamberParameterisation.hh>
Public Member Functions | |
G02ChamberParameterisation (G4int NoChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal) | |
~G02ChamberParameterisation () | |
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
void | ComputeDimensions (G4Box &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const |
Public Member Functions inherited from G4VPVParameterisation | |
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 () |
Private Member Functions | |
void | ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const |
void | ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const |
Private Attributes | |
G4int | fNoChambers |
G4double | fStartZ |
G4double | fHalfWidth |
G4double | fSpacing |
G4double | fHalfLengthFirst |
G4double | fHalfLengthIncr |
Chamber parametrisation used in the GDML read/write example.
Definition at line 68 of file G02ChamberParameterisation.hh.
G02ChamberParameterisation::G02ChamberParameterisation | ( | G4int | NoChambers, |
G4double | startZ, | ||
G4double | spacing, | ||
G4double | widthChamber, | ||
G4double | lengthInitial, | ||
G4double | lengthFinal | ||
) |
Definition at line 45 of file G02ChamberParameterisation.cc.
References FatalException, fHalfLengthFirst, fHalfLengthIncr, fHalfWidth, fNoChambers, fSpacing, fStartZ, and G4Exception().
G02ChamberParameterisation::~G02ChamberParameterisation | ( | ) |
Definition at line 73 of file G02ChamberParameterisation.cc.
|
virtual |
Reimplemented from G4VPVParameterisation.
Definition at line 90 of file G02ChamberParameterisation.cc.
References fHalfLengthFirst, fHalfLengthIncr, fHalfWidth, G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 89 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 90 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 91 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 92 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 93 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 94 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 95 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 96 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 97 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 98 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 99 of file G02ChamberParameterisation.hh.
|
inlineprivatevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 100 of file G02ChamberParameterisation.hh.
|
virtual |
Implements G4VPVParameterisation.
Definition at line 79 of file G02ChamberParameterisation.cc.
References fSpacing, fStartZ, G4VPhysicalVolume::SetRotation(), and G4VPhysicalVolume::SetTranslation().
|
private |
Definition at line 108 of file G02ChamberParameterisation.hh.
Referenced by ComputeDimensions(), and G02ChamberParameterisation().
|
private |
Definition at line 109 of file G02ChamberParameterisation.hh.
Referenced by ComputeDimensions(), and G02ChamberParameterisation().
|
private |
Definition at line 106 of file G02ChamberParameterisation.hh.
Referenced by ComputeDimensions(), and G02ChamberParameterisation().
|
private |
Definition at line 104 of file G02ChamberParameterisation.hh.
Referenced by G02ChamberParameterisation().
|
private |
Definition at line 107 of file G02ChamberParameterisation.hh.
Referenced by ComputeTransformation(), and G02ChamberParameterisation().
|
private |
Definition at line 105 of file G02ChamberParameterisation.hh.
Referenced by ComputeTransformation(), and G02ChamberParameterisation().