76#ifndef READ_BINNING_CINT
101#ifdef READ_BINNING_CINT
108#ifndef READ_BINNING_CINT
111 if(error) cout<<
"error="<<error<<
" from TDOMParser\n";
129 cout<<
"could not read 'detector' binning\n";
134 cout<<
"could not read 'generator' binning\n";
164 cout<<
"could not read 'data' tree\n";
177 dataTree->SetBranchStatus(
"*",
true);
180 cout<<
"loop over data events\n";
217 cout<<
"could not read 'signal' tree\n";
229 cout<<
"loop over MC signal events\n";
253 cout<<
"could not read 'background' tree\n";
256 bgrTree->ResetBranchAddresses();
261 bgrTree->SetBranchStatus(
"*",
true);
263 cout<<
"loop over MC background events\n";
int Int_t
Signed integer 4 bytes (int)
float Float_t
Float 4 bytes (float)
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 file, usually with extension .root, that stores data and code in the form of serialized objects in ...
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, DoubleArray boundaries, unsigned int nBoundaries, int nbins, int blo)