121 cout<<
"error="<<error<<
" from TDOMParser\n";
122 cout<<
"==============================================================\n";
123 cout<<
"Maybe the file testUnfold7binning.xml is missing?\n";
124 cout<<
"The content of the file is included in the comments section\n";
125 cout<<
"of this macro \"testUnfold7b.C\"\n";
126 cout<<
"==============================================================\n";
141 cout<<
"could not read 'detector' binning\n";
146 cout<<
"could not read 'generator' binning\n";
171 cout<<
"could not read 'data' tree\n";
184 cout<<
"loop over data events\n";
186#define VAR_REC (ptRec[2])
187#define VAR_GEN (ptGen[2])
230 cout<<
"could not read 'signal' tree\n";
238 signalTree->SetBranchAddress(
"weight",&weight);
241 cout<<
"loop over MC signal events\n";
271 cout<<
"could not read 'background' tree\n";
274 bgrTree->ResetBranchAddresses();
278 bgrTree->SetBranchAddress(
"weight",&weight);
279 bgrTree->SetBranchStatus(
"*",1);
281 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.
R__EXTERN TSystem * gSystem
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.
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.
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 ...