AliceO2
AliceO2 copied to clipboard
Expand MCTrack to contain proper energy property
Adding energy component to MCTrack properties.
Needs to be done since AOD also has energy and we need to store generator particles for which we don't know the mass (strings, resonances).
Despite adding an energy property to MCTrack, we still use a hybrid mode:
a) for primaries, and few secondaries, we store the energy proper
b) for most secondaries, we store -1 in order and still use the mass from the TPDGDatabase to calculate the energy. This will ensure large compression and an almost zero impact on disc file size. We can do this since secondaries have a well defined mass.
In result, the energy of MC particles in AOD should now be completely trustable.
Error while checking build/O2/fullCI for d7ff24736022474f5c1560119feef7d8c44b100d at 2024-03-18 11:33:
## sw/BUILD/O2-latest/log
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
## sw/BUILD/O2-full-system-test-latest/log
Detected critical problem in logfile sim.log
sim.log-[10:33:28][FATAL] Inconsistency in primary particles treated 96 vs expected 97
[ERROR] SHUTTING DOWN DUE TO SIGNALED EXIT IN COMPONENT 4674
[10:33:28][FATAL] Inconsistency in primary particles treated 96 vs expected 97
## sw/BUILD/o2checkcode-latest/log
--
========== List of errors found ==========
++ GRERR=0
++ grep -v clang-diagnostic-error error-log.txt
++ grep ' error:'
++ GRERR=1
++ [[ 1 == 0 ]]
++ mkdir -p /sw/INSTALLROOT/ecfbcbbb689b1ad5f3a977689a6e26eb1f3b2b5f/slc8_x86-64/o2checkcode/1.0-local2267/etc/modulefiles
++ cat
--
Full log here.
This PR did not have any update in the last 30 days. Is it still needed? Unless further action in will be closed in 5 days.