Skip to content

Commit f1f78d2

Browse files
author
Prottay Das
committed
removed unused variables
1 parent 479ac16 commit f1f78d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/TableProducer/Resonances/cksspinalignment.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ struct cksspinalignment {
189189
{
190190
auto px = candidate.px();
191191
auto py = candidate.py();
192-
auto pz = candidate.pz();
192+
// auto pz = candidate.pz();
193193
auto pt = std::sqrt(px * px + py * py);
194194
float lowmom = 0.5;
195195
if (pt < lowmom) {
@@ -210,7 +210,7 @@ struct cksspinalignment {
210210
// Use total momentum p (as you said). If you really want pT, replace with sqrt(px^2+py^2).
211211
const float px = candidate.px();
212212
const float py = candidate.py();
213-
const float pz = candidate.pz();
213+
// const float pz = candidate.pz();
214214
const float pt = std::sqrt(px * px + py * py);
215215

216216
constexpr float pSwitch = 0.5f; // GeV/c
@@ -419,14 +419,14 @@ struct cksspinalignment {
419419
auto track1sign = track1.sign();
420420
if (track1sign == 0)
421421
continue;
422-
auto track1nsigTPC = track1.tpcNSigmaPi();
422+
/*auto track1nsigTPC = track1.tpcNSigmaPi();
423423
auto track1nsigTOF = -999.9;
424424
auto track1TOFHit = -1;
425425
if (track1.hasTOF()) {
426426
track1TOFHit = 1;
427427
track1nsigTOF = track1.tofNSigmaPi();
428428
histos.fill(HIST("hTrkSelInfo"), 4.5);
429-
}
429+
}*/
430430
pionbach = ROOT::Math::PxPyPzMVector(track1.px(), track1.py(), track1.pz(), o2::constants::physics::MassPionCharged);
431431
pionBachelor.push_back(pionbach);
432432
pionBachelorIndex.push_back(track1ID);

0 commit comments

Comments
 (0)