Skip to content

Commit 6747b9b

Browse files
Update qgTreeCreator.cxx
1 parent 9bbf97f commit 6747b9b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

PWGJE/Tasks/qgTreeCreator.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ DECLARE_SOA_TABLE(QGJetTable, "AOD", "QGJET",
4646
MatchDeltaR,
4747
PtResponse,
4848
QGLabel);
49-
}
49+
} // namespace o2::aod
5050

5151
//------------------------------------------------
5252
// helper functions
@@ -97,8 +97,8 @@ int getInitiatingParton(auto const& particle,
9797
//------------------------------------------------
9898
struct QGTreeCreator {
9999

100-
Configurable<float> jetPtMin{"jetPtMin",10.f};
101-
Configurable<float> maxMatchDeltaR{"maxMatchDeltaR",0.3f};
100+
Configurable<float> jetPtMin{"jetPtMin", 10.f};
101+
Configurable<float> maxMatchDeltaR{"maxMatchDeltaR", 0.3f};
102102

103103
Produces<aod::QGJetTable> qgjets;
104104

@@ -126,13 +126,13 @@ struct QGTreeCreator {
126126

127127
nconst++;
128128
sumPt += pt;
129-
sumPt2 += pt*pt;
130-
sumPtDr += pt*dr;
129+
sumPt2 += pt * pt;
130+
sumPtDr += pt * dr;
131131
}
132132

133-
float girth = sumPt>0 ? sumPtDr/sumPt : -1;
134-
float ptd = sumPt>0 ? std::sqrt(sumPt2)/sumPt : -1;
135-
133+
float girth = sumPt > 0 ? sumPtDr / sumPt : -1;
134+
float ptd = sumPt > 0 ? std::sqrt(sumPt2) / sumPt : -1;
135+
136136
//----------------------------------
137137
// matching block
138138
//----------------------------------
@@ -174,7 +174,7 @@ struct QGTreeCreator {
174174
maxPt = tc.pt();
175175
pdg = getInitiatingParton(mc, mcParticles);
176176
}
177-
}
177+
}
178178

179179
//----------------------------------
180180
// assign q/g label

0 commit comments

Comments
 (0)