#include <G4PVDivision.hh>
|
| G4PVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset) |
|
| G4PVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const EAxis pAxis, const G4int nReplicas, const G4double offset) |
|
| G4PVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const EAxis pAxis, const G4double width, const G4double offset) |
|
| G4PVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset) |
|
virtual | ~G4PVDivision () |
|
virtual G4bool | IsMany () const |
|
virtual G4int | GetCopyNo () const |
|
virtual void | SetCopyNo (G4int CopyNo) |
|
virtual G4bool | IsReplicated () const |
|
virtual G4VPVParameterisation * | GetParameterisation () const |
|
virtual void | GetReplicationData (EAxis &axis, G4int &nReplicas, G4double &width, G4double &offset, G4bool &consuming) const |
|
EAxis | GetDivisionAxis () const |
|
G4bool | IsParameterised () const |
|
G4bool | IsRegularStructure () const |
|
G4int | GetRegularStructureId () const |
|
| G4VPhysicalVolume (G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother) |
|
virtual | ~G4VPhysicalVolume () |
|
G4bool | operator== (const G4VPhysicalVolume &p) const |
|
G4RotationMatrix * | GetObjectRotation () const |
|
G4RotationMatrix | GetObjectRotationValue () const |
|
G4ThreeVector | GetObjectTranslation () const |
|
const G4RotationMatrix * | GetFrameRotation () const |
|
G4ThreeVector | GetFrameTranslation () const |
|
const G4ThreeVector & | GetTranslation () const |
|
const G4RotationMatrix * | GetRotation () const |
|
void | SetTranslation (const G4ThreeVector &v) |
|
G4RotationMatrix * | GetRotation () |
|
void | SetRotation (G4RotationMatrix *) |
|
G4LogicalVolume * | GetLogicalVolume () const |
|
void | SetLogicalVolume (G4LogicalVolume *pLogical) |
|
G4LogicalVolume * | GetMotherLogical () const |
|
void | SetMotherLogical (G4LogicalVolume *pMother) |
|
const G4String & | GetName () const |
|
void | SetName (const G4String &pName) |
|
EVolume | VolumeType () const |
|
virtual G4int | GetMultiplicity () const |
|
virtual G4bool | CheckOverlaps (G4int res=1000, G4double tol=0., G4bool verbose=true, G4int errMax=1) |
|
| G4VPhysicalVolume (__void__ &) |
|
G4int | GetInstanceID () const |
|
Definition at line 79 of file G4PVDivision.hh.
Definition at line 47 of file G4PVDivision.cc.
59 std::ostringstream message;
60 message <<
"Invalid setup." <<
G4endl
61 <<
"NULL pointer specified as mother for volume: " << pName;
62 G4Exception(
"G4PVDivision::G4PVDivision()",
"GeomDiv0002",
66 if (pLogical == pMotherLogical)
68 std::ostringstream message;
69 message <<
"Invalid setup." <<
G4endl
70 <<
"Cannot place a volume inside itself! Volume: " << pName;
71 G4Exception(
"G4PVDivision::G4PVDivision()",
"GeomDiv0002",
74 pMotherLogical->AddDaughter(
this);
76 SetParameterisation(pMotherLogical, pAxis, nDivs,
78 CheckAndSetParameters (pAxis, nDivs,
width, offset,
G4VPhysicalVolume(G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother)
CLHEP::Hep3Vector G4ThreeVector
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetMotherLogical(G4LogicalVolume *pMother)
Definition at line 83 of file G4PVDivision.cc.
94 std::ostringstream message;
95 message <<
"Invalid setup." <<
G4endl
96 <<
"NULL pointer specified as mother! Volume: " << pName;
97 G4Exception(
"G4PVDivision::G4PVDivision()",
"GeomDiv0002",
101 if (pLogical == pMotherLogical)
103 std::ostringstream message;
104 message <<
"Invalid setup." <<
G4endl
105 <<
"Cannot place a volume inside itself! Volume: " << pName;
106 G4Exception(
"G4PVDivision::G4PVDivision()",
"GeomDiv0002",
111 SetParameterisation(pMotherLogical, pAxis, nDivs, 0., offset,
DivNDIV);
112 CheckAndSetParameters (pAxis, nDivs, 0., offset,
DivNDIV, pMotherLogical);
G4VPhysicalVolume(G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother)
CLHEP::Hep3Vector G4ThreeVector
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetMotherLogical(G4LogicalVolume *pMother)
void AddDaughter(G4VPhysicalVolume *p)
Definition at line 116 of file G4PVDivision.cc.
127 std::ostringstream message;
128 message <<
"Invalid setup." <<
G4endl
129 <<
"NULL pointer specified as mother! Volume: " + pName;
130 G4Exception(
"G4PVDivision::G4PVDivision()",
"GeomDiv0002",
134 if (pLogical == pMotherLogical)
136 std::ostringstream message;
137 message <<
"Invalid setup." <<
G4endl
138 <<
"Cannot place a volume inside itself! Volume: "+ pName;
139 G4Exception(
"G4PVDivision::G4PVDivision()",
"GeomDiv0002",
144 SetParameterisation(pMotherLogical, pAxis, 0,
width, offset,
DivWIDTH);
145 CheckAndSetParameters (pAxis, 0,
width, offset,
DivWIDTH, pMotherLogical);
G4VPhysicalVolume(G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother)
CLHEP::Hep3Vector G4ThreeVector
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetMotherLogical(G4LogicalVolume *pMother)
void AddDaughter(G4VPhysicalVolume *p)
G4PVDivision::~G4PVDivision |
( |
| ) |
|
|
virtual |
G4int G4PVDivision::GetCopyNo |
( |
| ) |
const |
|
virtual |
EAxis G4PVDivision::GetDivisionAxis |
( |
| ) |
const |
G4int G4PVDivision::GetRegularStructureId |
( |
| ) |
const |
|
virtual |
G4bool G4PVDivision::IsMany |
( |
| ) |
const |
|
virtual |
G4bool G4PVDivision::IsParameterised |
( |
| ) |
const |
|
virtual |
G4bool G4PVDivision::IsRegularStructure |
( |
| ) |
const |
|
virtual |
G4bool G4PVDivision::IsReplicated |
( |
| ) |
const |
|
virtual |
EAxis G4PVDivision::faxis |
|
protected |
G4int G4PVDivision::fcopyNo |
|
protected |
EAxis G4PVDivision::fdivAxis |
|
protected |
G4int G4PVDivision::fnReplicas |
|
protected |
The documentation for this class was generated from the following files: