#include <G4VReadOutGeometry.hh>
Definition at line 39 of file G4VReadOutGeometry.hh.
◆ G4VReadOutGeometry() [1/3]
G4VReadOutGeometry::G4VReadOutGeometry |
( |
| ) |
|
Definition at line 33 of file G4VReadOutGeometry.cc.
35{
39 ed << "The concept and the functionality of Readout Geometry has been merged\n"
40 << "into Parallel World. This G4VReadOutGeometry is kept for the sake of\n"
41 << "not breaking the commonly-used interface in the sensitive detector "
42 "class.\n"
43 << "But this functionality of G4VReadOutGeometry class is no longer "
44 "tested\n"
45 << "and thus may not be working well. We strongly recommend our customers "
46 "to\n"
47 << "migrate to Parallel World scheme.";
49}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4VPhysicalVolume * ROworld
G4SensitiveVolumeList * fincludeList
G4Navigator * ROnavigator
G4TouchableHistory * touchableHistory
G4SensitiveVolumeList * fexcludeList
◆ G4VReadOutGeometry() [2/3]
G4VReadOutGeometry::G4VReadOutGeometry |
( |
G4String | n | ) |
|
Definition at line 63 of file G4VReadOutGeometry.cc.
69{
72 ed << "The concept and the functionality of Readout Geometry has been merged\n"
73 << "into Parallel World. This G4VReadOutGeometry is kept for the sake of\n"
74 << "not breaking the commonly-used interface in the sensitive detector "
75 "class.\n"
76 << "But this functionality of G4VReadOutGeometry class is no longer "
77 "tested\n"
78 << "and thus may not be working well. We strongly recommend our customers "
79 "to\n"
80 << "migrate to Parallel World scheme.";
82}
◆ ~G4VReadOutGeometry()
G4VReadOutGeometry::~G4VReadOutGeometry |
( |
| ) |
|
|
virtual |
◆ G4VReadOutGeometry() [3/3]
◆ Build()
◆ BuildROGeometry()
void G4VReadOutGeometry::BuildROGeometry |
( |
| ) |
|
Definition at line 120 of file G4VReadOutGeometry.cc.
121{
124}
void SetWorldVolume(G4VPhysicalVolume *pWorld)
virtual G4VPhysicalVolume * Build()=0
◆ CheckROVolume()
Definition at line 126 of file G4VReadOutGeometry.cc.
127{
128 ROhist = nullptr;
132 incFlg = false;
133 }
135 incFlg = true;
136 }
138 incFlg = false;
139 }
141 incFlg = true;
142 }
143 if (! incFlg) return false;
144
147 }
148 if (incFlg) {
150 }
151 return incFlg;
152}
G4bool CheckLV(const G4LogicalVolume *lvp) const
G4bool CheckPV(const G4VPhysicalVolume *pvp) const
G4VPhysicalVolume * GetPhysicalVolume() const
G4StepPoint * GetPreStepPoint() const
virtual G4bool FindROTouchable(G4Step *)
Referenced by G4VFastSimSensitiveDetector::Hit(), G4VGFlashSensitiveDetector::Hit(), and G4VSensitiveDetector::Hit().
◆ FindROTouchable()
G4bool G4VReadOutGeometry::FindROTouchable |
( |
G4Step * | currentStep | ) |
|
|
protectedvirtual |
Definition at line 154 of file G4VReadOutGeometry.cc.
155{
156
157
158
159
160
161
162
163
168 }
169 else {
172 }
173
174
175
176
177
178
179
180
182
183 if (currentVolume != nullptr) {
184 return currentVolume->GetLogicalVolume()->GetSensitiveDetector() != nullptr;
185 }
186
187 return false;
188}
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
const G4ThreeVector & GetPosition() const
const G4ThreeVector & GetMomentumDirection() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
Referenced by CheckROVolume().
◆ GetExcludeList()
◆ GetIncludeList()
◆ GetName()
G4String G4VReadOutGeometry::GetName |
( |
| ) |
const |
|
inline |
◆ GetROWorld()
◆ operator!=()
◆ operator=()
Definition at line 94 of file G4VReadOutGeometry.cc.
95{
96 if (this == &right) return *this;
107 return *this;
108}
◆ operator==()
◆ SetExcludeList()
◆ SetIncludeList()
◆ SetName()
void G4VReadOutGeometry::SetName |
( |
G4String | value | ) |
|
|
inline |
◆ fexcludeList
◆ fincludeList
◆ name
◆ ROnavigator
◆ ROworld
◆ touchableHistory
The documentation for this class was generated from the following files: