Skip to content

Commit 02696b6

Browse files
committed
Please consider the following formatting changes
1 parent a08c283 commit 02696b6

File tree

4 files changed

+200
-200
lines changed

4 files changed

+200
-200
lines changed

PWGUD/Core/UPCTauCentralBarrelHelperRL.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -159,20 +159,20 @@ int enumMyParticle(int valuePDG)
159159
int trackPDGfromEnum(int trackEnum)
160160
// reads pdg value and returns particle number as in enumMyParticle
161161
{
162-
if (trackEnum == P_ELECTRON) {
163-
return 11;
164-
} else if (trackEnum == P_MUON) {
165-
return 13;
166-
} else if (trackEnum == P_PION) {
167-
return 211;
168-
} else if (trackEnum == P_KAON) {
169-
return 321;
170-
} else if (trackEnum == P_PROTON) {
171-
return 2212;
172-
} else {
173-
printDebugMessage("PDG value not found in enumMyParticle. Returning -1.");
174-
return -1.;
175-
}
162+
if (trackEnum == P_ELECTRON) {
163+
return 11;
164+
} else if (trackEnum == P_MUON) {
165+
return 13;
166+
} else if (trackEnum == P_PION) {
167+
return 211;
168+
} else if (trackEnum == P_KAON) {
169+
return 321;
170+
} else if (trackEnum == P_PROTON) {
171+
return 2212;
172+
} else {
173+
printDebugMessage("PDG value not found in enumMyParticle. Returning -1.");
174+
return -1.;
175+
}
176176
}
177177

178178
float pt(float px, float py)

PWGUD/TableProducer/tauEventTableProducer.cxx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ struct TauEventTableProducer {
7373
Configurable<float> cutTrueGapSideFT0C{"cutTrueGapSideFT0C", 50., "FT0C threshold for SG selector"};
7474
Configurable<float> cutTrueGapSideZDC{"cutTrueGapSideZDC", 10000., "ZDC threshold for SG selector. 0 is <1n, 4.2 is <2n, 6.7 is <3n, 9.5 is <4n, 12.5 is <5n"};
7575
Configurable<float> cutFITtime{"cutFITtime", 40., "Maximum FIT time allowed. Default is 40ns"};
76-
Configurable<bool> cutEvTFb{"cutEvTFb", true, {"Event selection bit kNoTimeFrameBorder"}};
77-
Configurable<bool> cutEvITSROFb{"cutEvITSROFb", true, {"Event selection bit kNoITSROFrameBorder"}};
78-
Configurable<bool> cutEvSbp{"cutEvSbp", true, {"Event selection bit kNoSameBunchPileup"}};
79-
Configurable<bool> cutEvZvtxFT0vPV{"cutEvZvtxFT0vPV", false, {"Event selection bit kIsGoodZvtxFT0vsPV"}};
80-
Configurable<bool> cutEvVtxITSTPC{"cutEvVtxITSTPC", true, {"Event selection bit kIsVertexITSTPC"}};
76+
Configurable<bool> cutEvTFb{"cutEvTFb", true, {"Event selection bit kNoTimeFrameBorder"}};
77+
Configurable<bool> cutEvITSROFb{"cutEvITSROFb", true, {"Event selection bit kNoITSROFrameBorder"}};
78+
Configurable<bool> cutEvSbp{"cutEvSbp", true, {"Event selection bit kNoSameBunchPileup"}};
79+
Configurable<bool> cutEvZvtxFT0vPV{"cutEvZvtxFT0vPV", false, {"Event selection bit kIsGoodZvtxFT0vsPV"}};
80+
Configurable<bool> cutEvVtxITSTPC{"cutEvVtxITSTPC", true, {"Event selection bit kIsVertexITSTPC"}};
8181
Configurable<float> cutEvOccupancy{"cutEvOccupancy", 100000., "Maximum allowed occupancy"};
8282
Configurable<bool> cutEvTrs{"cutEvTrs", false, {"Event selection bit kNoCollInTimeRangeStandard"}};
8383
Configurable<bool> cutEvTrofs{"cutEvTrofs", false, {"Event selection bit kNoCollInRofStandard"}};
@@ -157,25 +157,25 @@ struct TauEventTableProducer {
157157
bool isGoodROFtime(C const& coll)
158158
{
159159

160-
// kNoTimeFrameBorder
161-
if (cutSample.cutEvTFb && !coll.tfb())
162-
return false;
160+
// kNoTimeFrameBorder
161+
if (cutSample.cutEvTFb && !coll.tfb())
162+
return false;
163163

164-
// kNoITSROFrameBorder
165-
if (cutSample.cutEvITSROFb && !coll.itsROFb())
166-
return false;
164+
// kNoITSROFrameBorder
165+
if (cutSample.cutEvITSROFb && !coll.itsROFb())
166+
return false;
167167

168-
// kNoSameBunchPileup
169-
if (cutSample.cutEvSbp && !coll.sbp())
170-
return false;
168+
// kNoSameBunchPileup
169+
if (cutSample.cutEvSbp && !coll.sbp())
170+
return false;
171171

172-
// kIsGoodZvtxFT0vsPV
173-
if (cutSample.cutEvZvtxFT0vPV && !coll.zVtxFT0vPV())
174-
return false;
172+
// kIsGoodZvtxFT0vsPV
173+
if (cutSample.cutEvZvtxFT0vPV && !coll.zVtxFT0vPV())
174+
return false;
175175

176-
// kIsVertexITSTPC
177-
if (cutSample.cutEvVtxITSTPC && !coll.vtxITSTPC())
178-
return false;
176+
// kIsVertexITSTPC
177+
if (cutSample.cutEvVtxITSTPC && !coll.vtxITSTPC())
178+
return false;
179179

180180
// Occupancy
181181
if (coll.occupancyInTime() > cutSample.cutEvOccupancy)

0 commit comments

Comments
 (0)