33void tclwrite(
Int_t split)
37 TFile f(
"tcl.root",
"recreate");
38 f.SetCompressionLevel(1);
39 TTree T(
"T",
"test tcl");
42 T.Branch(
"tcl",&arr,256000,split);
49 for (
Int_t ev=0;ev<10000;ev++) {
52 if(nlines < 0) nlines = 1;
73 TH2F *
h2 =
new TH2F(
"h2",
"center of lines",40,0,1,40,0,1);
76 T->GetBranch(
"tcl")->SetAutoDelete(
kFALSE);
77 T->SetBranchAddress(
"tcl",&arr);
91void tcl(
Int_t split=0)
R__EXTERN TBenchmark * gBenchmark
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
R__EXTERN TRandom * gRandom
An array of clone (identical) objects.
void BypassStreamer(Bool_t bypass=kTRUE)
When the kBypassStreamer bit is set, the automatically generated Streamer can call directly TClass::W...
void Clear(Option_t *option="") override
Clear the clones array.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
2-D histogram with a float per channel (see TH1 documentation)
Use the TLine constructor to create a simple line.
Int_t GetEntriesFast() const
TObject * At(Int_t idx) const override
A TTree represents a columnar dataset.