26 T->Branch(
"v3",&
v,32000,1);
29 v->SetXYZ(
r.Gaus(0,1),
r.Landau(0,1),
r.Gaus(100,10));
41 T->SetBranchAddress(
"v3",&
v);
42 TH1F *
h1 =
new TH1F(
"x",
"x component of Vector3",100,-3,3);
56 T->SetBranchAddress(
"v3",&
v);
57 TBranch *by = T->GetBranch(
"fY");
58 TH1F *h2 =
new TH1F(
"y",
"y component of Vector3",100,-5,20);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
A TTree is a list of TBranches.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all leaves of entry and return total number of bytes read.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
1-D histogram with a float per channel (see TH1 documentation)
This is the base class for the ROOT Random number generators.
A TTree represents a columnar dataset.
void SetXYZ(Double_t x, Double_t y, Double_t z)