37 TH1D* dataHist =
new TH1D(
"data",
"some fake data points",30,-4,4);
48 for (
Int_t i = 0; i < 25000; i++) {
54 for (
Int_t i = 0; i < 500; i++) {
62 dataHist->
Draw(
"PE1,Same");
65 c1->GetFrame()->SetFillColor(21);
66 c1->GetFrame()->SetBorderSize(6);
67 c1->GetFrame()->SetBorderMode(-1);
73 cout <<
"Computing limits... " << endl;
79 cout <<
"< CLs > : " <<
myconfidence->GetExpectedCLs_b() << endl;
80 cout <<
"< CLsb > : " <<
myconfidence->GetExpectedCLsb_b() << endl;
81 cout <<
"< CLb > : " <<
myconfidence->GetExpectedCLb_b() << endl;
84 cout << endl <<
"Computing limits with stat systematics... " << endl;
94 cout << endl <<
"Computing limits with systematics... " << endl;
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 r
R__EXTERN TSystem * gSystem
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
Class to compute 95% CL limits.
1-D histogram with a double per channel (see TH1 documentation)
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
void Draw(Option_t *option="") override
Draw this histogram with options.
The Histogram stack class.
This class serves as input for the TLimit::ComputeLimit method.
static TConfidenceLevel * ComputeLimit(TLimitDataSource *data, Int_t nmc=50000, bool stat=false, TRandom *generator=nullptr)
void AddLast(TObject *obj) override
Add object in the next empty slot in the array.
Collectable string class.
Random number generator class based on the maximally quidistributed combined Tausworthe generator by ...
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).