Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add trk res in TOF match chi2 #13058

Merged
merged 2 commits into from
May 19, 2024
Merged

add trk res in TOF match chi2 #13058

merged 2 commits into from
May 19, 2024

Conversation

noferini
Copy link
Collaborator

For the moment I assumed that:

  1. trk errors are given in the sector reference system
  2. Y -> direction along phi wrt sector r.s.
  3. Z -> direction along Z (error to be projected considering strip inclination)

matchable output updated with errors info to test different matching algorithms for improvements

Note that all variables added to MatchInfoTOFReco
are stored only in matchable (debug) output (if requested). For matching standard ouput MatchInfoTOF is used

@noferini noferini requested a review from shahor02 as a code owner April 21, 2024 09:28
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass3
async-2023-pbpb-apass4
async-2022-pp-apass6-2023-PbPb-apass2
async-2022-pp-apass4
async-2022-pp-apass4-accepted
async-2022-pp-apass6-2023-PbPb-apass2-accepted
async-2023-pbpb-apass3-accepted
async-2023-pbpb-apass4-accepted

@noferini noferini changed the title [WIP] add trk res in TOF match chi2 add trk res in TOF match chi2 Apr 22, 2024
@noferini
Copy link
Collaborator Author

Hi @shahor02 ,
I was wondering if you can run again on your Pb-Pb apass3 outputs with this PR, and produce o2matchable_tof.root.
It would be very useful to start to tune matching algorithm.
Cheers,
Francesco

@shahor02
Copy link
Collaborator

@noferini shall I merge it 1st or you are still modifying it?

@noferini
Copy link
Collaborator Author

@noferini shall I merge it 1st or you are still modifying it?

@shahor02 , I would not merge it for the moment since it is still wip (I removed wip to check compilation).
If you can run it without merging is the best

@davidrohr
Copy link
Collaborator

@noferini : If you don't want it to be merged and you remove WIP, then please put something like - DO NOT MERGE in the title of the PR :).

@noferini noferini changed the title add trk res in TOF match chi2 add trk res in TOF match chi2 - DO NOT MERGE Apr 23, 2024
@shahor02
Copy link
Collaborator

@noferini https://cernbox.cern.ch/s/5U24GEsOzVPxltR is the o2matchable_tof.root for 38kHz run LHC23zzk_544508, let me know if you need other data.

@noferini
Copy link
Collaborator Author

@noferini https://cernbox.cern.ch/s/5U24GEsOzVPxltR is the o2matchable_tof.root for 38kHz run LHC23zzk_544508, let me know if you need other data.

Many thanks!
Running on it

@alibuild
Copy link
Collaborator

alibuild commented Apr 23, 2024

Error while checking build/O2/fullCI for e37249e at 2024-05-02 00:14:

## 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/o2checkcode-latest/log
--
========== List of errors found ==========
++ GRERR=0
++ grep ' error:'
++ grep -v clang-diagnostic-error error-log.txt
/sw/SOURCES/O2/13058-slc8_x86-64/0/Framework/Core/include/Framework/ASoA.h:3115:81: error: invalid use of incomplete type 'typename table_t::RowViewFiltered<Filtered<Join<aod::Tracks, aod::TracksExtra>>, TracksExtension, Table<Index<0, -1>, CollisionId, TrackType, X, Alpha, Y, Z, Snp, Tgl, Signed1Pt, IsWithinBeamPipe<X>, Px<Signed1Pt, Snp, Alpha>, Py<Signed1Pt, Snp, Alpha>, Pz<Signed1Pt, Tgl>, PVector<Signed1Pt, Snp, Alpha, Tgl>, Energy<Signed1Pt, Tgl>, Rapidity<Signed1Pt, Tgl>, Sign<Signed1Pt>, Marker<1>>, TracksExtra_001Extension, Table<TPCInnerParam, Flags, ITSClusterSizes, TPCNClsFindable, TPCNClsFindableMinusFound, TPCNClsFindableMinusCrossedRows, TPCNClsShared, TRDPattern, ITSChi2NCl, TPCChi2NCl, TRDChi2, TOFChi2, TPCSignal, TRDSignal, Length, TOFExpMom, PIDForTracking<Flags>, IsPVContributor<Flags>, HasITS<DetectorMap>, HasTPC<DetectorMap>, HasTRD<DetectorMap>, HasTOF<DetectorMap>, TPCNClsFound<TPCNClsFindable, TPCNClsFindableMinusFound>, TPCNClsCrossedRows<TPCNClsFindable, TPCNClsFindableMinusCrossedRows>, ITSClusterMap<ITSClusterSizes>, ITSNCls<ITSClusterSizes>, ITSNClsInnerBarrel<ITSClusterSizes>, ITSClsSizeInLayer<ITSClusterSizes>, TPCCrossedRowsOverFindableCls<TPCNClsFindable, TPCNClsFindableMinusCrossedRows>, TPCFoundOverFindableCls<TPCNClsFindable, TPCNClsFindableMinusFound>, TPCFractionSharedCls<TPCNClsShared, TPCNClsFindable, TPCNClsFindableMinusFound>, TrackEtaEMCAL, TrackPhiEMCAL, TrackTime, TrackTimeRes>>' (aka 'RowViewBase<o2::soa::FilteredIndexPolicy, o2::soa::Filtered<o2::soa::Join<aod::Tracks, aod::TracksExtra>>, o2::aod::TracksExtension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::track::CollisionId, o2::aod::track::TrackType, o2::aod::track::X, o2::aod::track::Alpha, o2::aod::track::Y, o2::aod::track::Z, o2::aod::track::Snp, o2::aod::track::Tgl, o2::aod::track::Signed1Pt, o2::aod::track::IsWithinBeamPipe<o2::aod::track::X>, o2::aod::track::Px<o2::aod::track::Signed1Pt, o2::aod::track::Snp, o2::aod::track::Alpha>, o2::aod::track::Py<o2::aod::track::Signed1Pt, o2::aod::track::Snp, o2::aod::track::Alpha>, o2::aod::track::Pz<o2::aod::track::Signed1Pt, o2::aod::track::Tgl>, o2::aod::track::PVector<o2::aod::track::Signed1Pt, o2::aod::track::Snp, o2::aod::track::Alpha, o2::aod::track::Tgl>, o2::aod::track::Energy<o2::aod::track::Signed1Pt, o2::aod::track::Tgl>, o2::aod::track::Rapidity<o2::aod::track::Signed1Pt, o2::aod::track::Tgl>, o2::aod::track::Sign<o2::aod::track::Signed1Pt>, o2::soa::Marker<1>>, o2::aod::TracksExtra_001Extension, o2::soa::Table<o2::aod::track::TPCInnerParam, o2::aod::track::Flags, o2::aod::track::ITSClusterSizes, o2::aod::track::TPCNClsFindable, o2::aod::track::TPCNClsFindableMinusFound, o2::aod::track::TPCNClsFindableMinusCrossedRows, o2::aod::track::TPCNClsShared, o2::aod::track::TRDPattern, o2::aod::track::ITSChi2NCl, o2::aod::track::TPCChi2NCl, o2::aod::track::TRDChi2, o2::aod::track::TOFChi2, o2::aod::track::TPCSignal, o2::aod::track::TRDSignal, o2::aod::track::Length, o2::aod::track::TOFExpMom, o2::aod::track::PIDForTracking<o2::aod::track::Flags>, o2::aod::track::IsPVContributor<o2::aod::track::Flags>, o2::aod::track::HasITS<o2::aod::track::v001::DetectorMap>, o2::aod::track::HasTPC<o2::aod::track::v001::DetectorMap>, o2::aod::track::HasTRD<o2::aod::track::v001::DetectorMap>, o2::aod::track::HasTOF<o2::aod::track::v001::DetectorMap>, o2::aod::track::TPCNClsFound<o2::aod::track::TPCNClsFindable, o2::aod::track::TPCNClsFindableMinusFound>, o2::aod::track::TPCNClsCrossedRows<o2::aod::track::TPCNClsFindable, o2::aod::track::TPCNClsFindableMinusCrossedRows>, o2::aod::track::v001::ITSClusterMap<o2::aod::track::ITSClusterSizes>, o2::aod::track::v001::ITSNCls<o2::aod::track::ITSClusterSizes>, o2::aod::track::v001::ITSNClsInnerBarrel<o2::aod::track::ITSClusterSizes>, o2::aod::track::v001::ITSClsSizeInLayer<o2::aod::track::ITSClusterSizes>, o2::aod::track::TPCCrossedRowsOverFindableCls<o2::aod::track::TPCNClsFindable, o2::aod::track::TPCNClsFindableMinusCrossedRows>, o2::aod::track::TPCFoundOverFindableCls<o2::aod::track::TPCNClsFindable, o2::aod::track::TPCNClsFindableMinusFound/sw/SOURCES/O2/13058-slc8_x86-64/0/Framework/Core/include/Framework/ASoA.h:1401:114: note: in instantiation of template class 'o2::soa::Filtered<o2::soa::Join<o2::aod::TracksCovIUExtension, o2::soa::Table<o2::aod::track::SigmaY, o2::aod::track::SigmaZ, o2::aod::track::SigmaSnp, o2::aod::track::SigmaTgl, o2::aod::track::Sigma1Pt, o2::aod::track::RhoZY, o2::aod::track::RhoSnpY, o2::aod::track::RhoSnpZ, o2::aod::track::RhoTglY, o2::aod::track::RhoTglZ, o2::aod::track::RhoTglSnp, o2::aod::track::Rho1PtY, o2::aod::track::Rho1PtZ, o2::aod::track::Rho1PtSnp, o2::aod::track::Rho1PtTgl, o2::soa::Marker<2>>>>' requested here
++ [[ 0 == 0 ]]
++ exit 1
--

Full log here.

@noferini noferini force-pushed the dev branch 2 times, most recently from bd7749a to d9f2e2c Compare May 7, 2024 12:23
@alibuild
Copy link
Collaborator

alibuild commented May 7, 2024

Error while checking build/O2/fullCI for bd7749a at 2024-05-07 14:49:

## sw/BUILD/O2-latest/log
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1055:78: error: '__gnu_cxx::__alloc_traits<std::allocator<o2::dataformats::MatchInfoTOFReco>, o2::dataformats::MatchInfoTOFReco>::value_type' {aka 'class o2::dataformats::MatchInfoTOFReco'} has no member named 'setVz2'; did you mean 'setVz'?
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1396:233: error: 'deltat' was not declared in this scope
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1401:110: error: 'Zshift' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@alibuild
Copy link
Collaborator

alibuild commented May 7, 2024

Error while checking build/O2/fullCI for d9f2e2c at 2024-05-07 15:20:

## sw/BUILD/O2-latest/log
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1055:79: error: '__gnu_cxx::__alloc_traits<std::allocator<o2::dataformats::MatchInfoTOFReco>, o2::dataformats::MatchInfoTOFReco>::value_type' {aka 'class o2::dataformats::MatchInfoTOFReco'} has no member named 'setVz2'; did you mean 'setVz'?
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1396:233: error: 'deltat' was not declared in this scope
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1401:111: error: 'Zshift' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@alibuild
Copy link
Collaborator

alibuild commented May 7, 2024

Error while checking build/O2/fullCI for 1969664 at 2024-05-07 17:55:

## sw/BUILD/O2-latest/log
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
c++: error: unrecognized command-line option '--rtlib=compiler-rt'
/sw/SOURCES/O2/13058-slc8_x86-64/0/Detectors/GlobalTracking/src/MatchTOF.cxx:1400:233: error: 'deltat' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@noferini noferini force-pushed the dev branch 2 times, most recently from 1905aa5 to ddf7edd Compare May 13, 2024 19:28
@noferini noferini changed the title add trk res in TOF match chi2 - DO NOT MERGE add trk res in TOF match chi2 May 13, 2024
@noferini
Copy link
Collaborator Author

I think we can start the review.

Note that in BestMatches I added the possibility (for constrained tracks) to match up to 2 clusters in different strips if times are within 200 ps.
In that case (4% of the cases, estimated in pp) time is returned as the average of the two (the second one corrected for the difference in the track length). Such cases are flagged as chi2=0

immagine

@noferini noferini added the async-2023-pbpb-apass4 Request porting to async-2023-pbpb-apass4 label May 15, 2024
@noferini
Copy link
Collaborator Author

All done from my side.
One check (macos) failing due to a git error not related to this PR.
Cheers,
Francesco

@shahor02
Copy link
Collaborator

Thanks @noferini , do you have some plot showing the fakes contamination with new and old method?

@noferini
Copy link
Collaborator Author

Thanks @noferini , do you have some plot showing the fakes contamination with new and old method?

In principle, the performance are the one reported in my presentation
https://indico.cern.ch/event/1406660/contributions/5912002/attachments/2851047/4985149/TOF%20Sim&Reco&QC%20-%207may24.pdf

baset on the matchable output you sent me for Pb-Pb
However, I am not able to run any test locally without a full output from reconstruction.
If you still have the full output of that Pb-Pb reconstruction (ITS,TPC tracks + tofclusters + ITSTPC matching + TRD matches + TOF matches) I can re-run the full matching and compare

@noferini
Copy link
Collaborator Author

Otherwise, I can ask Catalin to run a debug production on the GRID

@noferini
Copy link
Collaborator Author

In the meanwhile I realized that I was storing residuals as used in the new Chi2 definition.
I changed it to store original residuals since they may be needed for alignment.

@shahor02
Copy link
Collaborator

Hi @noferini
I've deleted the previous full reco and now have the one with new TPC settings AliceO2Group/O2DPG#1624, for 39 kHz run 544508 and 7kHz run 544124. But the files are too large to copy them somewhere. Shall I simply re-run the TOF matching with this PR and provide you the result of checkMatch.C ?

@noferini
Copy link
Collaborator Author

Hi @shahor02 , I prefer to use the full output to be sure that I use exactly the same code.
I've already asked @chiarazampolli and @catalinristea if we can do a small debug production on the GRID.

@shahor02
Copy link
Collaborator

Ok, so I merge it as is?

@noferini
Copy link
Collaborator Author

At this point I will wait till Monday if I manage to have a full validation on debug production

@shahor02
Copy link
Collaborator

Don't you need a tag for the grid debug production?

@noferini
Copy link
Collaborator Author

Don't you need a tag for the grid debug production?

No, once I have the full output I can re-run locally with the possibility to try different KeyParams configurations.

@alibuild
Copy link
Collaborator

Error while checking build/O2/fullCI for e1c2638 at 2024-05-19 16:05:

## 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-sim-challenge-test-latest/log
./tofMatchTracks.log[ERROR] Workflow crashed - PID 29808 (tof-matcher) did not exit correctly however it's not clear why. Exit code forced to 128.
./tofMatchTracks.log[ERROR]  - Device tof-matcher: pid 29808 (exit 128)
./tofMatchTracks.log[ERROR] SEVERE: Device tof-matcher (29808) returned with 128
./mchreco.log[18723:mch-error-writer]: [14:01:55][ERROR] Some Lifetime::Timeframe data got dropped starting at 1
./mchreco.log[18724:mch-track-writer]: [14:01:55][ERROR] Some Lifetime::Timeframe data got dropped starting at 1
./mchmidMatch.log[22740:muon-track-writer]: [14:02:49][ERROR] Some Lifetime::Timeframe data got dropped starting at 1
./sim-challenge.log[ERROR] Workflow crashed - PID 29808 (tof-matcher) did not exit correctly however it's not clear why. Exit code forced to 128.
./sim-challenge.log[ERROR]  - Device tof-matcher: pid 29808 (exit 128)
./sim-challenge.log[ERROR] SEVERE: Device tof-matcher (29808) returned with 128
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/37}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/38}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/40}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/42}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/43}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/45}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/46}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/47}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/48}
./digi.log[ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/49}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/37}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/38}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/40}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/42}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/43}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/45}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/46}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/47}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/48}
./digi.log[9739:internal-dpl-clock]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/49}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/37}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/38}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/40}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/42}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/43}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/45}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/46}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/47}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/48}
./digi.log[9757:SimReader]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/49}
./digi.log[9762:internal-dpl-ccdb-backend]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/37}
./digi.log[9762:internal-dpl-ccdb-backend]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/38}
./digi.log[9762:internal-dpl-ccdb-backend]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/40}
./digi.log[9762:internal-dpl-ccdb-backend]: [ERROR] Found duplicate input binding with different spec.:collisioncontext {SIM/COLLISIONCONTEXT/42}
[0 more errors; see full log]

Full log here.

@noferini
Copy link
Collaborator Author

So far I managed to check ITS-TPC matching in Pb-Pb apass2 (debug prods).
run: 544124 (at start of run) -> IR = 8.5 kHz
I used ITS-TPC tracks since at that time there was a in issue with TRD fixed before of apass3.
source: o2match_tof_itstpc.root using different matching algorithms
This is an example how the mismatch (dotted lines) is extracted by fitting t-texp for different cases (fit works very well)

immagine

@noferini
Copy link
Collaborator Author

noferini commented May 19, 2024

0.2 < p_{T} < 0.5 GeV/c
#chi^{2} < 10: mism = 69%
Res < 10 cm: mism = 81%
#chi^{2} < 5: mism = 66%
Res < 3 cm: mism = 61%
#chi^{2} < 3: mism = 63%

0.5 < p_{T} < 0.8 GeV/c
#chi^{2} < 10: mism = 54%
Res < 10 cm: mism = 60%
#chi^{2} < 5: mism = 50%
Res < 3 cm: mism = 40%
#chi^{2} < 3: mism = 47%

0.8 < p_{T} < 1.0 GeV/c
#chi^{2} < 10: mism = 37%
Res < 10 cm: mism = 47%
#chi^{2} < 5: mism = 33%
Res < 3 cm: mism = 24%
#chi^{2} < 3: mism = 29%

1.0 < p_{T} < 1.2 GeV/c
#chi^{2} < 10: mism = 40%
Res < 10 cm: mism = 48%
#chi^{2} < 5: mism = 35%
Res < 3 cm: mism = 22%
#chi^{2} < 3: mism = 31%

1.2 < p_{T} < 1.5 GeV/c
#chi^{2} < 10: mism = 35%
Res < 10 cm: mism = 44%
#chi^{2} < 5: mism = 29%
Res < 3 cm: mism = 19%
#chi^{2} < 3: mism = 26%

1.5 < p_{T} < 1.8 GeV/c
#chi^{2} < 10: mism = 29%
Res < 10 cm: mism = 36%
#chi^{2} < 5: mism = 24%
Res < 3 cm: mism = 13%
#chi^{2} < 3: mism = 22%

@noferini
Copy link
Collaborator Author

noferini commented May 19, 2024

A example of the mism vs efficiency for reference

0.8 < p_{T} < 1.0 GeV/c
#chi^{2} < 10: mism = 37% -- eff = 100%
Res < 10 cm: mism = 47% -- eff = 98%
#chi^{2} < 5: mism = 33% -- eff = 95%
Res < 3 cm: mism = 24% -- eff = 71%
#chi^{2} < 3: mism = 29% -- eff = 91%

It is consistent with what already presented here
https://indico.cern.ch/event/1406660/contributions/5912002/attachments/2851047/4985149/TOF%20Sim&Reco&QC%20-%207may24.pdf

I think we can merge. In any case parameters can be tuned now via keyParams

@shahor02
Copy link
Collaborator

Thanks! Given the amount of mismatches, I think we should introduce a stricter time-difference cut, at least for apass. Anyway, merging.

@shahor02 shahor02 merged commit e952633 into AliceO2Group:dev May 19, 2024
10 of 12 checks passed
@benedikt-voelkel benedikt-voelkel added the async-2023-pbpb-apass4-accepted Ported to async-2023-pbpb-apass4 label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async-2023-pbpb-apass4-accepted Ported to async-2023-pbpb-apass4 async-2023-pbpb-apass4 Request porting to async-2023-pbpb-apass4
Development

Successfully merging this pull request may close these issues.

None yet

5 participants