Skip to content
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

[14x-comb2023] Avoid invalid proxy constructor calls in HMuMuRooPdfs #893

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions src/HMuMuRooPdfs.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "HiggsAnalysis/CombinedLimit/interface/HMuMuRooPdfs.h"
#include "../interface/HMuMuRooPdfs.h"
//#include "HMuMuRooPdfs.h"
#include "RooRealVar.h"
#include "TMath.h"
Expand All @@ -16,10 +16,10 @@ RooModZPdf::RooModZPdf(const char *name, const char *title, RooAbsReal& _x, RooA
RooAbsPdf(name, title),
x("x", "x", this, _x),
a("a", "a", this, _a),
b("b", "b", this, 0.),
c("c", "c", this, 2.),
m("m", "m", this, 91.2),
w("w", "w", this, 2.5),
b{"b", "b", this},
c{"c", "c", this},
m{"m", "m", this},
w{"w", "w", this},
bernCoef("coefficients", "List of Bernstein coefficients", this)
{
}
Expand All @@ -30,8 +30,8 @@ RooModZPdf::RooModZPdf(const char *name, const char *title, RooAbsReal& _x, RooA
a("a", "a", this, _a),
b("b", "b", this, _b),
c("c", "c", this, _c),
m("m", "m", this, 91.2),
w("w", "w", this, 2.5),
m{"m", "m", this},
w{"w", "w", this},
bernCoef("coefficients", "List of Bernstein coefficients", this)
{
}
Expand All @@ -40,10 +40,10 @@ RooModZPdf::RooModZPdf(const char *name, const char *title, RooAbsReal& _x, RooA
RooAbsPdf(name, title),
x("x", "x", this, _x),
a("a", "a", this, _a),
b("b", "b", this, 0),
b{"b", "b", this},
c("c", "c", this, _c),
m("m", "m", this, 91.2),
w("w", "w", this, 2.5),
m{"m", "m", this},
w{"w", "w", this},
bernCoef("coefficients", "List of Bernstein coefficients", this)
{
}
Expand All @@ -52,10 +52,10 @@ RooModZPdf::RooModZPdf(const char *name, const char *title, RooAbsReal& _x, RooA
RooAbsPdf(name, title),
x("x", "x", this, _x),
a("a", "a", this, _a),
b("b", "b", this, 0.),
c("c", "c", this, 2.),
m("m", "m", this, 91.2),
w("w", "w", this, 2.5),
b{"b", "b", this},
c{"c", "c", this},
m{"m", "m", this},
w{"w", "w", this},
bernCoef("coefficients", "List of Bernstein coefficients", this)
{
TIterator* coefIter = _coef.createIterator() ;
Expand All @@ -76,8 +76,8 @@ RooModZPdf::RooModZPdf(const char *name, const char *title, RooAbsReal& _x, RooA
a("a", "a", this, _a),
b("b", "b", this, _b),
c("c", "c", this, _c),
m("m", "m", this, 91.2),
w("w", "w", this, 2.5),
m{"m", "m", this},
w{"w", "w", this},
bernCoef("coefficients", "List of Bernstein coefficients", this)
{
TIterator* coefIter = _coef.createIterator() ;
Expand All @@ -99,7 +99,7 @@ RooModZPdf::RooModZPdf(const char *name, const char *title, RooAbsReal& _x, RooA
b("b", "b", this, _b),
c("c", "c", this, _c),
m("m", "m", this, _m),
w("w", "w", this, 2.5),
w{"w", "w", this},
bernCoef("coefficients", "List of Bernstein coefficients", this)
{
}
Expand Down Expand Up @@ -174,7 +174,7 @@ RooExpPdf::RooExpPdf(const char *name, const char *title, RooAbsReal& _x, RooAbs
RooAbsPdf(name, title),
x ("x" , "x" , this, _x),
a1("a1", "a1", this, _a1),
m ("m" , "m" , this, 91.2),
m {"m" , "m" , this},
offset(_offset)
{
}
Expand Down Expand Up @@ -260,7 +260,7 @@ RooAbsPdf(name, title),
a1("a1", "a1", this, _a1),
a2("a2", "a2", this, _a2),
f ("f" , "f" , this, _f ),
m ("m" , "m" , this, 91.2),
m {"m" , "m" , this},
offset(_offset)
{
}
Expand Down Expand Up @@ -363,7 +363,7 @@ RooPowerLawPdf::RooPowerLawPdf(const char *name, const char *title, RooAbsReal&
RooAbsPdf(name, title),
x ("x" , "x" , this, _x),
a1("a1", "a1", this, _a1),
m("m", "m", this, 91.2),
m{"m", "m", this},
offset(_offset)
{}

Expand Down Expand Up @@ -445,7 +445,7 @@ RooAbsPdf(name, title),
a1("a1", "a1", this, _a1),
a2("a2", "a2", this, _a2),
f("f", "f", this, _f),
m("m", "m", this, 91.2),
m{"m", "m", this},
offset(_offset)
{
}
Expand Down
Loading