18 if (x <= 0.13957)
return 0;
19 Double_t xp3 = (x-par[3])*(x-par[3]);
21 + par[2] / 2.5066/par[4]*
TMath::Exp(-xp3/2/par[4]/par[4]));
29 if (x <= 0.13957)
return 0;
30 Double_t xp3 = (x-0.1454)*(x-0.1454);
81 Info(
"Begin",
"starting h1analysis with process option: %s", option.
Data());
83 delete gDirectory->GetList()->FindObject(
"elist");
97 Info(
"Begin",
"creating an entry-list");
125 "starting h1analysis with process option: %s (tree: %p)", option.
Data(), myTree);
128 hdmd =
new TH1F(
"hdmd",
"Dm_d",40,0.13,0.17);
129 h2 =
new TH2F(
"h2",
"ptD0 vs Dm_d",30,0.135,0.165,30,-3,6);
148 if (
fillList)
Info(
"SlaveBegin",
"creating an entry-list");
158 if (
hdmd == 0 ||
h2 == 0) {
159 Error(
"Terminate",
"hdmd = %p , h2 = %p",
hdmd,
h2);
171 if (
gROOT->GetListOfFunctions()->FindObject(
"f5"))
172 delete gROOT->GetFunction(
"f5");
188 if (
gROOT->GetListOfFunctions()->FindObject(
"f2"))
189 delete gROOT->GetFunction(
"f2");
212 Printf(
"Entry list 'elist' created:");
214 TFile efile(
"elist.root",
"recreate");
217 Error(
"Terminate",
"entry list requested but not found in output");
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
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 Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void SetParameters(const Double_t *params)
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
TSelectorList * fOutput
! List of objects created during processing
TTreeReaderValue< Int_t > fNjets
R__EXTERN TStyle * gStyle
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
TTreeReaderArray< Float_t > fNlhpi
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Double_t fdm2(Double_t *xx, Double_t *par)
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
tomato 1-D histogram with a float per channel (see TH1 documentation)}
TTreeReaderValue< Int_t > fIpis
TTreeReaderArray< Float_t > fRend
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The histogram statistics painter class.
TObject * FindObject(const char *name) const
Find object using its name.
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...
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual void SetDirectory(TDirectory *dir)
Add reference to directory dir. dir can be 0.
TTreeReaderValue< Float_t > fPtd0_d
The TNamed class is the base class for all named ROOT classes.
virtual void SetGrid(Int_t valuex=1, Int_t valuey=1)
TTreeReaderValue< Float_t > fPtds_d
virtual const char * GetOption() const
TTreeReaderValue< Float_t > fRpd0_t
Bool_t Process(Long64_t entry)
virtual void SetBottomMargin(Float_t bottommargin)
Set Pad bottom margin in fraction of the pad height.
TTreeReaderValue< Float_t > fDm_d
virtual void Draw(Option_t *option="")
Draw this histogram with options.
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...
tomato 2-D histogram with a float per channel (see TH1 documentation)}
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TFile * GetCurrentFile() const
Return pointer to the current file.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
Double_t fdm5(Double_t *xx, Double_t *par)
tomato 1-D histogram with a double per channel (see TH1 documentation)}
TTreeReaderArray< Int_t > fNhitrp
TTreeReaderArray< Float_t > fNlhk
Bool_t Notify()
This method must be overridden to handle object notification.
EEntryStatus SetLocalEntry(Long64_t entry)
virtual void SetEntryList(TEntryList *list, Option_t *opt="")
Set an EntryList.
TTreeReaderValue< Float_t > fMd0_d
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TTreeReaderValue< Float_t > fEtads_d
TTreeReaderArray< Float_t > fRstart
virtual Bool_t Enter(Long64_t entry, TTree *tree=0)
Add entry #entry to the list.
TTreeReaderValue< Int_t > fIk
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Double_t GetUymax() const
virtual void Print(const Option_t *option="") const
Print this list.
TList * fInput
List of objects available during processing.
virtual void Add(TObject *obj)
double f2(const double *x)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
A TTree object has a header with a name and a title.
virtual void Update()
Update canvas pad buffers.
Int_t Fill(Double_t)
Invalid Fill method.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
TList * GetListOfFunctions() const
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F
A List of entry numbers in a TTree or TChain.
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.
void Modified(Bool_t flag=1)
TTreeReaderValue< Int_t > fIpi
void SetOptStat(Int_t stat=1)
Set the stat option.
const char * Data() const