Skip to content

Commit b2366c7

Browse files
committed
Please consider the following formatting changes
1 parent 7234ee0 commit b2366c7

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

PWGHF/TableProducer/treeCreatorLcToK0sP.cxx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
/// \author Daniel Samitz <daniel.samitz@cern.ch>
1919
/// \author Elisa Meninno <elisa.meninno@cern.ch>
2020

21-
2221
#include "PWGHF/Core/HfHelper.h"
2322
#include "PWGHF/DataModel/AliasTables.h"
2423
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
@@ -92,7 +91,7 @@ DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t);
9291
DECLARE_SOA_COLUMN(MlScoreFirstClass, mlScoreFirstClass, float);
9392
DECLARE_SOA_COLUMN(MlScoreSecondClass, mlScoreSecondClass, float);
9493
DECLARE_SOA_COLUMN(MlScoreThirdClass, mlScoreThirdClass, float);
95-
DECLARE_SOA_COLUMN(SigBgStatus, sigBgStatus, int); //! 0 bg, 1 prompt, 2 non-prompt,-1 default value (impossible, should not be the case), -999 for data
94+
DECLARE_SOA_COLUMN(SigBgStatus, sigBgStatus, int); //! 0 bg, 1 prompt, 2 non-prompt,-1 default value (impossible, should not be the case), -999 for data
9695
// Events
9796
DECLARE_SOA_COLUMN(IsEventReject, isEventReject, int);
9897
DECLARE_SOA_COLUMN(RunNumber, runNumber, int);
@@ -140,7 +139,6 @@ DECLARE_SOA_TABLE(HfCandCascLites, "AOD", "HFCANDCASCLITE",
140139
full::MlScoreSecondClass,
141140
full::MlScoreThirdClass,
142141
full::SigBgStatus);
143-
144142

145143
DECLARE_SOA_TABLE(HfCandCascFulls, "AOD", "HFCANDCASCFULL",
146144
collision::BCId,
@@ -273,7 +271,7 @@ struct HfTreeCreatorLcToK0sP {
273271
SigBgStatus status{Default};
274272

275273
if (std::abs(flag) != 1) {
276-
return Background; // combinatorial or wrong decay
274+
return Background; // combinatorial or wrong decay
277275
}
278276
// Otherwise it is signal: distinguish between Prompt/ NonPrompt
279277
if (origin == RecoDecay::OriginType::Prompt) {
@@ -489,11 +487,11 @@ struct HfTreeCreatorLcToK0sP {
489487
const int flag = candidate.flagMcMatchRec();
490488

491489
// get status (Prompt / NonPrompt / Background)
492-
SigBgStatus sigbgstatus = determineSignalBgStatus(candidate);
493-
490+
SigBgStatus sigbgstatus = determineSignalBgStatus(candidate);
491+
494492
bool isSignal = (std::abs(flag) == 1);
495493
bool isBackground = !isSignal;
496-
494+
497495
if ((fillOnlySignal && isSignal) || (fillOnlyBackground && isBackground) || (!fillOnlySignal && !fillOnlyBackground)) {
498496
fillCandidate(candidate, bach, candidate.flagMcMatchRec(), candidate.originMcRec(), candidateMlScore, sigbgstatus);
499497
}

0 commit comments

Comments
 (0)