Skip to content

Commit fba979f

Browse files
committed
Please consider the following formatting changes
1 parent 5e28ff9 commit fba979f

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

PWGUD/Tasks/upcTauRl.cxx

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -647,12 +647,12 @@ struct UpcTauRl {
647647
histos.add("Tracks/Truth/hPionEta", ";Pion #eta (-);Number of events (-)", HistType::kTH1D, {confAxis.zzAxisEta});
648648
}
649649

650-
// histos.add("ProcessDataDG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
651-
// histos.add("ProcessDataSG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
652-
// histos.add("ProcessMCrecDG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
653-
// histos.add("ProcessMCrecSG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
654-
// histos.add("ProcessMCgen/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
655-
// histos.add("OutputTable/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
650+
// histos.add("ProcessDataDG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
651+
// histos.add("ProcessDataSG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
652+
// histos.add("ProcessMCrecDG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
653+
// histos.add("ProcessMCrecSG/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
654+
// histos.add("ProcessMCgen/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
655+
// histos.add("OutputTable/hSelections", ";Selection (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
656656
histos.add("OutputTable/hRejections", ";Rejections (-);Number of passed collision (-)", HistType::kTH1D, {confAxis.zzAxisSelections});
657657

658658
} // end init
@@ -877,29 +877,31 @@ struct UpcTauRl {
877877
unsigned int bitsRejectMuPiCan = 0;
878878
unsigned int bitsRejectTauEvent = 0;
879879

880-
void outputGlobalRejectionHistogram(){
880+
void outputGlobalRejectionHistogram()
881+
{
881882

882883
for (int i{0}; i < 10; i++) {
883884
if (bitsRejection & (1 << i))
884885
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i);
885886
}
886887
}
887888

888-
void outputDetailedRejectionHistogram(){
889+
void outputDetailedRejectionHistogram()
890+
{
889891

890892
for (int i{0}; i < 10; i++) {
891893
if (bitsRejectTauEvent & (1 << i))
892-
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i+10);
894+
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i + 10);
893895
}
894896

895897
for (int i{0}; i < 10; i++) {
896898
if (bitsRejectElCan & (1 << i))
897-
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i+20);
899+
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i + 20);
898900
}
899901

900902
for (int i{0}; i < 10; i++) {
901903
if (bitsRejectMuPiCan & (1 << i))
902-
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i+30);
904+
histos.get<TH1>(HIST("OutputTable/hRejections"))->Fill(i + 30);
903905
}
904906
}
905907

@@ -2115,7 +2117,7 @@ struct UpcTauRl {
21152117
int sign[2] = {trk1.sign(), trk2.sign()};
21162118
float dcaxy[2] = {trk1.dcaXY(), trk2.dcaXY()};
21172119
float dcaz[2] = {trk1.dcaZ(), trk2.dcaZ()};
2118-
float trkTimeRes[2] = {trk1.trackTimeRes(),trk2.trackTimeRes()};
2120+
float trkTimeRes[2] = {trk1.trackTimeRes(), trk2.trackTimeRes()};
21192121
float tpcSignal[2] = {trk1.tpcSignal(), trk2.tpcSignal()};
21202122
float tpcEl[2] = {trk1.tpcNSigmaEl(), trk2.tpcNSigmaEl()};
21212123
float tpcMu[2] = {trk1.tpcNSigmaMu(), trk2.tpcNSigmaMu()};
@@ -2149,17 +2151,17 @@ struct UpcTauRl {
21492151
// Loop over tracks with selections
21502152
for (const auto& track : tracks) {
21512153
countTrksPerCol++;
2152-
if (!isGlobalTrackReinstatement(track)){
2154+
if (!isGlobalTrackReinstatement(track)) {
21532155
countBadTracks++;
21542156
}
21552157
if (!track.isPVContributor()) {
21562158
countNonPVtracks++;
21572159
}
21582160
} // Loop over tracks with selections
21592161
if (countTrksPerCol - countBadTracks != 2)
2160-
bitsRejectTauEvent |= (1 << 1);
2162+
bitsRejectTauEvent |= (1 << 1);
21612163
if (countTrksPerCol - countNonPVtracks != 2)
2162-
bitsRejectTauEvent |= (1 << 2);
2164+
bitsRejectTauEvent |= (1 << 2);
21632165
}
21642166
}
21652167

0 commit comments

Comments
 (0)