30 namespace std {}
using namespace std;
45 Update(TTree *newtree) : fNewTree(newtree) {}
51 TBranchProxyDirector::TBranchProxyDirector(TTree*
tree,
Long64_t i) :
89 TString opt( options );
90 Bool_t optSame = opt.Contains(
"same");
91 if (optSame) canExtend =
kFALSE;
93 if (
gPad && optSame) {
97 while ((op = np()) && !oldhtemp) {
105 vmin =
gPad->GetUxmin();
106 vmax =
gPad->GetUxmax();
113 TH1F *hist =
new TH1F(
"htemp",
"htemp",nbins,vmin,vmax);
127 if (opt.Length() && opt.Contains(
"e")) hist->
Sumw2();
146 TTree* oldtree =
fTree;
TTree * SetTree(TTree *newtree)
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
Namespace for new ROOT classes and functions.
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
tomato 1-D histogram with a float per channel (see TH1 documentation)}
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
void SetReadEntry(Long64_t entry)
TRObject operator()(const T1 &t1) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
TH1F * CreateHistogram(const char *options)
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
std::list< TFriendProxy * > fFriends
virtual void SetLineColor(Color_t lcolor)
Set the line color.
std::list< Detail::TBranchProxy * > fDirected
void ResetReadEntry()
Refresh the cached read entry number from the original tree.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual Int_t GetValue(const char *name, Int_t dflt)
Returns the integer value for a resource.
void Update(TTree *newmain)
Update the address of the underlying tree.
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
void ResetReadEntry(TFriendProxy *x)
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
void Reset(Detail::TBranchProxy *x)
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual UInt_t SetCanExtend(UInt_t extendBitMask)
Make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
Mother of all ROOT objects.
TBranchProxyDirector(const TBranchProxyDirector &)
virtual void Sumw2(Bool_t flag=kTRUE)
Create structure to store sum of squares of weights.
Base class for all the proxy object.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
void Attach(Detail::TBranchProxy *p)