Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Samuel Van Stroud
training-dataset-dumper
Commits
fa6c9ea5
Commit
fa6c9ea5
authored
May 03, 2022
by
Samuel Van Stroud
Browse files
pass by reference
parent
6c844ebb
Pipeline
#3922531
passed with stages
in 5 minutes and 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BTagTrainingPreprocessing/src/JetTruthSummaryDecorator.cxx
View file @
fa6c9ea5
...
...
@@ -12,7 +12,7 @@ JetTruthSummaryDecorator::JetTruthSummaryDecorator(const std::string& link_name,
// return min deltaR(jet,particles), or infinity if no particles exist
float
JetTruthSummaryDecorator
::
getMinimumDeltaR
(
const
xAOD
::
Jet
&
jet
,
const
PartLinks
part_links
)
const
{
const
PartLinks
&
part_links
)
const
{
std
::
vector
<
float
>
delta_r
=
{
INFINITY
};
for
(
const
PartLink
&
tl
:
part_links
)
{
...
...
BTagTrainingPreprocessing/src/JetTruthSummaryDecorator.hh
View file @
fa6c9ea5
...
...
@@ -16,7 +16,7 @@ class JetTruthSummaryDecorator {
JetTruthSummaryDecorator
(
const
std
::
string
&
link_name
,
const
std
::
string
&
out_name
);
float
getMinimumDeltaR
(
const
xAOD
::
Jet
&
jet
,
const
PartLinks
part_links
)
const
;
float
getMinimumDeltaR
(
const
xAOD
::
Jet
&
jet
,
const
PartLinks
&
part_links
)
const
;
void
decorate
(
const
xAOD
::
Jet
&
jet
)
const
;
private:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment