27 if (
x <= 0.13957)
return 0;
30 + par[2] / 2.5066/par[4]*
TMath::Exp(-xp3/2/par[4]/par[4]));
38 if (
x <= 0.13957)
return 0;
90 Info(
"Begin",
"starting h1analysis with process option: %s", option.
Data());
92 delete gDirectory->GetList()->FindObject(
"elist");
106 Info(
"Begin",
"creating an entry-list");
134 "starting h1analysis with process option: %s (tree: %p)", option.
Data(), myTree);
137 hdmd =
new TH1F(
"hdmd",
"Dm_d",40,0.13,0.17);
138 h2 =
new TH2F(
"h2",
"ptD0 vs Dm_d",30,0.135,0.165,30,-3,6);
157 if (
fillList)
Info(
"SlaveBegin",
"creating an entry-list");
167 if (
hdmd == 0 ||
h2 == 0) {
168 Error(
"Terminate",
"hdmd = %p , h2 = %p",
hdmd,
h2);
175 c1->SetBottomMargin(0.15);
180 if (
gROOT->GetListOfFunctions()->FindObject(
"f5"))
181 delete gROOT->GetFunction(
"f5");
191 c2->SetBottomMargin(0.15);
197 if (
gROOT->GetListOfFunctions()->FindObject(
"f2"))
198 delete gROOT->GetFunction(
"f2");
221 Printf(
"Entry list 'elist' created:");
223 TFile efile(
"elist.root",
"recreate");
226 Error(
"Terminate",
"entry list requested but not found in output");
void Printf(const char *fmt,...)
R__EXTERN TStyle * gStyle
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
A List of entry numbers in a TTree or TChain.
virtual void SetTree(const TTree *tree)
If a list for a tree with such name and filename exists, sets it as the current sublist If not,...
virtual void SetDirectory(TDirectory *dir)
Add reference to directory dir. dir can be 0.
virtual Bool_t Enter(Long64_t entry, TTree *tree=0)
Add entry #entry to the list.
virtual void Print(const Option_t *option="") const
Print this list.
virtual void SetParameters(const Double_t *params)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
1-D histogram with a double per channel (see TH1 documentation)}
1-D histogram with a float per channel (see TH1 documentation)}
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0)
Fit histogram with function fname.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
TList * GetListOfFunctions() const
virtual void Draw(Option_t *option="")
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)}
Int_t Fill(Double_t)
Invalid Fill method.
virtual void FitSlicesX(TF1 *f1=0, Int_t firstybin=0, Int_t lastybin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=0)
Project slices along X in case of a 2-D histogram, then fit each slice with function f1 and make a hi...
TObject * FindObject(const char *name) const
Find object using its name.
virtual void Add(TObject *obj)
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
virtual const char * GetName() const
Returns name of object.
virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
The histogram statistics painter class.
void SetOptStat(Int_t stat=1)
Set the stat option.
TList * fInput
List of objects available during processing.
TSelectorList * fOutput
! List of objects created during processing
virtual const char * GetOption() const
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
EEntryStatus SetLocalEntry(Long64_t entry)
Set the next local tree entry.
A TTree represents a columnar dataset.
TFile * GetCurrentFile() const
Return pointer to the current file.
virtual void SetEntryList(TEntryList *list, Option_t *opt="")
Set an EntryList.
TTreeReaderValue< Int_t > fIpi
TTreeReaderArray< Int_t > fNhitrp
Bool_t Process(Long64_t entry)
TTreeReaderValue< Float_t > fRpd0_t
TTreeReaderArray< Float_t > fNlhpi
TTreeReaderValue< Float_t > fMd0_d
TTreeReaderValue< Float_t > fPtd0_d
TTreeReaderValue< Int_t > fIk
Bool_t Notify()
This method must be overridden to handle object notification.
TTreeReaderValue< Int_t > fIpis
TTreeReaderValue< Int_t > fNjets
TTreeReaderArray< Float_t > fRend
TTreeReaderValue< Float_t > fEtads_d
TTreeReaderArray< Float_t > fRstart
TTreeReaderValue< Float_t > fDm_d
TTreeReaderArray< Float_t > fNlhk
TTreeReaderValue< Float_t > fPtds_d
Double_t fdm5(Double_t *xx, Double_t *par)
Double_t fdm2(Double_t *xx, Double_t *par)
LongDouble_t Power(LongDouble_t x, LongDouble_t y)