12#ifndef ROOT_TTVSession
13#define ROOT_TTVSession
48 const char *
GetX()
const {
return fX;}
49 const char *
GetY()
const {
return fY;}
50 const char *
GetZ()
const {
return fZ;}
57 void SetX(
const char *
x =
"",
const char *xal =
"-empty-") {
fX =
x;
fXAlias = xal;}
58 void SetY(
const char *
y =
"",
const char *yal =
"-empty-") {
fY =
y;
fYAlias = yal;}
59 void SetZ(
const char *z =
"",
const char *zal =
"-empty-") {
fZ = z;
fZAlias = zal;}
#define ClassDef(name, id)
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-")
Bool_t MustExecuteCode() const
void SetOption(const char *option="")
void SetUserCode(const char *code, Bool_t autoexec=kTRUE)
void ExecuteUserCode()
Execute user-defined code.
const char * GetY() const
void SetZ(const char *z="", const char *zal="-empty-")
Bool_t HasUserCode() const
void SetName(const char *name="")
void SaveSource(std::ofstream &out)
Save the TTVRecord in a C++ macro file.
void SetRC(Bool_t redirect=kFALSE, Bool_t cut=kTRUE)
void FormFrom(TTreeViewer *tv)
Populate members from treeviewer tv.
const char * GetX() const
void SetY(const char *y="", const char *yal="-empty-")
virtual const char * GetName() const
Returns name of object.
void SetAutoexec(Bool_t autoexec=kTRUE)
const char * GetUserCode() const
void PlugIn(TTreeViewer *tv)
Change treeviewer status to this record.
TTVRecord()
TTVRecord default constructor.
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.
void SetRecordName(const char *name)
Set record name.
void Show(TTVRecord *rec)
Display record rec.
virtual const char * GetName() const
Returns name of object.
void SetName(const char *name)
void RemoveLastRecord()
Remove current record from list.
TTVRecord * AddRecord(Bool_t fromFile=kFALSE)
Add a record.
void UpdateRecord(const char *name)
Updates current record according to new X, Y, Z settings.
A graphic user interface designed to handle ROOT trees and to take advantage of TTree class features.