Skip to content

Commit b2ab6bf

Browse files
authored
Merge branch 'AliceO2Group:dev' into new_new_geometry
2 parents 4f609b2 + ab6e1c2 commit b2ab6bf

93 files changed

Lines changed: 7026 additions & 328 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Common/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
add_subdirectory(Constants)
1313
add_subdirectory(MathUtils)
14+
add_subdirectory(TrackTools)
1415
add_subdirectory(Field)
1516
add_subdirectory(Types)
1617
add_subdirectory(Utils)

‎Common/SimConfig/include/SimConfig/G4Params.h‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include "CommonUtils/ConfigurableParam.h"
1616
#include "CommonUtils/ConfigurableParamHelper.h"
17+
#include "SimulationDataFormat/MonopoleParticles.h"
1718

1819
namespace o2
1920
{
@@ -80,6 +81,22 @@ struct G4Params : public o2::conf::ConfigurableParamHelper<G4Params> {
8081
bool g4scoring = false;
8182
bool g4fluenceweight = false;
8283

84+
// Enable magnetic-monopole ionisation as defined in Detectors/gconfig/O2MonopolePhysics.
85+
// The G4mplIonisation process (Ahlen stopping power) is attached to
86+
// the O2 monopole particles (PDG +-4110000 / +-4120000) on top of the chosen
87+
// reference physics list. Off by default
88+
bool monopole = false;
89+
// Monopole magnetic charge in units of the Dirac charge g_D = eplus/(2*alpha)
90+
// (~68.5 eplus). 1.0 corresponds to a single classic Dirac monopole.
91+
// The monopole is transported with the full dual Lorentz force
92+
// F = g*(B - v x E/c^2). The electric part acts inside the TPC field cage,
93+
// the only volume with an electric field, and its magnitude is the TPC's own
94+
// TPCGEMParam.ElectricField[0]
95+
float monopoleMagneticCharge = 1.f;
96+
// Monopole mass in GeV, preliminarly applied to all the monopoles species
97+
// To-do: allow different monopoles masses in the same run
98+
float monopoleMass = static_cast<float>(o2::sim::MonopoleMassDefaultGeV);
99+
83100
// Fast simulation. Empty fastSimModels (the default) disables the feature
84101
// entirely; see Detectors/gconfig/include/SimSetup/G4FastSimulation.h.
85102
std::string fastSimModels = ""; // comma-separated model names to activate

‎Common/TrackTools/CMakeLists.txt‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright 2026-2026 CERN and copyright holders of ALICE O2.
2+
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
# All rights not expressly granted are reserved.
4+
#
5+
# This software is distributed under the terms of the GNU General Public
6+
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
#
8+
# In applying this license CERN does not waive the privileges and immunities
9+
# granted to it by virtue of its status as an Intergovernmental Organization
10+
# or submit itself to any jurisdiction.
11+
12+
# Expose and install the shared public TrackTools headers without compiled sources.
13+
o2_add_header_only_library(
14+
TrackTools
15+
INTERFACE_LINK_LIBRARIES
16+
O2::CommonConstants
17+
O2::MathUtils
18+
O2::ReconstructionDataFormats
19+
O2::TPCBase
20+
O2::DetectorsBase)
21+
22+
# Keep the portable PyROOT/pytest validation available from the installed O2 module.
23+
set(TRACKTOOLS_TEST_INSTALL_DIR share/test/TrackTools)
24+
install(FILES
25+
test/python/conftest.py
26+
test/python/test_full_state_radius.py
27+
test/python/test_sector_rows_primary_baseline.py
28+
DESTINATION ${TRACKTOOLS_TEST_INSTALL_DIR}/python)
29+
install(FILES test/README_TESTS.md
30+
DESTINATION ${TRACKTOOLS_TEST_INSTALL_DIR})

‎Common/TrackTools/README.md‎

Lines changed: 306 additions & 0 deletions
Large diffs are not rendered by default.
1.35 MB
Loading

0 commit comments

Comments
 (0)