#include <G4ParameterisationTubs.hh>
|
| G4ParameterisationTubsRho (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationTubsRho () 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 68 of file G4ParameterisationTubs.hh.
◆ G4ParameterisationTubsRho()
Definition at line 66 of file G4ParameterisationTubs.cc.
71{
74
77 {
79 width, offset );
80 }
82 {
84 nDiv, offset );
85 }
86
87#ifdef G4DIVDEBUG
89 {
90 G4cout <<
" G4ParameterisationTubsRho - no divisions " <<
fnDiv <<
" = "
94 <<
" DivType " << divType <<
G4endl;
95 }
96#endif
97}
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)
◆ ~G4ParameterisationTubsRho()
G4ParameterisationTubsRho::~G4ParameterisationTubsRho |
( |
| ) |
|
|
overridedefault |
◆ ComputeDimensions()
Reimplemented from G4VPVParameterisation.
Definition at line 145 of file G4ParameterisationTubs.cc.
148{
150
153 G4double pDz = msol->GetZHalfLength();
154
155 G4double pSPhi = msol->GetStartPhiAngle();
156 G4double pDPhi = msol->GetDeltaPhiAngle();;
157
163
164#ifdef G4DIVDEBUG
166 {
167 G4cout <<
" G4ParameterisationTubsRho::ComputeDimensions()" <<
G4endl
168 <<
" pRMin: " << pRMin <<
" - pRMax: " << pRMax <<
G4endl;
170 }
171#endif
172}
void SetDeltaPhiAngle(G4double newDPhi)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void SetInnerRadius(G4double newRMin)
void SetOuterRadius(G4double newRMax)
void SetZHalfLength(G4double newDz)
◆ ComputeTransformation()
void G4ParameterisationTubsRho::ComputeTransformation |
( |
const G4int | copyNo, |
|
|
G4VPhysicalVolume * | physVol ) const |
|
overridevirtual |
Implements G4VDivisionParameterisation.
Definition at line 112 of file G4ParameterisationTubs.cc.
114{
115
117
119
120
121
122#ifdef G4DIVDEBUG
124 {
126 <<
" Offset: " <<
foffset/CLHEP::deg
128 }
129#endif
130
132
133#ifdef G4DIVDEBUG
135 {
136 G4cout << std::setprecision(8) <<
" G4ParameterisationTubsRho " <<
G4endl
137 <<
" Position: " << origin <<
" - Width: " <<
fwidth
139 }
140#endif
141}
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.0) const
void SetTranslation(const G4ThreeVector &v)
◆ GetMaxParameter()
G4double G4ParameterisationTubsRho::GetMaxParameter |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: