12 #ifndef ROOT_TTreePerfStats 13 #define ROOT_TTreePerfStats 92 virtual void PacketEvent(
const char *,
const char *,
const char *,
94 virtual void FileEvent(
const char *,
const char *,
const char *,
const char *,
Bool_t) {}
100 virtual void SaveAs(
const char *filename=
"",
Option_t *option=
"")
const;
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Return distance to one of the objects in the TTreePerfStats.
virtual void Browse(TBrowser *b)
Browse.
virtual void SetBytesReadExtra(Long64_t nbytes)
virtual void SetDiskTime(Double_t t)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Return distance to one of the objects in the TTreePerfStats.
virtual void FileReadEvent(TFile *file, Int_t len, Double_t start)
Record TTree file read event.
virtual Int_t GetReadCalls() const
TGraphErrors * fGraphIO
pointer to the Tree being monitored
TGraphErrors * GetGraphTime()
virtual void SetNumEvents(Long64_t)
Provides the interface for the PROOF internal performance measurement and event tracing.
virtual void FileOpenEvent(TFile *, const char *, Double_t)
virtual void Finish()
When the run is finished this function must be called to save the current parameters in the file and ...
virtual void SetReadaheadSize(Int_t nbytes)
virtual void Print(Option_t *option="") const
Print the TTree I/O perf stats.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
const char * GetHostInfo() const
virtual Double_t GetUnzipTime() const
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save this object to filename.
virtual void SimpleEvent(EEventType)
virtual void RateEvent(Double_t, Double_t, Long64_t, Long64_t)
virtual void SetCpuTime(Double_t cptime)
#define ClassDef(name, id)
virtual void SetTreeCacheSize(Int_t nbytes)
virtual void SetBytesRead(Long64_t nbytes)
Base class for several text objects.
virtual void SetCompress(Double_t cx)
virtual void SetRealTime(Double_t rtime)
virtual void SetGraphTime(TGraphErrors *gr)
virtual void FileEvent(const char *, const char *, const char *, const char *, Bool_t)
TStopwatch * GetStopwatch() const
virtual void SetGraphIO(TGraphErrors *gr)
const char * GetName() const
Returns name of object.
Using a TBrowser one can browse all ROOT objects.
virtual Int_t GetNleaves() const
virtual Double_t GetRealTime() const
virtual void SetName(const char *name)
virtual void UnzipEvent(TObject *tree, Long64_t pos, Double_t start, Int_t complen, Int_t objlen)
Record TTree unzip event.
virtual ~TTreePerfStats()
Destructor.
virtual Double_t GetCpuTime() const
virtual void SetReadCalls(Int_t ncalls)
TTree I/O performance measurement.
TGraphErrors * GetGraphIO()
virtual void SetNleaves(Int_t nleaves)
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void SetRealNorm(Double_t rnorm)
virtual Long64_t GetNumEvents() const
virtual void SetUnzipTime(Double_t uztime)
virtual Int_t GetTreeCacheSize() const
virtual void PacketEvent(const char *, const char *, const char *, Long64_t, Double_t, Double_t, Double_t, Long64_t)
Mother of all ROOT objects.
virtual void SetHostInfo(const char *info)
virtual void Paint(Option_t *chopt="")
Draw the TTree I/O perf graph.
virtual Long64_t GetBytesRead() const
TTree * fTree
pointer to the file containing the Tree
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
A TGraphErrors is a TGraph with error bars.
TTreePerfStats()
default constructor (used when reading an object only)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
A TTree object has a header with a name and a title.
virtual Long64_t GetBytesReadExtra() const
virtual Int_t GetReadaheadSize() const
TGraphErrors * fGraphTime
virtual Double_t GetDiskTime() const
virtual void Draw(Option_t *option="")
Draw the TTree I/O perf graph.
const char * Data() const