Skip to content

Commit 13cb0d1

Browse files
SahaArka-unibaArkaprabha Saha
andauthored
[PWGLF] removed the mass of deuteron from the dE/dx calculation (#13509)
Co-authored-by: Arkaprabha Saha <arkaprabha.saha@cern.ch>
1 parent 3223c9c commit 13cb0d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

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

12-
/// \file antiNucleiTask.cxx
12+
/// \file AntiNucleiTask.cxx
1313
/// \brief A task to analyse Anti-nuclei
1414
/// \author Arkaprabha Saha <arkaprabha.saha@cern.ch>
1515

@@ -48,7 +48,7 @@ static const int minTpcCrossedRowsCut = 70;
4848
static const float maxVertexZCut = 10.f;
4949
} // namespace
5050

51-
struct antiNucleiTask {
51+
struct AntiNucleiTask {
5252
// Histogram registry: for holding histograms
5353
HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject};
5454

@@ -138,7 +138,7 @@ struct antiNucleiTask {
138138
// Track Selection
139139
for (const auto& track : tracks) {
140140

141-
double expBethe{tpc::BetheBlochAleph(static_cast<double>(track.tpcInnerParam() / o2::constants::physics::MassDeuteron), cfgBetheBlochParams->get("p0"), cfgBetheBlochParams->get("p1"), cfgBetheBlochParams->get("p2"), cfgBetheBlochParams->get("p3"), cfgBetheBlochParams->get("p4"))};
141+
double expBethe{tpc::BetheBlochAleph(static_cast<double>(track.tpcInnerParam()), cfgBetheBlochParams->get("p0"), cfgBetheBlochParams->get("p1"), cfgBetheBlochParams->get("p2"), cfgBetheBlochParams->get("p3"), cfgBetheBlochParams->get("p4"))};
142142
double expSigma{expBethe * cfgBetheBlochParams->get("resolution")};
143143
float tpcNSigmaDeuteron = static_cast<float>((track.tpcSignal() - expBethe) / expSigma);
144144

@@ -165,11 +165,11 @@ struct antiNucleiTask {
165165
}
166166
}
167167

168-
PROCESS_SWITCH(antiNucleiTask, process, "process", true);
168+
PROCESS_SWITCH(AntiNucleiTask, process, "process", true);
169169
};
170170

171171
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
172172
{
173173
return WorkflowSpec{
174-
adaptAnalysisTask<antiNucleiTask>(cfgc)};
174+
adaptAnalysisTask<AntiNucleiTask>(cfgc)};
175175
}

PWGLF/Tasks/Nuspex/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ o2physics_add_dpl_workflow(nuclei-ebye
120120
COMPONENT_NAME Analysis)
121121

122122
o2physics_add_dpl_workflow(anti-nuclei-hist
123-
SOURCES antiNucleiTask.cxx
123+
SOURCES AntiNucleiTask.cxx
124124
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
125125
COMPONENT_NAME Analysis)
126126

0 commit comments

Comments
 (0)