76#ifndef READ_BINNING_CINT
101#ifdef READ_BINNING_CINT
110#ifndef READ_BINNING_CINT
113 if(error) cout<<
"error="<<error<<
" from TDOMParser\n";
131 cout<<
"could not read 'detector' binning\n";
136 cout<<
"could not read 'generator' binning\n";
166 cout<<
"could not read 'data' tree\n";
179 dataTree->SetBranchStatus(
"*",
true);
182 cout<<
"loop over data events\n";
220 cout<<
"could not read 'signal' tree\n";
232 cout<<
"loop over MC signal events\n";
256 cout<<
"could not read 'background' tree\n";
259 bgrTree->ResetBranchAddresses();
264 bgrTree->SetBranchStatus(
"*",
true);
266 cout<<
"loop over MC background events\n";
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual TXMLDocument * GetXMLDocument() const
Returns the TXMLDocument.
Int_t ParseFile(const char *filename) override
Parse the XML file where filename is the XML file name.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
TH1 is the base class of all histogram classes in ROOT.
static void SetDefaultSumw2(Bool_t sumw2=kTRUE)
When this static function is called with sumw2=kTRUE, all new histograms will automatically activate ...
Service class for 2-D histogram classes.
A TTree represents a columnar dataset.
static TUnfoldBinningXML * ImportXML(const TXMLDocument *document, const char *name)
import a binning scheme from an XML file
Binning schemes for use with the unfolding algorithm TUnfoldDensity.
static TH2D * CreateHistogramOfMigrations(TUnfoldBinning const *xAxis, TUnfoldBinning const *yAxis, char const *histogramName, Bool_t originalXAxisBinning=kFALSE, Bool_t originalYAxisBinning=kFALSE, char const *histogramTitle=nullptr)
create a TH2D histogram capable to hold the bins of the two input binning schemes on the x and y axes...
TXMLDocument contains a pointer to an xmlDoc structure, after the parser returns a tree built during ...
unsigned int binNumber(double x, double coef, double const *boundaries, unsigned int nBoundaries, int nbins, int blo)