29   w->factory(
"$Typedef(Gaussian,Gaus)");
 
   30   w->factory(
"$Typedef(Chebychev,Cheby)");
 
   36   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}) )");
 
   39   w->factory(
"SUM::extsummodel( Nsig[0,1000]*gx, Nbkg[0,1000]*ch )");
 
   42   w->factory(
"PROD::gxz( gx, Gaussian::gz(z[-10,10],0,1) )");
 
   45   w->factory(
"Gaussian::gy( y[-10,10], x, 1.0 )");
 
   46   w->factory(
"PROD::gxycond( gy|x, gx )");
 
   49   w->factory(
"FCONV::lxg( x, Gaussian::g(x,mg[0],1), Landau::lc(x,0,1) )");
 
   52   w->factory(
"SIMUL::smodel( c[A=0,B=1], A=Gaussian::gs(x,m,s[1.0, 0.01, 10.0]), B=Landau::ls(x,0,1) )");
 
   58   w->factory(
"prod::uv(u[10],v[10])");
 
   61   w->factory(
"sum::uv2(u,v)");
 
   64   std::string infilename = std::string(
gROOT->GetTutorialDir()) + 
"/roofit/input_histos_rf_lagrangianmorph.root";
 
   65   w->factory((
"lagrangianmorph::morph($fileName('"+infilename+
"'),$observableName('pTV'),$couplings({cHq3[0,1],SM[1]}),$NewPhysics(cHq3=1,SM=0),$folders({'SM_NPsq0','cHq3_NPsq1','cHq3_NPsq2'}))").c_str());
 
   69   w->factory(
"taylorexpand::te(expr::poly('x^4+5*x^3+2*x^2+x+1',x),{x},0.0,2)");
 
   76   w->factory(
"EXPR::G('x*x+1',x)");
 
   80   w->factory(
"CEXPR::GC('x*x+a',{x,a[1]})");
 
The RooWorkspace is a persistable container for RooFit projects.
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...