23void rf512_wsfactory_oper()
28 w->
factory(
"$Typedef(Gaussian,Gaus)");
29 w->
factory(
"$Typedef(Chebychev,Cheby)");
35 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}) )");
38 w->
factory(
"SUM::extsummodel( Nsig[0,1000]*gx, Nbkg[0,1000]*ch )");
41 w->
factory(
"PROD::gxz( gx, Gaussian::gz(z[-10,10],0,1) )");
44 w->
factory(
"Gaussian::gy( y[-10,10], x, 1.0 )");
45 w->
factory(
"PROD::gxycond( gy|x, gx )");
48 w->
factory(
"FCONV::lxg( x, Gaussian::g(x,mg[0],1), Landau::lc(x,0,1) )");
51 w->
factory(
"SIMUL::smodel( c[A=0,B=1], A=Gaussian::gs(x,m,s[1]), B=Landau::ls(x,0,1) )");
57 w->
factory(
"prod::uv(u[10],v[10])");
66 w->
factory(
"EXPR::G('x*x+1',x)");
70 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.
Template specialisation used in RooAbsArg: