Skip to content

Commit 8443481

Browse files
committed
Add TTree::fPrecisionCascasdeSuffix
1 parent ed02e71 commit 8443481

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tree/tree/inc/TTree.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
142142
std::vector<TBranch*> fSeqBranches; ///<! Branches to be processed sequentially when IMT is on
143143
Float_t fTargetMemoryRatio{1.1f}; ///<! Ratio for memory usage in uncompressed buffers versus actual occupancy. 1.0
144144
/// indicates basket should be resized to exact memory usage, but causes significant
145+
TString fPrecisionCascasdeSuffix{"precisioncascade"};
145146
/// memory churn.
146147
#ifdef R__TRACK_BASKET_ALLOC_TIME
147148
mutable std::atomic<ULong64_t> fAllocationTime{0}; ///<! Time spent reallocating basket memory buffers, in microseconds.
@@ -499,6 +500,7 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
499500
TObject *GetNotify() const { return fNotify; }
500501
TVirtualTreePlayer *GetPlayer();
501502
virtual Int_t GetPacketSize() const { return fPacketSize; }
503+
const TString& GetPrecisionCascadeFileSuffix() const { return fPrecisionCascasdeSuffix; }
502504
virtual TVirtualPerfStats *GetPerfStats() const { return fPerfStats; }
503505
TTreeCache *GetReadCache(TFile *file) const;
504506
TTreeCache *GetReadCache(TFile *file, Bool_t create);
@@ -636,6 +638,7 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
636638
virtual void SetObject(const char* name, const char* title);
637639
virtual void SetParallelUnzip(Bool_t opt=kTRUE, Float_t RelSize=-1);
638640
virtual void SetPerfStats(TVirtualPerfStats* perf);
641+
void SetPrecisionCascadeFileSuffix(std::string_view suf) { fPrecisionCascasdeSuffix = suf; }
639642
virtual void SetScanField(Int_t n = 50) { fScanField = n; } // *MENU*
640643
void SetTargetMemoryRatio(Float_t ratio) { fTargetMemoryRatio = ratio; }
641644
virtual void SetTimerInterval(Int_t msec = 333) { fTimerInterval=msec; }

0 commit comments

Comments
 (0)