12#ifndef ROOT_TTVSession 
   13#define ROOT_TTVSession 
   54   const char    *
GetX()
 const {
return fX;}
 
   55   const char    *
GetY()
 const {
return fY;}
 
   56   const char    *
GetZ()
 const {
return fZ;}
 
 
#define ClassDefOverride(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
An array of clone (identical) objects.
 
Mother of all ROOT objects.
 
I/O classes for TreeViewer session handling.
 
void SetX(const char *x="", const char *xal="-empty-")
 
void SetOption(const char *option="")
 
TString fName
Name of this record.
 
void SetRC(bool redirect=false, bool cut=true)
 
TString fCutAlias
Cut alias.
 
bool fScanRedirected
Redirect switch.
 
bool fCutEnabled
True if current cut is active.
 
void ExecuteUserCode()
Execute user-defined code.
 
const char * GetY() const
 
void SetZ(const char *z="", const char *zal="-empty-")
 
bool MustExecuteCode() const
 
void SetName(const char *name="")
 
void SetAutoexec(bool autoexec=true)
 
void SaveSource(std::ofstream &out)
Save the TTVRecord in a C++ macro file.
 
bool fAutoexec
Autoexecute user code command.
 
void SetUserCode(const char *code, bool autoexec=true)
 
void FormFrom(TTreeViewer *tv)
Populate members from treeviewer tv.
 
const char * GetX() const
 
void SetY(const char *y="", const char *yal="-empty-")
 
TString fUserCode
Command executed when record is connected.
 
const char * GetName() const override
Returns name of object.
 
const char * GetUserCode() const
 
void PlugIn(TTreeViewer *tv)
Change treeviewer status to this record.
 
TTVRecord()
Default constructor.
 
TString fCut
Cut expression.
 
TString fOption
Graphic option.
 
~TTVRecord() override
Destructor.
 
void SetCut(const char *cut="", const char *cal="-empty-")
 
const char * GetZ() const
 
I/O classes for TreeViewer session handling.
 
TTVSession(TTreeViewer *tv)
Constructor.
 
void SaveSource(std::ofstream &out)
Save the TTVSession in a C++ macro file.
 
TTVRecord * GetRecord(Int_t i)
Return record at index i.
 
TTreeViewer * fViewer
Associated tree viewer.
 
void SetRecordName(const char *name)
Set record name.
 
void Show(TTVRecord *rec)
Display record rec.
 
TTVRecord * AddRecord(bool fromFile=false)
Add a record.
 
TClonesArray * fList
List of TV records.
 
Int_t fCurrent
Index of current record.
 
const char * GetName() const override
Returns name of object.
 
void SetName(const char *name)
 
TString fName
Name of this session.
 
~TTVSession() override
Destructor.
 
void RemoveLastRecord()
Remove current record from list.
 
void UpdateRecord(const char *name)
Updates current record according to new X, Y, Z settings.
 
Int_t fRecords
Number of records.
 
A graphic user interface designed to handle ROOT trees and to take advantage of TTree class features.