#include <G4ParameterisationTubs.hh>
|
| G4ParameterisationTubsZ (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationTubsZ () override |
|
G4double | GetMaxParameter () const override |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const override |
|
void | ComputeDimensions (G4Tubs &tubs, const G4int copyNo, const G4VPhysicalVolume *physVol) const override |
|
| G4VParameterisationTubs (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
| ~G4VParameterisationTubs () override |
|
| G4VDivisionParameterisation (EAxis axis, G4int nDiv, G4double width, G4double offset, DivisionType divType, G4VSolid *motherSolid=nullptr) |
|
| ~G4VDivisionParameterisation () override |
|
G4VSolid * | ComputeSolid (const G4int, G4VPhysicalVolume *) override |
|
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 ()=default |
|
virtual | ~G4VPVParameterisation ()=default |
|
virtual G4Material * | ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr) |
|
virtual G4bool | IsNested () const |
|
virtual G4VVolumeMaterialScanner * | GetMaterialScanner () |
|
Definition at line 158 of file G4ParameterisationTubs.hh.
◆ G4ParameterisationTubsZ()
Definition at line 282 of file G4ParameterisationTubs.cc.
287{
290
293 {
295 }
297 {
299 }
300
301#ifdef G4DIVDEBUG
303 {
304 G4cout <<
" G4ParameterisationTubsZ: # divisions " <<
fnDiv <<
" = "
308 }
309#endif
310}
G4GLOB_DLL std::ostream G4cout
virtual void CheckParametersValidity()
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
static const G4int verbose
G4VParameterisationTubs(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
◆ ~G4ParameterisationTubsZ()
G4ParameterisationTubsZ::~G4ParameterisationTubsZ |
( |
| ) |
|
|
overridedefault |
◆ ComputeDimensions()
Reimplemented from G4VPVParameterisation.
Definition at line 361 of file G4ParameterisationTubs.cc.
364{
366
367 G4double pRMin = msol->GetInnerRadius();
368 G4double pRMax = msol->GetOuterRadius();
369
371 G4double pSPhi = msol->GetStartPhiAngle();
372 G4double pDPhi = msol->GetDeltaPhiAngle();
373
379
380#ifdef G4DIVDEBUG
382 {
383 G4cout <<
" G4ParameterisationTubsZ::ComputeDimensions()" <<
G4endl
384 <<
" pDz: " << pDz <<
G4endl;
386 }
387#endif
388}
void SetDeltaPhiAngle(G4double newDPhi)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void SetInnerRadius(G4double newRMin)
void SetOuterRadius(G4double newRMax)
void SetZHalfLength(G4double newDz)
◆ ComputeTransformation()
Implements G4VDivisionParameterisation.
Definition at line 324 of file G4ParameterisationTubs.cc.
326{
327
333
334
335
336#ifdef G4DIVDEBUG
338 {
339 G4cout <<
" G4ParameterisationTubsZ::ComputeTransformation()" <<
G4endl
340 <<
" Position: " << posi <<
" - copyNo: " << copyNo <<
G4endl
341 <<
" foffset " <<
foffset/CLHEP::deg <<
" - fwidth " <<
fwidth/CLHEP::deg
343 }
344#endif
345
347
348#ifdef G4DIVDEBUG
350 {
351 G4cout << std::setprecision(8) <<
" G4ParameterisationTubsZ " << copyNo
353 <<
" Position: " << origin <<
" - Width: " <<
fwidth
355 }
356#endif
357}
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.0) const
void SetTranslation(const G4ThreeVector &v)
◆ GetMaxParameter()
G4double G4ParameterisationTubsZ::GetMaxParameter |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: