Skip to content

Commit

Permalink
lkasdll
Browse files Browse the repository at this point in the history
  • Loading branch information
f3sch committed Apr 20, 2024
1 parent 8a00d81 commit 176be31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions Detectors/GlobalTracking/src/MatchTPCITS.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ void MatchTPCITS::init()
#endif

if (mParams->runAfterBurner) { // only used in AfterBurner
mRGHelper.init(); // prepare helper for TPC track / ITS clusters matching
mRGHelper.init(); // prepare helper for TPC track / ITS clusters matching
}

clear();
Expand Down Expand Up @@ -1393,16 +1393,23 @@ void MatchTPCITS::refitWinners(pmr::vector<o2::dataformats::TrackTPCITS>& matche
LOG(debug) << "Refitting winner matches";
mWinnerChi2Refit.resize(mITSWork.size(), -1.f);
int nToFit = (int)tpcToFit.size();
unsigned int nFailedRefit{0};

#ifdef WITH_OPENMP
#pragma omp parallel for schedule(dynamic) num_threads(mNThreads)
#pragma omp parallel for schedule(dynamic) num_threads(mNThreads) \
reduction(+ \
: nFailedRefit)
#endif
for (int ifit = 0; ifit < nToFit; ifit++) {
int iTPC = tpcToFit[ifit], iITS;
const auto& tTPC = mTPCWork[iTPC];
if (refitTrackTPCITS(ifit, iTPC, iITS, matchedTracks, matchLabels, calib)) {
mWinnerChi2Refit[iITS] = matchedTracks.back().getChi2Refit();
} else {
++nFailedRefit;
}
}
LOGP(info, "Failed {} TPC-ITS refits out of {}", nFailedRefit, nToFit);

// suppress tracks failed on refit and fill calib/debug data (if needed)
int last = nToFit;
Expand Down
4 changes: 2 additions & 2 deletions Detectors/Upgrades/ITS3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This just caches the ccdb object to reduce calls in case we are testing.

```bash
export IGNORE_VALIDITYCHECK_OF_CCDB_LOCALCACHE=1
export ALICEO2_CCDB_LOCALCACHE=$PWD/ccdb
export ALICEO2_CCDB_LOCALCACHE=${PWD}/ccdb
```

Simulate diamond
Expand Down Expand Up @@ -88,7 +88,7 @@ o2-sim -g pythia8pp -j10 -m PIPE IT3 --run 303901 -n10
```bash
# Create Full Geometry
o2-sim --withIT3 --run 303901 -n0
o2-sim --withIT3 --run 303901 -n0 --field ccdb
cp o2sim_geometry.root ${ALICEO2_CCDB_LOCALCACHE}/GLO/Config/Geometry/snapshot.root
o2-create-aligned-geometry-workflow -b --configKeyValues "HBFUtils.startTime=1547978230000" --condition-remap="file://${ALICEO2_CCDB_LOCALCACHE}=GLO/Config/Geometry"
cp o2sim_geometry-aligned.root ${ALICEO2_CCDB_LOCALCACHE}/GLO/Config/GeometryAligned/snapshot.root
Expand Down

0 comments on commit 176be31

Please sign in to comment.