This is a test of highlighting code <verbatim> PRE { background-color:beige; border-color:maroon; border-style:solid; border-width:thin; padding:5px; } </verbatim> Here is the code we want to show. %CODE{"cpp"}% pdf->plotOn(plot); //draw the two separate pdf's pdf->plotOn(plot, RooFit::Components("bkg_pdf"), RooFit::LineStyle(kDashed) ); pdf->plotOn(plot, RooFit::Components("sig_pdf"), RooFit::LineColor(kRed), RooFit::LineStyle(kDashed) ); plot->Draw(); // to show the RooPlot in the current ROOT Canvas %ENDCODE%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
css
tutorials.css
r1
manage
0.2 K
2013-06-02 - 10:02
LorenzoMoneta
This topic: RooStats
>
WebHome
>
RooStatsTutorialsJune2013
>
TestCodePage
Topic revision: r4 - 2013-06-02 - LorenzoMoneta
Copyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback