43def StandardHistFactoryPlotsWithCategories(
 
   44    infile="", workspaceName="combined", modelConfigName="ModelConfig", dataName="obsData"
 
   56        filename = 
"results/example_combined_GaussExample_model.root" 
   61            print(f
"will run standard hist2workspace example")
 
   64            print(f
"\n\n---------------------")
 
   65            print(f
"Done creating example input")
 
   66            print(f
"---------------------\n\n")
 
   76        print(f
"StandardRooStatsDemoMacro: Input file {filename} is not found")
 
   86        print(f
"workspace not found")
 
   90    mc = 
w.obj(modelConfigName)
 
   96    if not data 
or not mc:
 
   98        print(f
"data or ModelConfig was not found")
 
  118    print(f
" check expectedData by category")
 
  121    if str(
mc.GetPdf().ClassName()) == 
"RooSimultaneous":
 
  122        print(f
"Is a simultaneous PDF")
 
  125        print(f
"Is not a simultaneous PDF")
 
  130        pdftmp = (
mc.GetPdf()).getPdf(str(catName))
 
  160            mc.GetPdf().plotOn(frame, LineColor(kRed), LineStyle(kDashed), LineWidth(1))
 
  162            mc.GetPdf().plotOn(frame, LineColor(kGreen), LineStyle(kDashed), LineWidth(1))
 
  168        for tt 
in channelCat:
 
  170            if nPlots == nPlotsMax:
 
  175            print(
"on type ", catName, 
" ")
 
  187                if nPlots >= nPlotsMax:
 
  271                c2.SaveAs(f
"StandardHistFactoryPlotsWithCategories.1.{catName}_{obs.GetName()}_{var.GetName()}.png")
 
  277    c1 = 
ROOT.TCanvas(
"c1", 
"ProfileInspectorDemo", 800, 200)
 
  278    nFrames = 
len(frameList)
 
  280        nx = 
int(sqrt(nFrames))
 
  286    for i 
in range(nFrames):
 
  291    c1.SaveAs(
"StandardHistFactoryPlotsWithCategories.2.pdf")
 
  296StandardHistFactoryPlotsWithCategories(
 
  297    infile=
"", workspaceName=
"combined", modelConfigName=
"ModelConfig", dataName=
"obsData" 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
void Print(Option_t *option="") const override