58 for(
size_t i = 0; i <
n; ++ i ) {
67 if (
ondisk &&
b->GetZipBytes() > 0) {
73 result += GetBasketSize(
b->GetListOfBranches(),
ondisk,
true);
82 if (
br->GetTree()->GetCurrentFile()) {
83 f.SetCompressionSettings(
br->GetTree()->GetCurrentFile()->GetCompressionSettings());
85 f.WriteObject(
br,
"thisbranch");
86 TKey* key =
f.GetKey(
"thisbranch");
98 for(
size_t i = 0; i <
n; ++ i ) {
100 cerr <<
"After " <<
branches->At( i )->GetName() <<
" " <<
result << endl;
142 return GetTotalSize(t,
true);
156 cout <<
"The branch \"" <<
br->GetName() <<
"\" takes " <<
sizeOnDisk(
br,
true) <<
" bytes on disk\n";
157 size_t n =
br->GetListOfBranches()->GetEntries();
158 for(
size_t i = 0; i <
n; ++ i ) {
160 cout <<
" Its sub-branch \"" <<
subbr->GetName() <<
"\" takes " <<
sizeOnDisk(
subbr,
true) <<
" bytes on disk\n";
166 cout <<
"The TTree \"" << t->
GetName() <<
"\" takes " <<
sizeOnDisk(t) <<
" bytes on disk\n";
168 for(
size_t i = 0; i <
n; ++ i ) {
170 cout <<
" Its branch \"" <<
br->GetName() <<
"\" takes " <<
sizeOnDisk(
br,
true) <<
" bytes on disk\n";
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
A TTree is a list of TBranches.
virtual TKey * GetKey(const char *, Short_t=9999) const
Int_t GetCompressionSettings() const
Book space in a file, create I/O buffers, to fill them, (un)compress them.
A TMemFile is like a normal TFile except that it reads and writes only from memory.
const char * GetName() const override
Returns name of object.
A TTree represents a columnar dataset.
TFile * GetCurrentFile() const
Return pointer to the current file.
TDirectory * GetDirectory() const
virtual TBranchRef * GetBranchRef() const
virtual TObjArray * GetListOfBranches()