10 #define ProofFriends_cxx    23 ProofFriends::ProofFriends()
    47    if (out) fDoFriends = 
kFALSE;
    51 void ProofFriends::SlaveBegin(
TTree * )
    60    if (out) fDoFriends = 
kFALSE;
    63    fXY = 
new TH2F(
"histo1", 
"y:x", 50, 5., 15., 50, 10., 30.);
    64    fZ = 
new TH1F(
"histo2", 
"z , sqrt(dx*dx+dy*dy) < 1", 50, 0., 5.);
    65    fZ->SetFillColor(
kBlue);
    69       fR = 
new TH1F(
"histo3", 
"Tfrnd.r , sqrt(dx*dx+dy*dy) < 1, z < 1", 50, 5., 15.);
    70       fRZ = 
new TH2F(
"histo4", 
"Tfrnd.r:z , sqrt(dx*dx+dy*dy) < 1, z < 1", 50, 0., 1., 50, 5., 15.);
    71       fR->SetFillColor(
kRed);
   100    b_y->GetEntry(entry);
   105    if (xpy > 1.) 
return kFALSE;
   108    b_z->GetEntry(entry);
   114       b_r->GetEntry(entry);
   123 void ProofFriends::SlaveTerminate()
   132 void ProofFriends::Terminate()
   152    if ((fXY = dynamic_cast<TH2F *>(fOutput->FindObject(
"histo1")))) {
   156       fXY->GetXaxis()->SetTitle(
"x");
   157       fXY->GetYaxis()->SetTitle(
"y");
   161    if ((fZ = dynamic_cast<TH1F *>(fOutput->FindObject(
"histo2")))) {
   165       fZ->GetXaxis()->SetTitle(
"z");
   166       fZ->GetYaxis()->SetTitle(
"N / 0.1");
   172       if ((fR = dynamic_cast<TH1F *>(fOutput->FindObject(
"histo3")))) {
   176          fR->GetXaxis()->SetTitle(
"Tfrnd.r");
   177          fR->GetYaxis()->SetTitle(
"N / 0.2");
   181       if ((fRZ = dynamic_cast<TH2F *>(fOutput->FindObject(
"histo4")))) {
   185          fRZ->GetXaxis()->SetTitle(
"z");
   186          fRZ->GetXaxis()->CenterTitle(1);
   187          fRZ->GetXaxis()->SetTitleOffset(1.5);
   188          fRZ->GetYaxis()->SetTitle(
"Tfrnd.r");
   189          fRZ->GetYaxis()->CenterTitle(1);
   190          fRZ->GetYaxis()->SetTitleOffset(1.75);
   191          fRZ->GetZaxis()->SetTitle(
"N / 0.1 / 0.2");
   192          fRZ->GetZaxis()->SetTitleOffset(1.25);
 
R__EXTERN TStyle * gStyle
 
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
 
virtual void SetBorderMode(Short_t bordermode)
 
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad. 
 
The TNamed class is the base class for all named ROOT classes. 
 
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes. 
 
virtual void SetFillColor(Color_t fcolor)
Set the fill area color. 
 
The most important graphics class in the ROOT system. 
 
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb"...
 
static double p1(double t, double a, double b)
 
Selector to process tree friends. 
 
you should not use this method at all Int_t Int_t z
 
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division. 
 
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. 
 
void SetFrameFillColor(Color_t color=1)
 
Double_t Sqrt(Double_t x)
 
virtual void Update()
Update canvas pad buffers. 
 
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F