ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/divisions/include/G4PVDivision.hh>
Protected Attributes | |
EAxis | faxis |
EAxis | fdivAxis |
G4int | fnReplicas = 0 |
G4double | fwidth = 0.0 |
G4double | foffset = 0.0 |
G4int | fcopyNo = -1 |
G4VDivisionParameterisation * | fparam = nullptr |
Protected Attributes inherited from G4VPhysicalVolume | |
G4int | instanceID |
Private Member Functions | |
void | CheckAndSetParameters (const EAxis pAxis, const G4int nDivs, const G4double width, const G4double offset, DivisionType divType, const G4LogicalVolume *pMotherLogical) |
void | SetParameterisation (G4LogicalVolume *motherLogical, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset, DivisionType divType) |
void | ErrorInAxis (EAxis axis, G4VSolid *solid) |
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPhysicalVolume | |
static const G4PVManager & | GetSubInstanceManager () |
static void | Clean () |
Protected Member Functions inherited from G4VPhysicalVolume | |
void | InitialiseWorker (G4VPhysicalVolume *pMasterObject, G4RotationMatrix *pRot, const G4ThreeVector &tlate) |
void | TerminateWorker (G4VPhysicalVolume *pMasterObject) |
Static Protected Attributes inherited from G4VPhysicalVolume | |
static G4GEOM_DLL G4PVManager | subInstanceManager |
Definition at line 74 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 74 of file G4PVDivision.hh
G4PVDivision::G4PVDivision | ( | const G4String & | pName, |
G4LogicalVolume * | pLogical, | ||
G4LogicalVolume * | pMother, | ||
const EAxis | pAxis, | ||
const G4int | nReplicas, | ||
const G4double | width, | ||
const G4double | offset | ||
) |
Definition at line 44 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 44 of file G4PVDivision.cc
References G4LogicalVolume::AddDaughter(), CheckAndSetParameters(), DivNDIVandWIDTH, FatalException, G4endl, G4Exception(), message(), G4VPhysicalVolume::SetMotherLogical(), and SetParameterisation().
G4PVDivision::G4PVDivision | ( | const G4String & | pName, |
G4LogicalVolume * | pLogical, | ||
G4LogicalVolume * | pMotherLogical, | ||
const EAxis | pAxis, | ||
const G4int | nReplicas, | ||
const G4double | offset | ||
) |
Definition at line 79 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 79 of file G4PVDivision.cc
References G4LogicalVolume::AddDaughter(), CheckAndSetParameters(), DivNDIV, FatalException, G4endl, G4Exception(), message(), G4VPhysicalVolume::SetMotherLogical(), and SetParameterisation().
G4PVDivision::G4PVDivision | ( | const G4String & | pName, |
G4LogicalVolume * | pLogical, | ||
G4LogicalVolume * | pMotherLogical, | ||
const EAxis | pAxis, | ||
const G4double | width, | ||
const G4double | offset | ||
) |
Definition at line 111 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 111 of file G4PVDivision.cc
References G4LogicalVolume::AddDaughter(), CheckAndSetParameters(), DivWIDTH, FatalException, G4endl, G4Exception(), message(), G4VPhysicalVolume::SetMotherLogical(), and SetParameterisation().
G4PVDivision::G4PVDivision | ( | const G4String & | pName, |
G4LogicalVolume * | pLogical, | ||
G4VPhysicalVolume * | pMother, | ||
const EAxis | pAxis, | ||
const G4int | nReplicas, | ||
const G4double | width, | ||
const G4double | offset | ||
) |
Definition at line 143 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 143 of file G4PVDivision.cc
References G4LogicalVolume::AddDaughter(), CheckAndSetParameters(), DivNDIVandWIDTH, FatalException, G4endl, G4Exception(), G4VPhysicalVolume::GetLogicalVolume(), message(), G4VPhysicalVolume::SetMotherLogical(), and SetParameterisation().
|
virtual |
Definition at line 271 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 271 of file G4PVDivision.cc
|
delete |
|
private |
!!!! axis has to be x/y/z in G4VoxelLimits::GetMinExtent
Definition at line 180 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 180 of file G4PVDivision.cc
References DivNDIV, DivWIDTH, FatalException, faxis, fdivAxis, fnReplicas, foffset, fparam, fwidth, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VDivisionParameterisation::GetNoDiv(), G4LogicalVolume::GetSolid(), G4VDivisionParameterisation::GetWidth(), kPhi, kRadial3D, kRho, kXAxis, kYAxis, kZAxis, message(), offset, and G4VPhysicalVolume::SetRotation().
Referenced by G4PVDivision().
Definition at line 533 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 533 of file G4PVDivision.cc
References error, FatalException, G4Exception(), G4VSolid::GetEntityType(), G4VSolid::GetName(), kPhi, kRadial3D, kRho, kXAxis, kYAxis, and kZAxis.
Referenced by SetParameterisation().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 294 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 294 of file G4PVDivision.cc
References fcopyNo.
EAxis G4PVDivision::GetDivisionAxis | ( | ) | const |
Definition at line 276 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 276 of file G4PVDivision.cc
References fdivAxis.
Referenced by PHG4GDMLWriteStructure::DivisionvolWrite(), and G4GDMLWriteStructure::DivisionvolWrite().
|
virtual |
Reimplemented from G4VPhysicalVolume.
Definition at line 312 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 312 of file G4PVDivision.cc
References fnReplicas.
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 318 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 318 of file G4PVDivision.cc
References fparam.
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 579 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 579 of file G4PVDivision.cc
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 324 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 324 of file G4PVDivision.cc
References faxis, fnReplicas, foffset, and fwidth.
Referenced by PHG4GDMLWriteStructure::DivisionvolWrite(), and G4GDMLWriteStructure::DivisionvolWrite().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 288 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 288 of file G4PVDivision.cc
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 282 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 282 of file G4PVDivision.cc
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 571 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 571 of file G4PVDivision.cc
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 306 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 306 of file G4PVDivision.cc
|
delete |
Implements G4VPhysicalVolume.
Definition at line 300 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 300 of file G4PVDivision.cc
References fcopyNo.
|
private |
Definition at line 347 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 347 of file G4PVDivision.cc
References ErrorInAxis(), FatalException, fparam, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4LogicalVolume::GetSolid(), kPhi, kRho, kXAxis, kYAxis, kZAxis, and message().
Referenced by G4PVDivision().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 338 of file G4PVDivision.cc.
View newest version in sPHENIX GitHub at line 338 of file G4PVDivision.cc
References kParameterised.
|
protected |
Definition at line 158 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 158 of file G4PVDivision.hh
Referenced by CheckAndSetParameters(), and GetReplicationData().
|
protected |
Definition at line 162 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 162 of file G4PVDivision.hh
Referenced by GetCopyNo(), and SetCopyNo().
|
protected |
Definition at line 159 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 159 of file G4PVDivision.hh
Referenced by CheckAndSetParameters(), and GetDivisionAxis().
|
protected |
Definition at line 160 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 160 of file G4PVDivision.hh
Referenced by CheckAndSetParameters(), GetMultiplicity(), and GetReplicationData().
|
protected |
Definition at line 161 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 161 of file G4PVDivision.hh
Referenced by CheckAndSetParameters(), and GetReplicationData().
|
protected |
Definition at line 163 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 163 of file G4PVDivision.hh
Referenced by CheckAndSetParameters(), GetParameterisation(), and SetParameterisation().
|
protected |
Definition at line 161 of file G4PVDivision.hh.
View newest version in sPHENIX GitHub at line 161 of file G4PVDivision.hh
Referenced by CheckAndSetParameters(), and GetReplicationData().