Skip to content

Commit c63fdbb

Browse files
committed
fixing warnings
1 parent 4367b7c commit c63fdbb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

PWGDQ/Tasks/v0selector.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ struct v0selector {
207207

208208
std::vector<int8_t> v0pidmap;
209209
v0pidmap.clear();
210-
if(produceV0ID.value){
210+
if(produceV0ID.value) {
211211
v0pidmap.resize(V0s.size(), -1);
212212
}
213213
for (auto& V0 : V0s) {
@@ -318,7 +318,7 @@ struct v0selector {
318318
registry.fill(HIST("hV0APplotSelected"), V0.alpha(), V0.qtarm());
319319
}
320320

321-
auto storeV0AddID = [&](auto gix, auto id){
321+
auto storeV0AddID = [&](auto gix, auto id) {
322322
if (produceV0ID.value) {
323323
v0pidmap[gix] = id;
324324
}
@@ -346,7 +346,7 @@ struct v0selector {
346346
if ((0.48 < mK0S && mK0S < 0.51) && std::abs(V0.posTrack_as<FullTracksExt>().tpcNSigmaPi()) < cutNsigmaPiTPC && std::abs(V0.negTrack_as<FullTracksExt>().tpcNSigmaPi()) < cutNsigmaPiTPC) {
347347
pidmap[V0.posTrackId()] |= (uint8_t(1) << kK0S);
348348
pidmap[V0.negTrackId()] |= (uint8_t(1) << kK0S);
349-
storeV0AddID(V0.globalIndex(), kK0S);
349+
storeV0AddID(V0.globalIndex(), kK0S);
350350
}
351351
} else if (v0id == kLambda) { // L->p + pi-
352352
if (fillhisto) {
@@ -371,7 +371,7 @@ struct v0selector {
371371
// printf("negTrackId = %d\n",V0.negTrackId());
372372

373373
} // end of V0 loop
374-
if (produceV0ID.value){
374+
if (produceV0ID.value) {
375375
for (auto& V0 : V0s) {
376376
v0mapID(v0pidmap[V0.globalIndex()]);
377377
}

0 commit comments

Comments
 (0)