124   printf(
"Starting (begin) h1analysis with process option: %s\n",
option.Data());
 
  129   if (fChain) fChain->SetEntryList(0);
 
  130   delete gDirectory->GetList()->FindObject(
"elist");
 
  133   if (
option.Contains(
"fillList")) {
 
  135      elist = 
new TEntryList(
"elist",
"H1 selection from Cut");
 
  138         fInput->Add(
new TNamed(
"fillList",
""));
 
  144   if (
option.Contains(
"useList")) {
 
  147         tree->SetEntryList(elist);
 
  153         Warning(
"Begin", 
"option 'useList' not supported in PROOF - ignoring");
 
  154         Warning(
"Begin", 
"the entry list must be set on the chain *before* calling Process");
 
  172   printf(
"Starting (slave) h1analysis with process option: %s\n",
option.Data());
 
  175   hdmd = 
new TH1F(
"hdmd",
"dm_d",40,0.13,0.17);
 
  176   TH2F(
"h2",
"ptD0 vs dm_d",30,0.135,0.165,30,-3,6);
 
  186   if (
option.Contains(
"fillList")) {
 
  190         if ((elist = (
TEntryList *) fInput->FindObject(
"elist")))
 
  201   if (
option.Contains(
"useList")) {
 
  206      if (tree) tree->SetEntryList(elist);
 
  209         Warning(
"Begin", 
"option 'useList' not supported in PROOF - ignoring");
 
  210         Warning(
"Begin", 
"the entry list must be set on the chain *before* calling Process");
 
  230      float f2 = md0_d-1.8646;
 
  233                            fChain->GetReadEntry(),
f1,f2,
test);
 
  236      if (ptds_d <= 2.5) 
return kFALSE;
 
  246                            fChain->GetReadEntry(),
f1,f2,
test);
 
  254      if (nlhpi[ipis-1] <= 0.1) 
return kFALSE;
 
  255      if (njets < 1)          
return kFALSE;
 
  263   h2->Fill(dm_d,rpd0_t/0.029979*1.8646/ptd0_d);
 
  273   printf(
"Terminate (slave) h1analysis\n");
 
  279   printf(
"Terminate (final) h1analysis\n");
 
  283   hdmd = 
dynamic_cast<TH1F*
>(fOutput->FindObject(
"hdmd"));
 
  284   TH2F*
>(fOutput->FindObject(
"h2"));
 
  286   if (hdmd == 0 || h2 == 0) {
 
  287      Error(
"Terminate", 
"hdmd = %p , h2 = %p", hdmd, h2);
 
  294   c1->SetBottomMargin(0.15);
 
  301   hdmd->
Fit(
"f5",
"lr");
 
  308   c2->SetBottomMargin(0.15);
 
  316   h2->FitSlicesX(f2,0,-1,1,
"qln");
 
  318   h2_1->GetXaxis()->SetTitle(
"#tau[ps]");
 
  319   h2_1->SetMarkerStyle(21);
 
  328   psdmd->SetOptStat(1110);
 
  333      elist = 
dynamic_cast<TEntryList*
>(fOutput->FindObject(
"elist"));
 
  338         Error(
"Terminate", 
"entry list requested but not found in output");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
 
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
 
Int_t Init(const char *masterurl, const char *conffile, const char *confdir, Int_t loglevel, const char *alias=0)
 
R__EXTERN TStyle * gStyle
 
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
 
A List of entry numbers in a TTree or TChain.
 
virtual bool Enter(Long64_t entry, TTree *tree=nullptr)
Add entry #entry to the list.
 
virtual void SetDirectory(TDirectory *dir)
Add reference to directory dir. dir can be 0.
 
virtual void SetParameters(const Double_t *params)
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
1-D histogram with a double per channel (see TH1 documentation)
 
1-D histogram with a float per channel (see TH1 documentation)
 
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
 
2-D histogram with a float per channel (see TH1 documentation)
 
Use the TLine constructor to create a simple line.
 
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
 
The TNamed class is the base class for all named ROOT classes.
 
TObject * Clone(const char *newname="") const override
Make a clone of an object using the Streamer facility.
 
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
 
virtual Int_t Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
 
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
 
The histogram statistics painter class.
 
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 ...
 
A TTree represents a columnar dataset.
 
Double_t fdm5(Double_t *xx, Double_t *par)
 
Double_t fdm2(Double_t *xx, Double_t *par)
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.