Skip to content

Commit 349f5bf

Browse files
committed
update
1 parent ce1b31b commit 349f5bf

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

PWGHF/HFJ/Tasks/taskDstarPolarisationInJet.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#include <Math/GenVector/Boost.h>
3030
#include <Math/Vector3D.h>
3131
#include <Math/Vector4D.h>
32-
#include <TRandom3.h>
33-
#include <TVector3.h>
3432

3533
#include <string>
3634
#include <vector>

PWGHF/TableProducer/derivedDataCreatorDstarToD0Pi.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,16 @@ struct HfDerivedDataCreatorDstarToD0Pi {
130130
/// nItsClsMin is the minumum number of clusters in ITS
131131
/// nTpcClsMin is the minumum number of clusters in TPC
132132
template <typename Trk>
133-
void getTrackingInfos(std::array<Trk, 3> const& prongTracks, float& etaMin, int& nItsClsMin, int& nTpcClsMin)
133+
void getTrackingInfos(std::array<Trk, 3> const& prongTracks, float& etaMin, uint8_t& nItsClsMin, int16_t& nTpcClsMin)
134134
{
135135
etaMin = 10.f;
136136
nItsClsMin = 100;
137137
nTpcClsMin = 1000;
138138

139139
for (const auto& track : prongTracks) {
140140
etaMin = std::min(etaMin, std::abs(track.eta()));
141-
nItsClsMin = std::min(nItsClsMin, std::abs(track.itsNCls()));
142-
nTpcClsMin = std::min(nTpcClsMin, std::abs(track.tpcNClsCrossedRows()));
141+
nItsClsMin = std::min(nItsClsMin, track.itsNCls());
142+
nTpcClsMin = std::min(nTpcClsMin, track.tpcNClsCrossedRows());
143143
}
144144
}
145145

@@ -150,7 +150,8 @@ struct HfDerivedDataCreatorDstarToD0Pi {
150150
rowsCommon.fillTablesCandidate(candidate, invMass, y);
151151
if (fillCandidatePar) {
152152
float absEtaTrackMin{-1.f};
153-
int numItsClsMin{-1}, numTpcClsMin{-1};
153+
uint8_t numItsClsMin{200u};
154+
int16_t numTpcClsMin{1000};
154155
getTrackingInfos(std::array{prong0, prong1, prongSoftPi}, absEtaTrackMin, numItsClsMin, numTpcClsMin);
155156
rowCandidatePar(
156157
candidate.pxD0(),

0 commit comments

Comments
 (0)