Skip to content

Commit 05c214e

Browse files
authored
Merge branch 'AliceO2Group:master' into SPC-nonflow-optimal
2 parents 91e561c + 0a241e6 commit 05c214e

57 files changed

Lines changed: 220 additions & 168 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Common/CCDB/AnalysisCCDBLinkDef.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
///
1515
/// \author Evgeny Kryshen <evgeny.kryshen@cern.ch>
1616

17-
#ifndef COMMON_CCDB_ANALYSISCCDBLINKDEF_H_
18-
#define COMMON_CCDB_ANALYSISCCDBLINKDEF_H_
17+
// NOLINT(build/header_guard)
1918

2019
#pragma link off all globals;
2120
#pragma link off all classes;
@@ -24,5 +23,3 @@
2423
#pragma link C++ class EventSelectionParams + ;
2524
#pragma link C++ class TriggerAliases + ;
2625
#pragma link C++ class std::map < uint64_t, uint32_t> + ;
27-
28-
#endif // COMMON_CCDB_ANALYSISCCDBLINKDEF_H_

‎Common/Core/AnalysisCoreLinkDef.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#ifndef COMMON_CORE_ANALYSISCORELINKDEF_H_
13-
#define COMMON_CORE_ANALYSISCORELINKDEF_H_
12+
// NOLINT(build/header_guard)
1413

1514
#pragma link off all globals;
1615
#pragma link off all classes;
@@ -25,5 +24,3 @@
2524
#pragma link C++ class o2::pid::tpc::Response + ;
2625

2726
#pragma link C++ class OrbitRange + ;
28-
29-
#endif // COMMON_CORE_ANALYSISCORELINKDEF_H_

‎Common/Core/EventFilteringUtilsLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎Common/Core/FFitWeightsLinkDef.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
///
1515
/// \author Joachim C. K. B. Hansen
1616

17-
#ifndef COMMON_CORE_FFITWEIGHTSLINKDEF_H_
18-
#define COMMON_CORE_FFITWEIGHTSLINKDEF_H_
17+
// NOLINT(build/header_guard)
1918

2019
#pragma link C++ class FFitWeights + ;
21-
22-
#endif // COMMON_CORE_FFITWEIGHTSLINKDEF_H_

‎Common/DataModel/Centrality.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,22 @@ using BCCentFT0C = BCCentFT0Cs::iterator;
100100

101101
template <typename T>
102102
concept HasRun2Centrality = requires(T&& t) {
103+
// NOLINTBEGIN(readability/braces)
103104
{ t.centRun2V0M() };
104105
{ t.centRun2CL0() };
105106
{ t.centRun2CL1() };
107+
// NOLINTEND(readability/braces)
106108
};
107109

108110
template <typename T>
109111
concept HasCentrality = requires(T&& t) {
112+
// NOLINTBEGIN(readability/braces)
110113
{ t.centFV0A() };
111114
{ t.centFT0M() };
112115
{ t.centFT0A() };
113116
{ t.centFT0C() };
114117
{ t.centNTPV() };
118+
// NOLINTEND(readability/braces)
115119
};
116120

117121
} // namespace o2::aod

‎Common/TableProducer/propagationServiceV2.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
#include <DetectorsBase/Propagator.h>
3838
#include <Framework/ASoA.h>
3939
#include <Framework/AnalysisDataModel.h>
40-
#include <Framework/AnalysisHelpers.h>
4140
#include <Framework/AnalysisTask.h>
41+
#include <Framework/Configurable.h>
4242
#include <Framework/HistogramRegistry.h>
4343
#include <Framework/InitContext.h>
4444
#include <Framework/runDataProcessing.h>

‎Common/Tools/Multiplicity/multToolsLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎Common/Tools/trackSelectionRequestLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎DPG/Tasks/AOTEvent/detectorOccupancyQa.cxx‎

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,6 @@ struct DetectorOccupancyQaTask {
10871087
// July 2025: more for data vs MC:
10881088
if (track.hasTPC() && occupancy >= 0 && confAddBasicQAhistos) {
10891089
float pt = track.pt();
1090-
// pt 0.2-0.5
10911090
if (pt > 0.2 && pt < 0.5) {
10921091
if (nPV >= 10 && nPV < 400) {
10931092
histos.fill(HIST("QA_noTPCcuts/nPV_10_200/tpcNClsFindable_vs_occup_pt_02_05"), track.tpcNClsFindable(), occupancy);
@@ -1098,9 +1097,7 @@ struct DetectorOccupancyQaTask {
10981097
histos.fill(HIST("QA_noTPCcuts/nPV_above2000/tpcNClsFound_vs_occup_pt_02_05"), track.tpcNClsFound(), occupancy);
10991098
histos.fill(HIST("QA_noTPCcuts/nPV_above2000/tpcChi2NCl_vs_occup_pt_02_05"), track.tpcChi2NCl(), occupancy);
11001099
}
1101-
}
1102-
// pt 0.5-1.0
1103-
else if (pt > 0.5 && pt < 1.0) {
1100+
} else if (pt > 0.5 && pt < 1.0) {
11041101
if (nPV >= 10 && nPV < 400) {
11051102
histos.fill(HIST("QA_noTPCcuts/nPV_10_200/tpcNClsFindable_vs_occup_pt_05_10"), track.tpcNClsFindable(), occupancy);
11061103
histos.fill(HIST("QA_noTPCcuts/nPV_10_200/tpcNClsFound_vs_occup_pt_05_10"), track.tpcNClsFound(), occupancy);
@@ -1110,9 +1107,7 @@ struct DetectorOccupancyQaTask {
11101107
histos.fill(HIST("QA_noTPCcuts/nPV_above2000/tpcNClsFound_vs_occup_pt_05_10"), track.tpcNClsFound(), occupancy);
11111108
histos.fill(HIST("QA_noTPCcuts/nPV_above2000/tpcChi2NCl_vs_occup_pt_05_10"), track.tpcChi2NCl(), occupancy);
11121109
}
1113-
}
1114-
// pt > 1.0
1115-
else if (pt > 1.0) {
1110+
} else if (pt > 1.0) {
11161111
if (nPV >= 10 && nPV < 400) {
11171112
histos.fill(HIST("QA_noTPCcuts/nPV_10_200/tpcNClsFindable_vs_occup_pt_above1_0"), track.tpcNClsFindable(), occupancy);
11181113
histos.fill(HIST("QA_noTPCcuts/nPV_10_200/tpcNClsFound_vs_occup_pt_above1_0"), track.tpcNClsFound(), occupancy);
@@ -1383,8 +1378,8 @@ struct DetectorOccupancyQaTask {
13831378
int tpcNClsFound = track.tpcNClsFound();
13841379
int tpcNClsCrossedRows = track.tpcNClsCrossedRows();
13851380

1386-
if (sign > 0) // positive tracks
1387-
{
1381+
if (sign > 0) {
1382+
// positive tracks
13881383
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPt_pos"), pt, occupancy);
13891384
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hEta_pos"), eta, occupancy);
13901385
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPhi_pos"), phi, occupancy, pt);
@@ -1401,8 +1396,8 @@ struct DetectorOccupancyQaTask {
14011396
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/QA_tpcNClsFound_pos"), tpcNClsFound);
14021397
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/QA_tpcNClsCrossedRows_pos"), tpcNClsCrossedRows);
14031398
}
1404-
} else // negative tracks
1405-
{
1399+
} else {
1400+
// negative tracks
14061401
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPt_neg"), pt, occupancy);
14071402
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hEta_neg"), eta, occupancy);
14081403
histos.fill(HIST("track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPhi_neg"), phi, occupancy, pt);
@@ -1449,8 +1444,8 @@ struct DetectorOccupancyQaTask {
14491444
} // end of TPC good global
14501445

14511446
// July 2025: for data vs MC kine distr comparison
1452-
if (sign > 0) // positive tracks
1453-
{
1447+
if (sign > 0) {
1448+
// positive tracks
14541449
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPt_pos"), pt, occupancy);
14551450
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hEta_pos"), eta, occupancy);
14561451
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPhi_pos"), phi, occupancy, pt);
@@ -1463,8 +1458,8 @@ struct DetectorOccupancyQaTask {
14631458
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/hPhi_posModifiedQA"), phi);
14641459
}
14651460
}
1466-
} else // negative tracks
1467-
{
1461+
} else {
1462+
// negative tracks
14681463
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPt_neg"), pt, occupancy);
14691464
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hEta_neg"), eta, occupancy);
14701465
histos.fill(HIST("track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPhi_neg"), phi, occupancy, pt);

‎DPG/Tasks/AOTEvent/lightIonsEvSelQa.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,9 +991,9 @@ struct LightIonsEvSelQa {
991991

992992
// vZ diff (FT0 vs by tracks)
993993
bool badVzDiff = 0;
994-
if (confUseDiffVzCutFromEvSel)
994+
if (confUseDiffVzCutFromEvSel) {
995995
badVzDiff = !col.selection_bit(kIsGoodZvtxFT0vsPV);
996-
else { // tune by hand
996+
} else { // tune by hand
997997
float meanDiff = 0.0; // cm
998998
// O-O
999999
if (lastRunNumber == 564356)

0 commit comments

Comments
 (0)