#include <G4PVReplica.hh>
|
| G4PVReplica (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset=0) |
|
| G4PVReplica (const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset=0) |
|
| G4PVReplica (__void__ &) |
|
virtual | ~G4PVReplica () |
|
G4bool | IsMany () const |
|
G4bool | IsReplicated () const |
|
virtual G4int | GetCopyNo () const |
|
virtual void | SetCopyNo (G4int CopyNo) |
|
virtual G4bool | IsParameterised () const |
|
virtual G4VPVParameterisation * | GetParameterisation () const |
|
virtual G4int | GetMultiplicity () const |
|
virtual void | GetReplicationData (EAxis &axis, G4int &nReplicas, G4double &width, G4double &offset, G4bool &consuming) const |
|
virtual void | SetRegularStructureId (G4int Code) |
|
G4bool | IsRegularStructure () const |
|
G4int | GetRegularStructureId () const |
|
G4int | GetInstanceID () const |
|
void | InitialiseWorker (G4PVReplica *pMasterObject) |
|
void | TerminateWorker (G4PVReplica *pMasterObject) |
|
| 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 G4bool | CheckOverlaps (G4int res=1000, G4double tol=0., G4bool verbose=true, G4int errMax=1) |
|
| G4VPhysicalVolume (__void__ &) |
|
G4int | GetInstanceID () const |
|
Definition at line 119 of file G4PVReplica.hh.
Definition at line 87 of file G4PVReplica.cc.
102 std::ostringstream message;
103 message <<
"NULL pointer specified as mother volume for "
105 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
109 if (pLogical == pMotherLogical)
111 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
115 pMotherLogical->AddDaughter(
this);
117 if (pMotherLogical->GetNoDaughters() != 1)
119 std::ostringstream message;
120 message <<
"Replica or parameterised volume must be the only daughter !"
122 <<
" Mother logical volume: " << pMotherLogical->GetName()
124 <<
" Replicated volume: " << pName;
125 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
129 CheckAndSetParameters (pAxis, nReplicas,
width, offset);
G4VPhysicalVolume(G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother)
CLHEP::Hep3Vector G4ThreeVector
G4int CreateSubInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetMotherLogical(G4LogicalVolume *pMother)
Definition at line 40 of file G4PVReplica.cc.
57 std::ostringstream message;
58 message <<
"NULL pointer specified as mother volume." <<
G4endl
59 <<
"The world volume cannot be sliced or parameterised !";
60 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
65 if (pLogical == motherLogical)
67 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
75 std::ostringstream message;
76 message <<
"Replica or parameterised volume must be the only daughter !"
78 <<
" Mother physical volume: " << pMother->
GetName() <<
G4endl
79 <<
" Replicated volume: " << pName;
80 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
84 CheckAndSetParameters (pAxis, nReplicas,
width, offset);
G4VPhysicalVolume(G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother)
CLHEP::Hep3Vector G4ThreeVector
G4int CreateSubInstance()
const G4String & GetName() const
G4int GetNoDaughters() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4LogicalVolume * GetLogicalVolume() const
void SetMotherLogical(G4LogicalVolume *pMother)
void AddDaughter(G4VPhysicalVolume *p)
G4PVReplica::G4PVReplica |
( |
__void__ & |
a | ) |
|
Definition at line 179 of file G4PVReplica.cc.
181 foffset(0.), fRegularStructureCode(0), fRegularVolsId(0)
G4VPhysicalVolume(G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother)
std::vector< ExP01TrackerHit * > a
G4int CreateSubInstance()
G4PVReplica::~G4PVReplica |
( |
| ) |
|
|
virtual |
Definition at line 187 of file G4PVReplica.cc.
const G4RotationMatrix * GetRotation() const
G4int G4PVReplica::GetCopyNo |
( |
| ) |
const |
|
virtual |
G4int G4PVReplica::GetInstanceID |
( |
| ) |
const |
|
inline |
G4int G4PVReplica::GetMultiplicity |
( |
| ) |
const |
|
virtual |
G4int G4PVReplica::GetRegularStructureId |
( |
| ) |
const |
|
virtual |
Definition at line 271 of file G4PVReplica.cc.
294 G4Exception(
"G4PVReplica::InitialiseWorker(...)",
"GeomVol0003",
306 G4Exception(
"G4PVReplica::InitialiseWorker(...)",
"GeomVol0002",
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
void SetRotation(G4RotationMatrix *)
void InitialiseWorker(G4VPhysicalVolume *pMasterObject, G4RotationMatrix *pRot, const G4ThreeVector &tlate)
void SlaveCopySubInstanceArray()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool G4PVReplica::IsMany |
( |
| ) |
const |
|
virtual |
G4bool G4PVReplica::IsParameterised |
( |
| ) |
const |
|
virtual |
G4bool G4PVReplica::IsRegularStructure |
( |
| ) |
const |
|
virtual |
G4bool G4PVReplica::IsReplicated |
( |
| ) |
const |
|
virtual |
void G4PVReplica::SetRegularStructureId |
( |
G4int |
Code | ) |
|
|
virtual |
Definition at line 316 of file G4PVReplica.cc.
const G4RotationMatrix * GetRotation() const
G4int G4PVReplica::fnReplicas |
|
protected |
The documentation for this class was generated from the following files: