25void rf512_wsfactory_oper()
30 w->
factory(
"$Typedef(Gaussian,Gaus)");
31 w->
factory(
"$Typedef(Chebychev,Cheby)");
37 w->
factory(
"SUM::summodel( f[0,1]*Gaussian::gx(x[-10,10],m[0],1.0), Chebychev::ch(x,{0.1,0.2,-0.3}) )");
40 w->
factory(
"SUM::extsummodel( Nsig[0,1000]*gx, Nbkg[0,1000]*ch )");
43 w->
factory(
"PROD::gxz( gx, Gaussian::gz(z[-10,10],0,1) )");
46 w->
factory(
"Gaussian::gy( y[-10,10], x, 1.0 )");
47 w->
factory(
"PROD::gxycond( gy|x, gx )");
50 w->
factory(
"FCONV::lxg( x, Gaussian::g(x,mg[0],1), Landau::lc(x,0,1) )");
53 w->
factory(
"SIMUL::smodel( c[A=0,B=1], A=Gaussian::gs(x,m,s[1]), B=Landau::ls(x,0,1) )");
59 w->
factory(
"prod::uv(u[10],v[10])");
68 w->
factory(
"EXPR::G('x*x+1',x)");
72 w->
factory(
"CEXPR::GC('x*x+a',{x,a[1]})");
The RooWorkspace is a persistable container for RooFit projects.
void Print(Option_t *opts=0) const
Print contents of the workspace.
RooFactoryWSTool & factory()
Return instance to factory tool.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...