#include <G4ParameterisationTubs.hh>
|
| G4ParameterisationTubsPhi (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationTubsPhi () 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 113 of file G4ParameterisationTubs.hh.
◆ G4ParameterisationTubsPhi()
Definition at line 175 of file G4ParameterisationTubs.cc.
180{
183
186 {
188 }
190 {
192 }
193
194#ifdef G4DIVDEBUG
196 {
197 G4cout <<
" G4ParameterisationTubsPhi no divisions " <<
fnDiv <<
" = "
201 }
202#endif
203}
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)
◆ ~G4ParameterisationTubsPhi()
G4ParameterisationTubsPhi::~G4ParameterisationTubsPhi |
( |
| ) |
|
|
overridedefault |
◆ ComputeDimensions()
Reimplemented from G4VPVParameterisation.
Definition at line 252 of file G4ParameterisationTubs.cc.
255{
257
258 G4double pRMin = msol->GetInnerRadius();
259 G4double pRMax = msol->GetOuterRadius();
260 G4double pDz = msol->GetZHalfLength();
261
264
270
271#ifdef G4DIVDEBUG
273 {
274 G4cout <<
" G4ParameterisationTubsPhi::ComputeDimensions" <<
G4endl
275 <<
" pSPhi: " << pSPhi <<
" - pDPhi: " << pDPhi <<
G4endl;
277 }
278#endif
279}
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 G4ParameterisationTubsPhi::ComputeTransformation |
( |
const G4int | copyNo, |
|
|
G4VPhysicalVolume * | physVol ) const |
|
overridevirtual |
Implements G4VDivisionParameterisation.
Definition at line 217 of file G4ParameterisationTubs.cc.
219{
220
222
224
225
227
228#ifdef G4DIVDEBUG
230 {
231 G4cout <<
" G4ParameterisationTubsPhi - position: " << posi/CLHEP::deg <<
G4endl
232 <<
" copyNo: " << copyNo <<
" - foffset: " <<
foffset/CLHEP::deg
234 }
235#endif
236
238
239#ifdef G4DIVDEBUG
241 {
242 G4cout << std::setprecision(8) <<
" G4ParameterisationTubsPhi " << copyNo
244 <<
" Position: " << origin <<
" - Width: " <<
fwidth
246 }
247#endif
248}
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.0) const
void SetTranslation(const G4ThreeVector &v)
◆ GetMaxParameter()
G4double G4ParameterisationTubsPhi::GetMaxParameter |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: