miranov25 / fastMCKalman

Fast simulation and performance parameterization - primary for ALICE3 and DUNE
MIT License
0 stars 1 forks source link

Modified UnitTest.sh to include Rotation errors; Corrected spelling mistake and removed snp protection in ReconstructParticle in fastSimulation.cxx; Modified Update function to accomodate for snp close to 1 #15

Closed Trenchcoat95 closed 2 years ago

Trenchcoat95 commented 2 years ago

Before change to Update we got these errors:

fastParticle::reconstructParticleFull: 3343 fastParticle::reconstructParticleFull: short track 2321 fastParticle::reconstructParticleFull: Too few consecutive points 65 fastParticle::reconstructParticleFull: Rotation failed 112 fastParticle::reconstructParticleFull: Propagation failed 256 fastParticle::reconstructParticleFull: Update failed 434 fastParticle::reconstructParticleFull: Too big chi2 155 fastParticle::reconstructParticleFull: Correct for material failed 0 fastParticle::reconstructParticle: 2743 fastParticle::reconstructParticle: short track 2692 fastParticle::reconstructParticle: Too few consecutive points 0 fastParticle::reconstructParticle: Rotation failed 0 fastParticle::reconstructParticle: Propagation failed 20 fastParticle::reconstructParticle: Update failed 28 fastParticle::reconstructParticle: Too big chi2 3 fastParticle::reconstructParticle: Correct for material failed 0

After the modification to Update errors are totally removed and only some are traslated to other errors (total reduction of about 200 errors):

fastParticle::reconstructParticleFull: 3107 fastParticle::reconstructParticleFull: short track 2364 fastParticle::reconstructParticleFull: Too few consecutive points 73 fastParticle::reconstructParticleFull: Rotation failed 186 fastParticle::reconstructParticleFull: Propagation failed 333 fastParticle::reconstructParticleFull: Update failed 0 fastParticle::reconstructParticleFull: Too big chi2 151 fastParticle::reconstructParticleFull: Correct for material failed 0 fastParticle::reconstructParticle: 2756 fastParticle::reconstructParticle: short track 2731 fastParticle::reconstructParticle: Too few consecutive points 0 fastParticle::reconstructParticle: Rotation failed 2 fastParticle::reconstructParticle: Propagation failed 13 fastParticle::reconstructParticle: Update failed 0 fastParticle::reconstructParticle: Too big chi2 10 fastParticle::reconstructParticle: Correct for material failed 0

miranov25 commented 2 years ago

Mirror error to be added to the test output. Investigation of the propagation error

miranov25 commented 2 years ago

Problem with propagate close to the |snp|~1

if the MS angle comparable with the 1-|snp| propagate in linear approximation can failed

In case the propagate fail because impossible to propagate to (higher/lower) radius - the next measurement can be tried Ohter option will be to update with new measuermnt - so the propagate will be possible (more complex)

image