You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"It only makes a difference if board_position_code_ is set to 2 or 3. If set to true, the lower edges of the WLS plate and the SiPMs are aligned.");
223
+
219
224
G4GenericMessenger::Command& g_cmd =
220
225
msg_->DeclareProperty("gap", gap_,
221
226
"Gap between the photosensors and the WLS plate. A negative gap can help modelate the immersion of the SiPMs into the dimples. Be careful not to collide the SiPMs into the plate.");
@@ -512,9 +517,16 @@ namespace nexus{
512
517
}
513
518
else// board_position_code_ is 2 or 3
514
519
{
520
+
G4double sipms_y_pos = 0.;
521
+
if(align_lower_edges_of_plate_and_SiPMs_)
522
+
{
523
+
// Assuming that the WLS plate is placed at the origin of coordinates
Copy file name to clipboardExpand all lines: source/geometries/APEX.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,8 @@ namespace nexus {
92
92
///< 1 -> One board facing the middle of one of the two largest WLS plate faces.
93
93
///< 2 -> One board facing one of the smallest WLS plate faces.
94
94
///< Any other integer -> One board facing each one of the smallest WLS plate faces (two boards in total).
95
+
G4bool align_lower_edges_of_plate_and_SiPMs_; ///< This parameter only makes a difference if board_position_code_ is set to 2 or 3. If set to true, the lower edges of the WLS plate and the SiPMs are aligned.
96
+
///< If set to false, then the center (along the plate_thickn_ dimension) of the SiPMs is aligned with the center of the WLS plate
95
97
G4double gap_; ///< Gap between the photosensors and the WLS plate. A negative gap can help modelate the immersion of the SiPMs into the dimples. Be careful not to collide the SiPMs into the plate.
96
98
G4bool ref_phsensors_supports_; ///< Whether photosensors supports are reflective (the FR4 box that supports the SiPM)
97
99
/// Dimples may be used in the future, but not for now ----------------------------------------------------------------------------------------------------
0 commit comments