Skip to content

Commit 93baeb7

Browse files
committed
Please consider the following formatting changes
1 parent 4367b7c commit 93baeb7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

PWGDQ/Tasks/v0selector.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ struct v0selector {
8585
Configurable<float> cutAPL1{"cutAPL1", 0.107, "cutAPL1"};
8686
Configurable<float> cutAPL2{"cutAPL2", -0.69, "cutAPL2"};
8787
Configurable<float> cutAPL3{"cutAPL3", 0.5, "cutAPL3"};
88-
Configurable<bool> produceV0ID{"produceV0ID",false,"Produce additional V0ID table"};
88+
Configurable<bool> produceV0ID{"produceV0ID", false, "Produce additional V0ID table"};
8989

9090
enum { // Reconstructed V0
9191
kUndef = -1,
@@ -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,11 +318,11 @@ 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
}
325-
};
325+
};
326326
if (v0id == kGamma) { // photon conversion
327327
if (fillhisto) {
328328
registry.fill(HIST("hMassGamma"), V0radius, mGamma);
@@ -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)