28 macroName.
Append(
"/foam/foam_demo.C");
32 cout<<
"====================== TestVector ================================"<<endl;
33 TFile fileA(
"foam_demo.root");
35 cout<<
"------------------------------------------------------------------"<<endl;
37 cout<<
"------------------------------------------------------------------"<<endl;
39 cout<<
"------------------------------------------------------------------"<<endl;
40 fileA.ShowStreamerInfo();
41 cout<<
"------------------------------------------------------------------"<<endl;
42 fileA.GetListOfKeys()->Print();
43 cout<<
"------------------------------------------------------------------"<<endl;
57 for(
long loop=0; loop<50000; loop++){
62 if(loop<10) cout<<
"(x,y) = ( "<< x <<
", "<< y <<
" )"<<endl;
69 cout <<
" MCresult= " << MCresult <<
" +- " << MCerror <<endl;
70 cout<<
"===================== TestPers FINISHED ======================="<<endl;
virtual void CheckAll(Int_t)
User utility, miscellaneous and debug.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
virtual void MakeEvent()
User subprogram.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
TString & Append(const char *cs)
virtual void Finalize(Double_t &, Double_t &)
May be called optionally by the user after the MC run.
virtual void GetMCvect(Double_t *)
User may get generated MC point/vector with help of this method.
R__EXTERN TSystem * gSystem
virtual void SetRho(TFoamIntegrand *Rho)
User may use this method to set the distribution object.
virtual void GetIntegMC(Double_t &, Double_t &)
User subprogram.
const char * Data() const