Skip to content

Commit ab28e26

Browse files
authored
Please consider the following formatting changes to #12220 (#12221)
1 parent 52fe753 commit ab28e26

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

PWGLF/DataModel/LFSlimHeLambda.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include "Framework/ASoAHelpers.h"
2121
#include "Framework/AnalysisDataModel.h"
22+
2223
#include <Math/Vector4D.h>
2324

2425
namespace o2::aod
@@ -78,5 +79,4 @@ struct lambdaCandidate {
7879
int8_t sign; // Charge sign of the Lambda candidate
7980
};
8081

81-
8282
#endif // PWGLF_DATAMODEL_LFSLIMNUCLEITABLES_H_

PWGLF/TableProducer/Nuspex/he3LambdaAnalysis.cxx

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

12+
#include "PWGLF/DataModel/LFSlimHeLambda.h"
13+
1214
#include "Common/Core/trackUtilities.h"
1315
#include "Common/DataModel/Centrality.h"
1416
#include "Common/DataModel/EventSelection.h"
1517
#include "Common/DataModel/PIDResponseITS.h"
1618
#include "Common/DataModel/PIDResponseTPC.h"
1719
#include "EventFiltering/Zorro.h"
1820
#include "EventFiltering/ZorroSummary.h"
19-
#include "PWGLF/DataModel/LFSlimHeLambda.h"
2021

2122
#include <CCDB/BasicCCDBManager.h>
2223
#include <DCAFitter/DCAFitterN.h>
@@ -47,7 +48,6 @@ using namespace o2::framework;
4748
using namespace o2::framework::expressions;
4849
using namespace o2::constants::physics;
4950

50-
5151
namespace
5252
{
5353
constexpr double betheBlochDefault[1][6]{{-1.e32, -1.e32, -1.e32, -1.e32, -1.e32, -1.e32}};

PWGLF/Tasks/Nuspex/he3LambdaDerivedAnalysis.cxx

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,27 @@
1111

1212
#include "PWGLF/DataModel/LFSlimHeLambda.h"
1313

14-
#include <Framework/AnalysisTask.h>
1514
#include <Framework/ASoAHelpers.h>
15+
#include <Framework/AnalysisTask.h>
1616
#include <Framework/HistogramRegistry.h>
1717
#include <Framework/runDataProcessing.h>
1818

1919
#include <Math/Vector4D.h>
2020

2121
#include <memory>
2222

23-
namespace {
24-
std::shared_ptr<TH2> hInvariantMassUS[2];
25-
std::shared_ptr<TH2> hInvariantMassLS[2];
26-
std::shared_ptr<TH2> hRotationInvariantMassUS[2];
27-
std::shared_ptr<TH2> hRotationInvariantMassLS[2];
28-
std::shared_ptr<TH2> hRotationInvariantMassAntiLSeta[2];
29-
std::shared_ptr<TH2> hInvariantMassLambda[2];
30-
std::shared_ptr<TH2> hCosPALambda;
31-
std::shared_ptr<TH2> hNsigmaHe3;
32-
std::shared_ptr<TH2> hNsigmaProton;
33-
};
23+
namespace
24+
{
25+
std::shared_ptr<TH2> hInvariantMassUS[2];
26+
std::shared_ptr<TH2> hInvariantMassLS[2];
27+
std::shared_ptr<TH2> hRotationInvariantMassUS[2];
28+
std::shared_ptr<TH2> hRotationInvariantMassLS[2];
29+
std::shared_ptr<TH2> hRotationInvariantMassAntiLSeta[2];
30+
std::shared_ptr<TH2> hInvariantMassLambda[2];
31+
std::shared_ptr<TH2> hCosPALambda;
32+
std::shared_ptr<TH2> hNsigmaHe3;
33+
std::shared_ptr<TH2> hNsigmaProton;
34+
}; // namespace
3435

3536
using namespace o2;
3637
using namespace o2::framework;
@@ -51,13 +52,12 @@ struct he3LambdaDerivedAnalysis {
5152
{
5253
constexpr double ConstituentsMass = o2::constants::physics::MassProton + o2::constants::physics::MassNeutron * 2 + o2::constants::physics::MassSigmaPlus;
5354
for (int i = 0; i < 2; ++i) {
54-
hInvariantMassUS[i] = mRegistry.add<TH2>(Form("hInvariantMassUS%i",i), "Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
55-
hInvariantMassLS[i] = mRegistry.add<TH2>(Form("hInvariantMassLS%i",i), "Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
56-
hRotationInvariantMassUS[i] = mRegistry.add<TH2>(Form("hRotationInvariantMassUS%i",i), "Rotation Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
57-
hRotationInvariantMassLS[i] = mRegistry.add<TH2>(Form("hRotationInvariantMassLS%i",i), "Rotation Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
58-
hInvariantMassLambda[i] = mRegistry.add<TH2>(Form("hInvariantMassLambda%i",i), "Invariant Mass Lambda", {HistType::kTH2D, {{50, 0., 10.}, {30, o2::constants::physics::MassLambda0 - 0.015, o2::constants::physics::MassLambda0 + 0.015}}});
59-
hRotationInvariantMassAntiLSeta[i] = mRegistry.add<TH2>(Form("hRotationInvariantMassAntiLSeta%i",i), "Rotation Invariant Mass Anti-Lambda", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
60-
55+
hInvariantMassUS[i] = mRegistry.add<TH2>(Form("hInvariantMassUS%i", i), "Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
56+
hInvariantMassLS[i] = mRegistry.add<TH2>(Form("hInvariantMassLS%i", i), "Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
57+
hRotationInvariantMassUS[i] = mRegistry.add<TH2>(Form("hRotationInvariantMassUS%i", i), "Rotation Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
58+
hRotationInvariantMassLS[i] = mRegistry.add<TH2>(Form("hRotationInvariantMassLS%i", i), "Rotation Invariant Mass", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
59+
hInvariantMassLambda[i] = mRegistry.add<TH2>(Form("hInvariantMassLambda%i", i), "Invariant Mass Lambda", {HistType::kTH2D, {{50, 0., 10.}, {30, o2::constants::physics::MassLambda0 - 0.015, o2::constants::physics::MassLambda0 + 0.015}}});
60+
hRotationInvariantMassAntiLSeta[i] = mRegistry.add<TH2>(Form("hRotationInvariantMassAntiLSeta%i", i), "Rotation Invariant Mass Anti-Lambda", {HistType::kTH2D, {{45, 1., 10}, {100, ConstituentsMass - 0.05, ConstituentsMass + 0.05}}});
6161
}
6262
hCosPALambda = mRegistry.add<TH2>("hCosPALambda", "Cosine of Pointing Angle for Lambda", {HistType::kTH2D, {{50, 0., 10.}, {500, 0.9, 1.}}});
6363
hNsigmaHe3 = mRegistry.add<TH2>("hNsigmaHe3", "nSigma TPC for He3", {HistType::kTH2D, {{100, -10., 10.}, {200, -5, 5.}}});
@@ -128,7 +128,6 @@ struct he3LambdaDerivedAnalysis {
128128
}
129129
}
130130
}
131-
132131
}
133132
}
134133
PROCESS_SWITCH(he3LambdaDerivedAnalysis, processSameEvent, "Process same event", true);

0 commit comments

Comments
 (0)