ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ParameterisationBoxX Class Reference

#include <geant4/tree/geant4-10.6-release/source/geometry/divisions/include/G4ParameterisationBox.hh>

+ Inheritance diagram for G4ParameterisationBoxX:
+ Collaboration diagram for G4ParameterisationBoxX:

Public Member Functions

 G4ParameterisationBoxX (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
 
 ~G4ParameterisationBoxX ()
 
G4double GetMaxParameter () const
 
void ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const
 
void ComputeDimensions (G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const
 
- Public Member Functions inherited from G4VParameterisationBox
 G4VParameterisationBox (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
 
virtual ~G4VParameterisationBox ()
 
- Public Member Functions inherited from G4VDivisionParameterisation
 G4VDivisionParameterisation (EAxis axis, G4int nDiv, G4double width, G4double offset, DivisionType divType, G4VSolid *motherSolid=nullptr)
 
virtual ~G4VDivisionParameterisation ()
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
const G4StringGetType () const
 
EAxis GetAxis () const
 
G4int GetNoDiv () const
 
G4double GetWidth () const
 
G4double GetOffset () const
 
G4VSolidGetMotherSolid () const
 
void SetType (const G4String &type)
 
G4int VolumeFirstCopyNo () const
 
void SetHalfGap (G4double hg)
 
G4double GetHalfGap () const
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
virtual G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr)
 
virtual G4bool IsNested () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 

Private Member Functions

void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VDivisionParameterisation
void ChangeRotMatrix (G4VPhysicalVolume *physVol, G4double rotZ=0.0) const
 
G4int CalculateNDiv (G4double motherDim, G4double width, G4double offset) const
 
G4double CalculateWidth (G4double motherDim, G4int nDiv, G4double offset) const
 
virtual void CheckParametersValidity ()
 
void CheckOffset (G4double maxPar)
 
void CheckNDivAndWidth (G4double maxPar)
 
G4double OffsetZ () const
 
- Protected Attributes inherited from G4VDivisionParameterisation
G4String ftype
 
EAxis faxis
 
G4int fnDiv = 0
 
G4double fwidth = 0.0
 
G4double foffset = 0.0
 
DivisionType fDivisionType
 
G4VSolidfmotherSolid = nullptr
 
G4bool fReflectedSolid = false
 
G4bool fDeleteSolid = false
 
G4int theVoluFirstCopyNo = 1
 
G4double kCarTolerance
 
G4double fhgap = 0.0
 
- Static Protected Attributes inherited from G4VDivisionParameterisation
static G4ThreadLocal
G4RotationMatrix
fRot = nullptr
 
static const G4int verbose = 5
 

Detailed Description

Definition at line 69 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 69 of file G4ParameterisationBox.hh

Constructor & Destructor Documentation

G4ParameterisationBoxX::G4ParameterisationBoxX ( EAxis  axis,
G4int  nCopies,
G4double  offset,
G4double  step,
G4VSolid msolid,
DivisionType  divType 
)
G4ParameterisationBoxX::~G4ParameterisationBoxX ( )

Definition at line 98 of file G4ParameterisationBox.cc.

View newest version in sPHENIX GitHub at line 98 of file G4ParameterisationBox.cc

Member Function Documentation

void G4ParameterisationBoxX::ComputeDimensions ( G4Box box,
const G4int  copyNo,
const G4VPhysicalVolume physVol 
) const
virtual

Reimplemented from G4VPVParameterisation.

Definition at line 147 of file G4ParameterisationBox.cc.

View newest version in sPHENIX GitHub at line 147 of file G4ParameterisationBox.cc

References G4VSolid::DumpInfo(), G4VDivisionParameterisation::fhgap, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::fwidth, G4cout, G4endl, G4Box::GetYHalfLength(), G4Box::GetZHalfLength(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), G4Box::SetZHalfLength(), and G4VDivisionParameterisation::verbose.

+ Here is the call graph for this function:

void G4ParameterisationBoxX::ComputeDimensions ( G4Cons ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 87 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 87 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Trd ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 89 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 89 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Sphere ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 91 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 91 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Orb ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 93 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 93 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Ellipsoid ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 95 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 95 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Torus ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 97 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 97 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Para ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 99 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 99 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Trap ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 101 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 101 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Hype ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 103 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 103 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Tubs ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 105 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 105 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Polycone ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 107 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 107 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeDimensions ( G4Polyhedra ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 109 of file G4ParameterisationBox.hh.

View newest version in sPHENIX GitHub at line 109 of file G4ParameterisationBox.hh

void G4ParameterisationBoxX::ComputeTransformation ( const G4int  copyNo,
G4VPhysicalVolume physVol 
) const
virtual

Implements G4VDivisionParameterisation.

Definition at line 112 of file G4ParameterisationBox.cc.

View newest version in sPHENIX GitHub at line 112 of file G4ParameterisationBox.cc

References FatalException, G4VDivisionParameterisation::faxis, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::foffset, G4VDivisionParameterisation::fwidth, G4cout, G4endl, G4Exception(), G4Box::GetXHalfLength(), kXAxis, message(), Acts::Test::origin(), G4VPhysicalVolume::SetTranslation(), CLHEP::Hep3Vector::setX(), and G4VDivisionParameterisation::verbose.

+ Here is the call graph for this function:

G4double G4ParameterisationBoxX::GetMaxParameter ( ) const
virtual

Implements G4VDivisionParameterisation.

Definition at line 103 of file G4ParameterisationBox.cc.

View newest version in sPHENIX GitHub at line 103 of file G4ParameterisationBox.cc

References G4VDivisionParameterisation::fmotherSolid, and G4Box::GetXHalfLength().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: