Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions run/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ o2_add_executable(g4-determine-unknown-pdg-properties
SOURCES g4DetermineUnknownPdgProperties.cxx
PUBLIC_LINK_LIBRARIES O2::O2TrivialMC MC::Geant4 MC::Geant4VMC O2::SimConfig)

# Reads a geometry file and a field and reports where the two do not fit together.
# It needs neither the simulation engines nor any detector code -- the medium flags
# it reasons about are GSTMED parameters stored in the geometry file itself -- so it
# deliberately does not link internal::allsim.
o2_add_executable(geometry-doctor
COMPONENT_NAME sim
SOURCES o2sim_geometry_doctor.cxx
PUBLIC_LINK_LIBRARIES O2::Field ROOT::Geom Boost::program_options
nlohmann_json::nlohmann_json)

o2_add_executable(mctracks-proxy
COMPONENT_NAME sim
SOURCES o2sim_mctracks_proxy.cxx
Expand Down
15 changes: 15 additions & 0 deletions run/geometry-doctor-anchors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"comment": "Volumes of the ALICE Run 3 geometry whose relation to the field is known independently of this tool, from the geometry of the LHC machine elements around the RB24 beam pipe. Pass this file to o2-sim-geometry-doctor --verify-anchors to check a run against them. The five copper tubes sit 14 to 63 cm clear of the machine band in z and must come out field-free; RB243 and RB243A are assemblies, so they carry no material and nothing can be flagged on them; caveRB24 must NOT come out field-free, because what its daughters leave over is a sliver of cave air between an oval beam pipe and a circular field cylinder that carries more than 13 kG; and RB24B1BellowM is placed in the solenoid fringe while carrying a field-free medium, which is what the reverse audit exists to find.",
"anchors": [
{"volume": "voRB242CuTube", "expect": "OUT", "placements": 2},
{"volume": "voRB243CuTube", "expect": "OUT", "placements": 2},
{"volume": "voRB24CuTubeF", "expect": "OUT", "placements": 7},
{"volume": "voRB24cCuTube", "expect": "OUT", "placements": 1},
{"volume": "voRB24cCuTubeM", "expect": "OUT", "placements": 1},
{"volume": "RB243", "expect": "ASSEMBLY", "placements": 1},
{"volume": "RB243A", "expect": "ASSEMBLY", "placements": 2},
{"volume": "caveRB24", "expect": "NOT_OUT", "min_max_B_kG": 13.0},
{"volume": "voRB24CuTubeM", "expect": "IN", "min_max_B_kG": 4.0},
{"volume": "RB24B1BellowM", "expect": "REVERSE_AUDIT_FLAGGED", "min_max_B_kG": 4.0}
]
}
Loading