Skip to content

Commit ff05680

Browse files
committed
o2-linter fixes
1 parent c31a854 commit ff05680

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ struct FlowSP {
539539
double fitParamHigh3 = 0.816781;
540540
double fitParamHigh4 = -0.00496563;
541541
double fitParamHigh5 = 1.34314e-05;
542+
542543
if (cfgnSigmaMultCuts == 2){
543544
fitParamHigh1 = 2350.39;
544545
fitParamHigh2 = -74.6939;
@@ -949,41 +950,23 @@ struct FlowSP {
949950
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("neg/hPt_hadron"), track.pt());
950951
}
951952

952-
<<<<<<< Updated upstream
953-
if (pdgCode == 211 || pdgCode == -211) {
954-
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("incl/hPt_pion"), track.pt());
955-
if (pdgCode == 211) {
956-
=======
957953
if(pdgCode == kPiPlus || pdgCode == kPiMinus){
958954
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("incl/hPt_pion"), track.pt());
959955
if(pdgCode == kPiPlus) {
960-
>>>>>>> Stashed changes
961956
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("pos/hPt_pion"), track.pt());
962957
} else {
963958
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("neg/hPt_pion"), track.pt());
964959
}
965-
<<<<<<< Updated upstream
966-
} else if (pdgCode == 321 || pdgCode == -321) {
967-
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("incl/hPt_kaon"), track.pt());
968-
if (pdgCode == 321) {
969-
=======
970960
} else if(pdgCode == kKPlus || pdgCode == kKMinus) {
971961
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("incl/hPt_kaon"), track.pt());
972962
if(pdgCode == kKPlus) {
973-
>>>>>>> Stashed changes
974963
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("pos/hPt_kaon"), track.pt());
975964
} else {
976965
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("neg/hPt_kaon"), track.pt());
977966
}
978-
<<<<<<< Updated upstream
979-
} else if (pdgCode == 2212 || pdgCode == -2212) {
980-
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("incl/hPt_proton"), track.pt());
981-
if (pdgCode == 2212) {
982-
=======
983967
} else if(pdgCode == kProton || pdgCode == kProtonBar) {
984968
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("incl/hPt_proton"), track.pt());
985969
if(pdgCode == kProton) {
986-
>>>>>>> Stashed changes
987970
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("pos/hPt_proton"), track.pt());
988971
} else {
989972
registry.fill(HIST("trackMC") + HIST(Mode[md]) + HIST(Time[ft]) + HIST("neg/hPt_proton"), track.pt());
@@ -1202,11 +1185,6 @@ struct FlowSP {
12021185
if (track.sign() == 0.0)
12031186
continue;
12041187
registry.fill(HIST("hTrackCount"), trackSel_ZeroCharge);
1205-
<<<<<<< Updated upstream
1206-
1207-
bool pos = (track.sign() > 0) ? true : false;
1208-
=======
1209-
>>>>>>> Stashed changes
12101188

12111189
fillMCPtHistos<kBefore, kReco>(track, mcParticle.pdgCode());
12121190

0 commit comments

Comments
 (0)