#include <G4ParameterisationPara.hh>
|
| G4ParameterisationParaX (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
| ~G4ParameterisationParaX () override |
|
G4double | GetMaxParameter () const override |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const override |
|
void | ComputeDimensions (G4Para ¶, const G4int copyNo, const G4VPhysicalVolume *pv) const override |
|
| G4VParameterisationPara (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
| ~G4VParameterisationPara () 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 69 of file G4ParameterisationPara.hh.
◆ G4ParameterisationParaX()
Definition at line 82 of file G4ParameterisationPara.cc.
87{
90
93 {
95 }
97 {
99 }
100
101#ifdef G4DIVDEBUG
103 {
104 G4cout <<
" G4ParameterisationParaX - # divisions " <<
fnDiv
105 <<
" = " << nDiv <<
G4endl
108 }
109#endif
110}
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
G4VParameterisationPara(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
◆ ~G4ParameterisationParaX()
G4ParameterisationParaX::~G4ParameterisationParaX |
( |
| ) |
|
|
overridedefault |
◆ ComputeDimensions()
Reimplemented from G4VPVParameterisation.
Definition at line 150 of file G4ParameterisationPara.cc.
153{
154
156
157
159 G4double pDy = msol->GetYHalfLength();
160 G4double pDz = msol->GetZHalfLength();
161 G4double pAlpha = std::atan(msol->GetTanAlpha());
162 G4double pTheta = msol->GetSymAxis().theta();
163 G4double pPhi = msol->GetSymAxis().phi();
164
166
167#ifdef G4DIVDEBUG
169 {
170 G4cout <<
" G4ParameterisationParaX::ComputeDimensions()"
171 <<
" - Mother PARA " <<
G4endl;
172 msol->DumpInfo();
175 }
176#endif
177}
void SetAllParameters(G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
◆ ComputeTransformation()
Implements G4VDivisionParameterisation.
Definition at line 124 of file G4ParameterisationPara.cc.
126{
128 G4double mdx = msol->GetXHalfLength( );
129
130
133 origin.setX( posi );
134
135#ifdef G4DIVDEBUG
137 {
138 G4cout << std::setprecision(8) <<
" G4ParameterisationParaX "
140 <<
" Position: " << origin <<
" - Axis: " <<
faxis <<
G4endl;
141 }
142#endif
143
144
146}
void SetTranslation(const G4ThreeVector &v)
◆ GetMaxParameter()
G4double G4ParameterisationParaX::GetMaxParameter |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: