Skip to content

Commit

Permalink
Add TTree::fPrecisionCascasdeSuffix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcanal committed Jun 3, 2022
1 parent ed02e71 commit 8443481
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tree/tree/inc/TTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
std::vector<TBranch*> fSeqBranches; ///<! Branches to be processed sequentially when IMT is on
Float_t fTargetMemoryRatio{1.1f}; ///<! Ratio for memory usage in uncompressed buffers versus actual occupancy. 1.0
/// indicates basket should be resized to exact memory usage, but causes significant
TString fPrecisionCascasdeSuffix{"precisioncascade"};
/// memory churn.
#ifdef R__TRACK_BASKET_ALLOC_TIME
mutable std::atomic<ULong64_t> fAllocationTime{0}; ///<! Time spent reallocating basket memory buffers, in microseconds.
Expand Down Expand Up @@ -499,6 +500,7 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
TObject *GetNotify() const { return fNotify; }
TVirtualTreePlayer *GetPlayer();
virtual Int_t GetPacketSize() const { return fPacketSize; }
const TString& GetPrecisionCascadeFileSuffix() const { return fPrecisionCascasdeSuffix; }
virtual TVirtualPerfStats *GetPerfStats() const { return fPerfStats; }
TTreeCache *GetReadCache(TFile *file) const;
TTreeCache *GetReadCache(TFile *file, Bool_t create);
Expand Down Expand Up @@ -636,6 +638,7 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
virtual void SetObject(const char* name, const char* title);
virtual void SetParallelUnzip(Bool_t opt=kTRUE, Float_t RelSize=-1);
virtual void SetPerfStats(TVirtualPerfStats* perf);
void SetPrecisionCascadeFileSuffix(std::string_view suf) { fPrecisionCascasdeSuffix = suf; }
virtual void SetScanField(Int_t n = 50) { fScanField = n; } // *MENU*
void SetTargetMemoryRatio(Float_t ratio) { fTargetMemoryRatio = ratio; }
virtual void SetTimerInterval(Int_t msec = 333) { fTimerInterval=msec; }
Expand Down

0 comments on commit 8443481

Please sign in to comment.