#include <G4ReplicatedSlice.hh>
Inheritance diagram for G4ReplicatedSlice:
Public Member Functions | |
G4ReplicatedSlice (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double half_gap, const G4double offset) | |
G4ReplicatedSlice (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const EAxis pAxis, const G4int nReplicas, const G4double half_gap, const G4double offset) | |
G4ReplicatedSlice (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const EAxis pAxis, const G4double width, const G4double half_gap, const G4double offset) | |
G4ReplicatedSlice (const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMotherPhysical, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double half_gap, const G4double offset) | |
G4ReplicatedSlice (const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMotherPhysical, const EAxis pAxis, const G4int nReplicas, const G4double half_gap, const G4double offset) | |
G4ReplicatedSlice (const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMotherPhysical, const EAxis pAxis, const G4double width, const G4double half_gap, const G4double offset) | |
virtual | ~G4ReplicatedSlice () |
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 |
Protected Attributes | |
EAxis | faxis |
EAxis | fdivAxis |
G4int | fnReplicas |
G4double | fwidth |
G4double | foffset |
G4int | fcopyNo |
G4VDivisionParameterisation * | fparam |
Definition at line 71 of file G4ReplicatedSlice.hh.
G4ReplicatedSlice::G4ReplicatedSlice | ( | const G4String & | pName, | |
G4LogicalVolume * | pLogical, | |||
G4LogicalVolume * | pMotherLogical, | |||
const EAxis | pAxis, | |||
const G4int | nReplicas, | |||
const G4double | width, | |||
const G4double | half_gap, | |||
const G4double | offset | |||
) |
Definition at line 44 of file G4ReplicatedSlice.cc.
References DivNDIVandWIDTH.
00052 : G4VPhysicalVolume(0,G4ThreeVector(),pName,pLogical,0), fcopyNo(-1) 00053 { 00054 CheckAndSetParameters(pAxis, nDivs, width, half_gap, offset, 00055 DivNDIVandWIDTH, pMotherLogical, pLogical); 00056 }
G4ReplicatedSlice::G4ReplicatedSlice | ( | const G4String & | pName, | |
G4LogicalVolume * | pLogical, | |||
G4LogicalVolume * | pMotherLogical, | |||
const EAxis | pAxis, | |||
const G4int | nReplicas, | |||
const G4double | half_gap, | |||
const G4double | offset | |||
) |
Definition at line 59 of file G4ReplicatedSlice.cc.
References DivNDIV.
00066 : G4VPhysicalVolume(0,G4ThreeVector(),pName,pLogical,0), fcopyNo(-1) 00067 { 00068 CheckAndSetParameters(pAxis, nDivs, 0., half_gap, offset, 00069 DivNDIV, pMotherLogical, pLogical); 00070 }
G4ReplicatedSlice::G4ReplicatedSlice | ( | const G4String & | pName, | |
G4LogicalVolume * | pLogical, | |||
G4LogicalVolume * | pMotherLogical, | |||
const EAxis | pAxis, | |||
const G4double | width, | |||
const G4double | half_gap, | |||
const G4double | offset | |||
) |
Definition at line 73 of file G4ReplicatedSlice.cc.
References DivWIDTH.
00080 : G4VPhysicalVolume(0,G4ThreeVector(),pName,pLogical,0), fcopyNo(-1) 00081 { 00082 CheckAndSetParameters(pAxis, 0, width, half_gap, offset, 00083 DivWIDTH, pMotherLogical, pLogical); 00084 }
G4ReplicatedSlice::G4ReplicatedSlice | ( | const G4String & | pName, | |
G4LogicalVolume * | pLogical, | |||
G4VPhysicalVolume * | pMotherPhysical, | |||
const EAxis | pAxis, | |||
const G4int | nReplicas, | |||
const G4double | width, | |||
const G4double | half_gap, | |||
const G4double | offset | |||
) |
Definition at line 87 of file G4ReplicatedSlice.cc.
References DivNDIVandWIDTH, and G4VPhysicalVolume::GetLogicalVolume().
00095 : G4VPhysicalVolume(0,G4ThreeVector(),pName,pLogical,0), fcopyNo(-1) 00096 { 00097 CheckAndSetParameters(pAxis, nDivs, width, half_gap, offset, 00098 DivNDIVandWIDTH, pMotherPhysical->GetLogicalVolume(), pLogical); 00099 }
G4ReplicatedSlice::G4ReplicatedSlice | ( | const G4String & | pName, | |
G4LogicalVolume * | pLogical, | |||
G4VPhysicalVolume * | pMotherPhysical, | |||
const EAxis | pAxis, | |||
const G4int | nReplicas, | |||
const G4double | half_gap, | |||
const G4double | offset | |||
) |
Definition at line 102 of file G4ReplicatedSlice.cc.
References DivNDIV, and G4VPhysicalVolume::GetLogicalVolume().
00109 : G4VPhysicalVolume(0,G4ThreeVector(),pName,pLogical,0), fcopyNo(-1) 00110 { 00111 CheckAndSetParameters(pAxis, nDivs, 0., half_gap, offset, 00112 DivNDIV, pMotherPhysical->GetLogicalVolume(), pLogical); 00113 }
G4ReplicatedSlice::G4ReplicatedSlice | ( | const G4String & | pName, | |
G4LogicalVolume * | pLogical, | |||
G4VPhysicalVolume * | pMotherPhysical, | |||
const EAxis | pAxis, | |||
const G4double | width, | |||
const G4double | half_gap, | |||
const G4double | offset | |||
) |
Definition at line 116 of file G4ReplicatedSlice.cc.
References DivWIDTH, and G4VPhysicalVolume::GetLogicalVolume().
00123 : G4VPhysicalVolume(0,G4ThreeVector(),pName,pLogical,0), fcopyNo(-1) 00124 { 00125 CheckAndSetParameters(pAxis, 0, width, half_gap, offset, 00126 DivWIDTH, pMotherPhysical->GetLogicalVolume(), pLogical); 00127 }
G4ReplicatedSlice::~G4ReplicatedSlice | ( | ) | [virtual] |
Definition at line 249 of file G4ReplicatedSlice.cc.
References G4VPhysicalVolume::GetRotation().
00250 { 00251 delete GetRotation(); 00252 }
G4int G4ReplicatedSlice::GetCopyNo | ( | ) | const [virtual] |
Implements G4VPhysicalVolume.
Definition at line 273 of file G4ReplicatedSlice.cc.
References fcopyNo.
00274 { 00275 return fcopyNo; 00276 }
EAxis G4ReplicatedSlice::GetDivisionAxis | ( | ) | const |
Definition at line 255 of file G4ReplicatedSlice.cc.
References fdivAxis.
00256 { 00257 return fdivAxis; 00258 }
G4VPVParameterisation * G4ReplicatedSlice::GetParameterisation | ( | ) | const [virtual] |
Implements G4VPhysicalVolume.
Definition at line 291 of file G4ReplicatedSlice.cc.
References fparam.
00292 { 00293 return fparam; 00294 }
G4int G4ReplicatedSlice::GetRegularStructureId | ( | ) | const [virtual] |
void G4ReplicatedSlice::GetReplicationData | ( | EAxis & | axis, | |
G4int & | nReplicas, | |||
G4double & | width, | |||
G4double & | offset, | |||
G4bool & | consuming | |||
) | const [virtual] |
Implements G4VPhysicalVolume.
Definition at line 297 of file G4ReplicatedSlice.cc.
References faxis, fnReplicas, foffset, and fwidth.
00302 { 00303 axis=faxis; 00304 nDivs=fnReplicas; 00305 width=fwidth; 00306 offset=foffset; 00307 consuming=false; 00308 }
G4bool G4ReplicatedSlice::IsMany | ( | ) | const [virtual] |
G4bool G4ReplicatedSlice::IsParameterised | ( | ) | const [virtual] |
G4bool G4ReplicatedSlice::IsRegularStructure | ( | ) | const [virtual] |
G4bool G4ReplicatedSlice::IsReplicated | ( | ) | const [virtual] |
void G4ReplicatedSlice::SetCopyNo | ( | G4int | CopyNo | ) | [virtual] |
Implements G4VPhysicalVolume.
Definition at line 279 of file G4ReplicatedSlice.cc.
References fcopyNo.
00280 { 00281 fcopyNo= newCopyNo; 00282 }
EAxis G4ReplicatedSlice::faxis [protected] |
G4int G4ReplicatedSlice::fcopyNo [protected] |
EAxis G4ReplicatedSlice::fdivAxis [protected] |
G4int G4ReplicatedSlice::fnReplicas [protected] |
G4double G4ReplicatedSlice::foffset [protected] |
G4VDivisionParameterisation* G4ReplicatedSlice::fparam [protected] |
G4double G4ReplicatedSlice::fwidth [protected] |