Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
dfa5bef1
Commit
dfa5bef1
authored
8 years ago
by
Marcel R
Committed by
Pere Mato
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Implement 'add' functions from RooAbsCollection in RooArgSet.
parent
92c7310f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roofit/roofitcore/inc/RooArgSet.h
+13
-3
13 additions, 3 deletions
roofit/roofitcore/inc/RooArgSet.h
with
13 additions
and
3 deletions
roofit/roofitcore/inc/RooArgSet.h
+
13
−
3
View file @
dfa5bef1
...
...
@@ -83,9 +83,19 @@ public:
virtual
TObject
*
create
(
const
char
*
newname
)
const
{
return
new
RooArgSet
(
newname
);
}
RooArgSet
&
operator
=
(
const
RooArgSet
&
other
)
{
RooAbsCollection
::
operator
=
(
other
)
;
return
*
this
;}
using
RooAbsCollection
::
add
;
using
RooAbsCollection
::
addOwned
;
using
RooAbsCollection
::
addClone
;
virtual
Bool_t
add
(
const
RooAbsCollection
&
col
,
Bool_t
silent
=
kFALSE
)
{
// Add all elements in list to collection
return
RooAbsCollection
::
add
(
col
,
silent
);
}
virtual
Bool_t
addOwned
(
const
RooAbsCollection
&
col
,
Bool_t
silent
=
kFALSE
)
{
// Add all elements in list as owned components to collection
return
RooAbsCollection
::
addOwned
(
col
,
silent
);
}
virtual
void
addClone
(
const
RooAbsCollection
&
col
,
Bool_t
silent
=
kFALSE
)
{
// Add owned clone of all elements of list to collection
RooAbsCollection
::
addClone
(
col
,
silent
);
}
virtual
Bool_t
add
(
const
RooAbsArg
&
var
,
Bool_t
silent
=
kFALSE
)
;
virtual
Bool_t
addOwned
(
RooAbsArg
&
var
,
Bool_t
silent
=
kFALSE
);
virtual
RooAbsArg
*
addClone
(
const
RooAbsArg
&
var
,
Bool_t
silent
=
kFALSE
)
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment