This PR introduces the feature to add/remove/move detectors through mac command. All parameters regarding the dimensions of detectors are passed through geometry/GeometricalParameters, so they can be retrieved anywhere else.
The default configuration is the reference configuration. I moved the FLArE detector towards +z direction and it starts at (0, 0, 0) now. The center of the TPC is (0, 0, 4300) mm after the change.
Use the command /det/addFORMOSA false to remove the FORMOSA detector:
Use the following commands to move around the detectors
/det/addFLArEPos 0 0 0 mm
/det/addFORMOSAPos 5000 0 13870 mm
Another example to move the FORMOSA detector under FASERnu2
/det/addFASERnu2Pos 0 0 20000 mm
/det/addFORMOSAPos 0 -5000 13870 mm
This PR introduces the feature to add/remove/move detectors through mac command. All parameters regarding the dimensions of detectors are passed through
geometry/GeometricalParameters
, so they can be retrieved anywhere else.The default configuration is the reference configuration. I moved the FLArE detector towards +z direction and it starts at (0, 0, 0) now. The center of the TPC is (0, 0, 4300) mm after the change.
Use the command
/det/addFORMOSA false
to remove the FORMOSA detector:Use the following commands to move around the detectors
Another example to move the FORMOSA detector under FASERnu2
An example with only FLArE
The
AnalysisManager
needs an overhaul with this change. I'll address that in another PR.