acts-project / acts-project/acts
Different results for full_chain_itk when running locally vs lxplus
- Dominant language
- C++
- Stars
- 131
- Forks
- 276
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 112
Description
Running `full_chain_itk.py` both locally on my computer and on lxplus I've noticed different results.
For instance the number of seeds (default seeding strategy) changed from 2219 to 2281 on 100 events.
On lxplus:
```console
12:23:00 TrackFinding INFO TrackFindingAlgorithm statistics:
12:23:00 TrackFinding INFO - total seeds: 2281
12:23:00 TrackFinding INFO - failed seeds: 0
12:23:00 TrackFinding INFO - failure ratio: 0
12:23:00 RootParticle INFO Wrote particles to tree 'particles' in '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/fatras_particles_final.root'
12:23:00 RootParticle INFO Wrote particles to tree 'particles' in '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/fatras_particles_initial.root'
12:23:00 SeedingPerfo INFO Efficiency (nMatchedParticles / nAllParticles) = 0.995
12:23:00 SeedingPerfo INFO Fake rate (nUnMatchedSeeds / nAllSeeds) = 0
12:23:00 SeedingPerfo INFO Duplication rate (nDuplicatedMatchedParticles / nMatchedParticles) = 1
12:23:00 SeedingPerfo INFO Average number of duplicated seeds ((nMatchedSeeds - nMatchedParticles) / nMatchedParticles) = 10.4623
12:23:00 SeedingPerfo INFO Wrote performance plots to '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/performance_seeding_hists.root:/'
12:23:00 RootTrackPar INFO Wrote estimated parameters from seed to tree 'estimatedparams' in '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/estimatedparams.root'
12:23:01 RootTrajecto INFO Wrote states of trajectories to tree 'trackstates' in 'trackstates'
12:23:01 RootTrajecto INFO Wrote parameters of trajectories to tree 'tracksummary' in '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/tracksummary_ckf.root'
12:23:01 CKFPerforman INFO Efficiency with tracks (nMatchedTracks/ nAllTracks) = 1
12:23:01 CKFPerforman INFO Fake rate with tracks (nFakeTracks/nAllTracks) = 0
12:23:01 CKFPerforman INFO Duplicate rate with tracks (nDuplicateTracks/nAllTracks) = 0.912257
12:23:01 CKFPerforman INFO Efficiency with particles (nMatchedParticles/nTrueParticles) = 0.995
12:23:01 CKFPerforman INFO Fake rate with particles (nFakeParticles/nTrueParticles) = 0
12:23:01 CKFPerforman INFO Duplicate rate with particles (nDuplicateParticles/nTrueParticles) = 0.99
12:23:01 CKFPerforman INFO Wrote performance plots to '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/performance_ckf.root:/'
12:23:01 RootTrajecto INFO Wrote states of trajectories to tree 'trackstates' in 'trackstates'
12:23:01 RootTrajecto INFO Wrote parameters of trajectories to tree 'tracksummary' in '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/tracksummary_ambi.root'
12:23:01 CKFPerforman INFO Efficiency with tracks (nMatchedTracks/ nAllTracks) = 1
12:23:01 CKFPerforman INFO Fake rate with tracks (nFakeTracks/nAllTracks) = 0
12:23:01 CKFPerforman INFO Duplicate rate with tracks (nDuplicateTracks/nAllTracks) = 0
12:23:01 CKFPerforman INFO Efficiency with particles (nMatchedParticles/nTrueParticles) = 0.995
12:23:01 CKFPerforman INFO Fake rate with particles (nFakeParticles/nTrueParticles) = 0
12:23:01 CKFPerforman INFO Duplicate rate with particles (nDuplicateParticles/nTrueParticles) = 0
12:23:01 CKFPerforman INFO Wrote performance plots to '/afs/cern.ch/work/c/cvarni/public/ACTS/RunningLxplus/itk_output/performance_ambi.root:/'
12:23:01 Sequencer INFO Processed 100 events in 1.761359 s (wall clock)
12:23:01 Sequencer INFO Average time per event: 317.973619 ms/event
```
Locally:
```console
12:50:55 TrackFinding INFO TrackFindingAlgorithm statistics:
12:50:55 TrackFinding INFO - total seeds: 2219
12:50:55 TrackFinding INFO - failed seeds: 0
12:50:55 TrackFinding INFO - failure ratio: 0
12:50:55 RootParticle INFO Wrote particles to tree 'particles' in '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/fatras_particles_final.root'
12:50:55 RootParticle INFO Wrote particles to tree 'particles' in '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/fatras_particles_initial.root'
12:50:55 SeedingPerfo INFO Efficiency (nMatchedParticles / nAllParticles) = 0.995
12:50:55 SeedingPerfo INFO Fake rate (nUnMatchedSeeds / nAllSeeds) = 0
12:50:55 SeedingPerfo INFO Duplication rate (nDuplicatedMatchedParticles / nMatchedParticles) = 1
12:50:55 SeedingPerfo INFO Average number of duplicated seeds ((nMatchedSeeds - nMatchedParticles) / nMatchedParticles) = 10.1508
12:50:55 SeedingPerfo INFO Wrote performance plots to '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/performance_seeding_hists.root:/'
12:50:55 RootTrackPar INFO Wrote estimated parameters from seed to tree 'estimatedparams' in '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/estimatedparams.root'
12:50:55 RootTrajecto INFO Wrote states of trajectories to tree 'trackstates' in 'trackstates'
12:50:55 RootTrajecto INFO Wrote parameters of trajectories to tree 'tracksummary' in '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/tracksummary_ckf.root'
12:50:55 CKFPerforman INFO Efficiency with tracks (nMatchedTracks/ nAllTracks) = 1
12:50:55 CKFPerforman INFO Fake rate with tracks (nFakeTracks/nAllTracks) = 0
12:50:55 CKFPerforman INFO Duplicate rate with tracks (nDuplicateTracks/nAllTracks) = 0.90971
12:50:55 CKFPerforman INFO Efficiency with particles (nMatchedParticles/nTrueParticles) = 0.995
12:50:55 CKFPerforman INFO Fake rate with particles (nFakeParticles/nTrueParticles) = 0
12:50:55 CKFPerforman INFO Duplicate rate with particles (nDuplicateParticles/nTrueParticles) = 0.99
12:50:55 CKFPerforman INFO Wrote performance plots to '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/performance_ckf.root:/'
12:50:55 RootTrajecto INFO Wrote states of trajectories to tree 'trackstates' in 'trackstates'
12:50:55 RootTrajecto INFO Wrote parameters of trajectories to tree 'tracksummary' in '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/tracksummary_ambi.root'
12:50:55 CKFPerforman INFO Efficiency with tracks (nMatchedTracks/ nAllTracks) = 1
12:50:55 CKFPerforman INFO Fake rate with tracks (nFakeTracks/nAllTracks) = 0
12:50:55 CKFPerforman INFO Duplicate rate with tracks (nDuplicateTracks/nAllTracks) = 0
12:50:55 CKFPerforman INFO Efficiency with particles (nMatchedParticles/nTrueParticles) = 0.995
12:50:55 CKFPerforman INFO Fake rate with particles (nFakeParticles/nTrueParticles) = 0
12:50:55 CKFPerforman INFO Duplicate rate with particles (nDuplicateParticles/nTrueParticles) = 0
12:50:55 CKFPerforman INFO Wrote performance plots to '/Users/carlovarni/Desktop/RunningSeedLocally/itk_output/performance_ambi.root:/'
12:50:55 Sequencer INFO Processed 100 events in 1.008129 s (wall clock)
12:50:55 Sequencer INFO Average time per event: 59.768961 ms/event
```
html files with physmon plots on the produced files can be found on:
- performance_seeding_hists.root -> https://cvarni.web.cern.ch/ActsArtTest/acts_local_lxplus/seed_hist.html
- performance_ckf.root -> https://cvarni.web.cern.ch/ActsArtTest/acts_local_lxplus/ckf.html
- performance_ambi.root -> https://cvarni.web.cern.ch/ActsArtTest/acts_local_lxplus/ambi.html
For running on lxplus I'm sourcing https://github.com/acts-project/acts/blob/main/CI/setup_cvmfs_lcg.sh
What can cause these differences in the outputs?
/cc @paulgessinger
Contributor guide
Assessment
This issue has not been assessed yet.