lorenzetti-hep / lorenzetti

Lorenzetti: Empowering Physics Performance and Analysis with Low-level Calorimetry Data
GNU General Public License v3.0
7 stars 13 forks source link

Seeds, truth particle, calorimeter timing and cross-talk updates #22

Closed mhufnagel closed 11 months ago

mhufnagel commented 11 months ago

A major change was performed at the EVT level, which had only a 'TruthParticle' object which did not describe the particle completely. That object has only the simulation seed information and was done this way to accomplish the jet subparticles and simplify the subparticles organization, since the jet can have more than one particle, compared to the electron. From that, a new class was creaded, called ParticleSeed, which has only seed properties (total energy, seed eta, seed phi), to being given to the simulation step. The TruthParticle now has pdgid forwarded from Pythia and single particle information. This version is not fully tested on Jet Generation, but seems to be working well. Other changes were done in CaloCell structure, which now hold the G4 GlobalTime, which is set to be the truthTime from a calorimeter Cell. The same information was coded into reconstructed time, which is called 'Tau'. This is done by the Optimal Filter algorithm, that were already implemented. It was only added here the 5 OF coefficients for time reconstruction on detector simulation. This values are not fully well adjusted (it is pointed out directly on the code), but this optimization can be done by the reconstructions experts in a near future, but the infra is already done and tested. The crosstalk package had only minor changes and fixes.