-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[hist,bindings,test,tutorials] rename CINT to Cling #20758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 4 commits
9462371
a6d336d
85ac9e2
e926c0d
a40c06f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,23 +110,23 @@ class THnSparse: public THnBase { | |
| Long64_t GetBin(const char* name[], Bool_t allocate = kTRUE) override; | ||
|
|
||
| /// Forwards to THnBase::SetBinContent(). | ||
| /// Non-virtual, CINT-compatible replacement of a using declaration. | ||
| /// Non-virtual, CINT-compatible replacement of a using declaration. @todo recheck with Cling | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the purpose of all these
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in a follow-up PR, the idea is to replace all these functions with just in the hope that Cling does not longer have the mentioned problem. Since this PR was touching mostly comments, not code changes. Or do you think Cling will still need that workaround in the same way as CINT? |
||
| void SetBinContent(const Int_t* idx, Double_t v) { | ||
| THnBase::SetBinContent(idx, v); | ||
| } | ||
| void SetBinContent(Long64_t bin, Double_t v) override; | ||
| void SetBinError2(Long64_t bin, Double_t e2) override; | ||
|
|
||
| /// Forwards to THnBase::AddBinContent(). | ||
| /// Non-virtual, CINT-compatible replacement of a using declaration. | ||
| /// Non-virtual, CINT-compatible replacement of a using declaration. @todo recheck with Cling | ||
| void AddBinContent(const Int_t* idx, Double_t v = 1.) { | ||
| THnBase::AddBinContent(idx, v); | ||
| } | ||
| void AddBinContent(Long64_t bin, Double_t v = 1.) override; | ||
| void AddBinError2(Long64_t bin, Double_t e2) override; | ||
|
|
||
| /// Forwards to THnBase::GetBinContent() overload. | ||
| /// Non-virtual, CINT-compatible replacement of a using declaration. | ||
| /// Non-virtual, CINT-compatible replacement of a using declaration. @todo recheck with Cling | ||
| Double_t GetBinContent(const Int_t *idx) const { | ||
|
|
||
| return THnBase::GetBinContent(idx); | ||
|
|
@@ -138,23 +138,20 @@ class THnSparse: public THnBase { | |
| Double_t GetSparseFractionMem() const; | ||
|
|
||
| /// Forwards to THnBase::Projection(). | ||
| /// Non-virtual, as a CINT-compatible replacement of a using | ||
| /// declaration. | ||
| /// Non-virtual, as a CINT-compatible replacement of a using declaration. @todo recheck with Cling | ||
| TH1D* Projection(Int_t xDim, Option_t* option = "") const{ | ||
| return THnBase::Projection(xDim, option); | ||
| } | ||
|
|
||
| /// Forwards to THnBase::Projection(). | ||
| /// Non-virtual, as a CINT-compatible replacement of a using | ||
| /// declaration. | ||
| /// Non-virtual, as a CINT-compatible replacement of a using declaration. @todo recheck with Cling | ||
| TH2D* Projection(Int_t yDim, Int_t xDim, | ||
| Option_t* option = "") const { | ||
| return THnBase::Projection(yDim, xDim, option); | ||
| } | ||
|
|
||
| /// Forwards to THnBase::Projection(). | ||
| /// Non-virtual, as a CINT-compatible replacement of a using | ||
| /// declaration. | ||
| /// Non-virtual, as a CINT-compatible replacement of a using declaration. @todo recheck with Cling | ||
| TH3D* Projection(Int_t xDim, Int_t yDim, Int_t zDim, | ||
| Option_t* option = "") const { | ||
| return THnBase::Projection(xDim, yDim, zDim, option); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.