12 #ifndef ROOT_TTVSession
13 #define ROOT_TTVSession
50 const char *
GetX()
const {
return fX;}
51 const char *
GetY()
const {
return fY;}
52 const char *
GetZ()
const {
return fZ;}
59 void SetX(
const char *
x =
"",
const char *xal =
"-empty-") {fX =
x; fXAlias = xal;}
60 void SetY(
const char *
y =
"",
const char *yal =
"-empty-") {fY =
y; fYAlias = yal;}
61 void SetZ(
const char *z =
"",
const char *zal =
"-empty-") {fZ = z; fZAlias = zal;}
62 void SetCut(
const char *cut =
"",
const char *cal =
"-empty-") {fCut = cut; fCutAlias = cal;}
63 void SetOption(
const char *option =
"") {fOption = option;}
TTVSession(TTreeViewer *tv)
void SetCut(const char *cut="", const char *cal="-empty-")
void RemoveLastRecord()
Remove current record from list.
#define ClassDef(name, id)
void SetRecordName(const char *name)
Set record name.
void SetUserCode(const char *code, Bool_t autoexec=kTRUE)
void SetOption(const char *option="")
Bool_t MustExecuteCode() const
A graphic user interface designed to handle ROOT trees and to take advantage of TTree class features...
void SaveSource(std::ofstream &out)
Save the TTVSession in a C++ macro file.
const char * GetZ() const
void SetName(const char *name="")
void SetName(const char *name)
I/O classes for TreeViewer session handling.
TTVRecord * GetRecord(Int_t i)
Return record at index i.
void SaveSource(std::ofstream &out)
Save the TTVRecord in a C++ macro file.
virtual const char * GetName() const
Returns name of object.
void SetY(const char *y="", const char *yal="-empty-")
void FormFrom(TTreeViewer *tv)
Populate members from treeviewer tv.
void SetX(const char *x="", const char *xal="-empty-")
const char * GetX() const
const char * GetUserCode() const
void PlugIn(TTreeViewer *tv)
Change treeviewer status to this record.
Mother of all ROOT objects.
Bool_t HasUserCode() const
I/O classes for TreeViewer session handling.
void SetRC(Bool_t redirect=kFALSE, Bool_t cut=kTRUE)
void UpdateRecord(const char *name)
Updates current record according to new X, Y, Z settings.
An array of clone (identical) objects.
const char * GetY() const
TTVRecord * AddRecord(Bool_t fromFile=kFALSE)
Add a record.
void ExecuteUserCode()
Execute user-defined code.
void SetZ(const char *z="", const char *zal="-empty-")
void Show(TTVRecord *rec)
Display record rec.
void SetAutoexec(Bool_t autoexec=kTRUE)
virtual const char * GetName() const
Returns name of object.