#include <G4ParameterisationTrd.hh>
|
| G4ParameterisationTrdY (EAxis axis, G4int nCopies, G4double width, G4double offset, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationTrdY () |
|
void | CheckParametersValidity () |
|
G4double | GetMaxParameter () const |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
|
void | ComputeDimensions (G4Trd &trd, const G4int copyNo, const G4VPhysicalVolume *pv) const |
|
| 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 () |
|
virtual G4VSolid * | ComputeSolid (const G4int, G4VPhysicalVolume *) |
|
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 136 of file G4ParameterisationTrd.hh.
Definition at line 291 of file G4ParameterisationTrd.cc.
314 G4cout <<
" G4ParameterisationTrdY no divisions " <<
fnDiv
315 <<
" = " << nDiv <<
G4endl
static const G4int verbose
G4double GetYHalfLength1() const
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4GLOB_DLL std::ostream G4cout
void CheckParametersValidity()
G4VParameterisationTrd(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
G4ParameterisationTrdY::~G4ParameterisationTrdY |
( |
| ) |
|
void G4ParameterisationTrdY::CheckParametersValidity |
( |
| ) |
|
|
virtual |
Reimplemented from G4VDivisionParameterisation.
Definition at line 397 of file G4ParameterisationTrd.cc.
408 std::ostringstream message;
409 message <<
"Invalid solid specification. NOT supported." <<
G4endl
410 <<
"Making a division of a TRD along axis Y while" <<
G4endl
411 <<
"the Y half lengths are not equal is not (yet)" <<
G4endl
412 <<
"supported. It will result in non-equal" <<
G4endl
413 <<
"division solids.";
414 G4Exception(
"G4ParameterisationTrdY::CheckParametersValidity()",
virtual void CheckParametersValidity()
G4double GetYHalfLength1() const
G4double GetYHalfLength2() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Reimplemented from G4VPVParameterisation.
Definition at line 374 of file G4ParameterisationTrd.cc.
390 G4cout <<
" G4ParameterisationTrdY::ComputeDimensions():" <<
G4endl;
void SetAllParameters(G4double pdx1, G4double pdx2, G4double pdy1, G4double pdy2, G4double pdz)
static const G4int verbose
G4double GetZHalfLength() const
G4double GetXHalfLength2() const
G4GLOB_DLL std::ostream G4cout
G4double GetXHalfLength1() const
Implements G4VDivisionParameterisation.
Definition at line 337 of file G4ParameterisationTrd.cc.
352 std::ostringstream message;
353 message <<
"Only axes along Y are allowed ! Axis: " <<
faxis;
354 G4Exception(
"G4ParameterisationTrdY::ComputeTransformation()",
361 G4cout << std::setprecision(8)
362 <<
" G4ParameterisationTrdY::ComputeTransformation " << copyNo
363 <<
" pos " << origin <<
" rot mat " <<
" axis " <<
faxis <<
G4endl;
static const G4int verbose
G4double GetYHalfLength1() 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 G4ParameterisationTrdY::GetMaxParameter |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: