Skip to content

Commit 8c36228

Browse files
author
contrgui
committed
deleting tabs and changing the UPCMode-flag implementation
1 parent ebfb79c commit 8c36228

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGUD/Tasks/upcVmRof.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ struct UpcVmRof {
633633
if (aFT0A > maxAmpFT0) {
634634
return;
635635
}
636-
colTH1Pointers[Form("col/%d/colSel_H", runNumberCol)]->Fill(13);
636+
colTH1Pointers[Form("col/%d/colSel_H", runNumberCol)]->Fill(13);
637637
nFT0A = (bc.foundFT0().amplitudeA()).size();
638638
} // a side
639639
// c side
@@ -642,7 +642,7 @@ struct UpcVmRof {
642642
if (std::abs(tFT0C) > maxAbsTimeFT0) {
643643
return;
644644
}
645-
colTH1Pointers[Form("col/%d/colSel_H", runNumberCol)]->Fill(14);
645+
colTH1Pointers[Form("col/%d/colSel_H", runNumberCol)]->Fill(14);
646646
aFT0C = bc.foundFT0().sumAmpC();
647647
if (aFT0C > maxAmpFT0) {
648648
return;
@@ -744,7 +744,7 @@ struct UpcVmRof {
744744
} // ZDC info
745745

746746
// fill output table
747-
const int recoFlag = ((col.flags() & dataformats::Vertex<o2::dataformats::TimeStamp<int>>::Flags::UPCMode) != stdReco) ? upcReco : stdReco;
747+
const int recoFlag = ((col.flags() & dataformats::Vertex<o2::dataformats::TimeStamp<int>>::Flags::UPCMode) != 0) ? upcReco : stdReco;
748748
if (isTwoBody) {
749749
colTH1Pointers[Form("col/%d/twoTrkTF_H", runNumberCol)]->Fill(thisTF);
750750
twoTrkTable(runNumberCol, col.posX(), col.posY(), col.posZ(), col.chi2(), thisBC, thisTF, thisROF, recoFlag,

0 commit comments

Comments
 (0)