Skip to content

Commit cd8bddb

Browse files
chiarazampollishahor02
authored andcommitted
Failures of the CI
1 parent d986cae commit cd8bddb

File tree

3 files changed

+48
-42
lines changed

3 files changed

+48
-42
lines changed

Detectors/GlobalTracking/CMakeLists.txt

Lines changed: 41 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -10,44 +10,47 @@
1010
# or submit itself to any jurisdiction.
1111

1212
o2_add_library(GlobalTracking
13-
TARGETVARNAME targetName
14-
SOURCES src/MatchTPCITS.cxx
15-
src/MatchTOF.cxx
16-
src/MatchTPCITSParams.cxx
17-
src/MatchCosmics.cxx
18-
src/MatchCosmicsParams.cxx
19-
src/MatchGlobalFwd.cxx
20-
src/MatchITSTPCQC.cxx
21-
src/ITSTPCMatchingQCParams.cxx
22-
PUBLIC_LINK_LIBRARIES
23-
O2::Framework
24-
O2::DataFormatsTPC
25-
O2::DataFormatsITSMFT
26-
O2::DataFormatsITS
27-
O2::DataFormatsFT0
28-
O2::DataFormatsTOF
29-
O2::DataFormatsTRD
30-
O2::ITSReconstruction
31-
O2::FT0Reconstruction
32-
O2::TPCFastTransformation
33-
O2::GPUO2Interface
34-
O2::TPCBase
35-
O2::TPCReconstruction
36-
O2::TOFBase
37-
O2::TOFCalibration
38-
O2::TOFWorkflowUtils
39-
O2::SimConfig
40-
O2::DataFormatsFT0
41-
O2::DataFormatsGlobalTracking
42-
O2::ITStracking
43-
O2::MFTTracking
44-
O2::MCHTracking
45-
O2::MathUtils
46-
O2::ReconstructionDataFormats)
47-
o2_target_root_dictionary(
48-
GlobalTracking
49-
HEADERS include/GlobalTracking/MatchTPCITSParams.h include/GlobalTracking/MatchGlobalFwd.h
50-
include/GlobalTracking/MatchTOF.h include/GlobalTracking/MatchCosmics.h include/GlobalTracking/MatchCosmicsParams.h include/GlobalTracking/MatchITSTPCQC.h include/GlobalTracking/ITSTPCMatchingQCParams.h)
13+
TARGETVARNAME targetName
14+
SOURCES src/MatchTPCITS.cxx
15+
src/MatchTOF.cxx
16+
src/MatchTPCITSParams.cxx
17+
src/MatchCosmics.cxx
18+
src/MatchCosmicsParams.cxx
19+
src/MatchGlobalFwd.cxx
20+
src/MatchITSTPCQC.cxx
21+
src/ITSTPCMatchingQCParams.cxx
22+
PUBLIC_LINK_LIBRARIES O2::Framework
23+
O2::DataFormatsTPC
24+
O2::DataFormatsITSMFT
25+
O2::DataFormatsITS
26+
O2::DataFormatsFT0
27+
O2::DataFormatsTOF
28+
O2::DataFormatsTRD
29+
O2::ITSReconstruction
30+
O2::FT0Reconstruction
31+
O2::TPCFastTransformation
32+
O2::GPUO2Interface
33+
O2::TPCBase
34+
O2::TPCReconstruction
35+
O2::TOFBase
36+
O2::TOFCalibration
37+
O2::TOFWorkflowUtils
38+
O2::SimConfig
39+
O2::DataFormatsFT0
40+
O2::DataFormatsGlobalTracking
41+
O2::ITStracking
42+
O2::MFTTracking
43+
O2::MCHTracking
44+
O2::MathUtils
45+
O2::ReconstructionDataFormats)
46+
o2_target_root_dictionary(GlobalTracking
47+
HEADERS include/GlobalTracking/MatchTPCITSParams.h
48+
include/GlobalTracking/MatchGlobalFwd.h
49+
include/GlobalTracking/MatchTOF.h
50+
include/GlobalTracking/MatchCosmics.h
51+
include/GlobalTracking/MatchCosmicsParams.h
52+
include/GlobalTracking/MatchITSTPCQC.h
53+
include/GlobalTracking/ITSTPCMatchingQCParams.h)
5154

5255

5356
if (OpenMP_CXX_FOUND)

Detectors/GlobalTracking/src/MatchITSTPCQC.cxx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,15 @@ void MatchITSTPCQC::run(o2::framework::ProcessingContext& ctx)
122122
bool MatchITSTPCQC::selectTrack(o2::tpc::TrackTPC const& track)
123123
{
124124

125-
if (track.getPt() < mPtCut)
125+
if (track.getPt() < mPtCut) {
126126
return false;
127-
if (std::abs(track.getEta()) > mEtaCut)
127+
}
128+
if (std::abs(track.getEta()) > mEtaCut) {
128129
return false;
129-
if (track.getNClusters() < mNTPCClustersCut)
130+
}
131+
if (track.getNClusters() < mNTPCClustersCut) {
130132
return false;
133+
}
131134

132135
math_utils::Point3D<float> v{};
133136
std::array<float, 2> dca;

Detectors/GlobalTrackingWorkflow/qc/src/ITSTPCMatchingQCSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void ITSTPCMatchingQCDevice::sendOutput(DataAllocator& output)
7171
output.snapshot(Output{"GLO", "ITSTPCMATCHQC_1D", 0, Lifetime::Timeframe}, objarTH1F);
7272
output.snapshot(Output{"GLO", "ITSTPCMATCHQC_2D", 0, Lifetime::Timeframe}, objarTH2F);
7373

74-
TFile* f = new TFile(Form("outITSTPCmatchingQC_%d.root"), "RECREATE");
74+
TFile* f = new TFile(Form("outITSTPCmatchingQC.root"), "RECREATE");
7575
objarTH1F.Write("ObjArray_TH1F", TObject::kSingleKey);
7676
objarTH2F.Write("ObjArray_TH2F", TObject::kSingleKey);
7777
f->Close();

0 commit comments

Comments
 (0)