#include <G4ParameterisationTrd.hh>
|
| G4ParameterisationTrdX (EAxis axis, G4int nCopies, G4double width, G4double offset, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationTrdX () |
|
void | CheckParametersValidity () |
|
G4double | GetMaxParameter () const |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
|
void | ComputeDimensions (G4Trd &trd, const G4int copyNo, const G4VPhysicalVolume *pv) const |
|
void | ComputeDimensions (G4Trap &trd, const G4int copyNo, const G4VPhysicalVolume *pv) const |
|
G4VSolid * | ComputeSolid (const G4int, G4VPhysicalVolume *) |
|
| G4VParameterisationTrd (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
virtual | ~G4VParameterisationTrd () |
|
| G4VDivisionParameterisation (EAxis axis, G4int nDiv, G4double width, G4double offset, DivisionType divType, G4VSolid *motherSolid=0) |
|
virtual | ~G4VDivisionParameterisation () |
|
const G4String & | GetType () const |
|
EAxis | GetAxis () const |
|
G4int | GetNoDiv () const |
|
G4double | GetWidth () const |
|
G4double | GetOffset () const |
|
G4VSolid * | GetMotherSolid () const |
|
void | SetType (const G4String &type) |
|
G4int | VolumeFirstCopyNo () const |
|
void | SetHalfGap (G4double hg) |
|
G4double | GetHalfGap () const |
|
| G4VPVParameterisation () |
|
virtual | ~G4VPVParameterisation () |
|
virtual G4Material * | ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0) |
|
virtual G4bool | IsNested () const |
|
virtual G4VVolumeMaterialScanner * | GetMaterialScanner () |
|
Definition at line 82 of file G4ParameterisationTrd.hh.
Definition at line 83 of file G4ParameterisationTrd.cc.
106 G4cout <<
" G4ParameterisationTrdX - ## divisions " <<
fnDiv <<
" = "
static const G4int verbose
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4double GetXHalfLength2() const
G4GLOB_DLL std::ostream G4cout
G4VParameterisationTrd(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
void CheckParametersValidity()
G4double GetXHalfLength1() const
G4ParameterisationTrdX::~G4ParameterisationTrdX |
( |
| ) |
|
void G4ParameterisationTrdX::CheckParametersValidity |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPVParameterisation.
Definition at line 183 of file G4ParameterisationTrd.cc.
197 G4cout <<
" G4ParameterisationTrdX::ComputeDimensions():"
void SetAllParameters(G4double pdx1, G4double pdx2, G4double pdy1, G4double pdy2, G4double pdz)
static const G4int verbose
G4double GetYHalfLength1() const
G4double GetZHalfLength() const
G4GLOB_DLL std::ostream G4cout
G4double GetYHalfLength2() const
Reimplemented from G4VPVParameterisation.
Definition at line 220 of file G4ParameterisationTrd.cc.
231 + (copyNo+0.5)*pDx1*2;
233 + (copyNo+0.5)*pDx2*2;
234 G4double alp = std::atan( (cxy2-cxy1)/pDz );
236 trap.SetAllParameters ( pDz,
245 pDx2 -
fhgap * pDx2/pDx1,
251 G4cout <<
" G4ParameterisationTrdX::ComputeDimensions():"
static const G4int verbose
G4double GetYHalfLength1() const
G4double GetZHalfLength() const
G4double GetXHalfLength2() const
G4GLOB_DLL std::ostream G4cout
G4double GetYHalfLength2() const
G4double GetXHalfLength1() const
Implements G4VDivisionParameterisation.
Definition at line 136 of file G4ParameterisationTrd.cc.
160 std::ostringstream message;
161 message <<
"Only axes along X are allowed ! Axis: " <<
faxis;
162 G4Exception(
"G4ParameterisationTrdX::ComputeTransformation()",
169 G4cout << std::setprecision(8)
170 <<
" G4ParameterisationTrdX::ComputeTransformation() "
172 <<
" Position: " << origin <<
" - Axis: " <<
faxis <<
G4endl;
static const G4int verbose
G4double GetXHalfLength2() const
G4GLOB_DLL std::ostream G4cout
void SetTranslation(const G4ThreeVector &v)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetXHalfLength1() const
G4double G4ParameterisationTrdX::GetMaxParameter |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: