#include <TTVSession.h>
Inheritance diagram for TTVRecord:
Public Member Functions | |
TTVRecord () | |
~TTVRecord () | |
void | ExecuteUserCode () |
void | FormFrom (TTreeViewer *tv) |
void | PlugIn (TTreeViewer *tv) |
const char * | GetX () const |
const char * | GetY () const |
const char * | GetZ () const |
virtual const char * | GetName () const |
const char * | GetUserCode () const |
Bool_t | HasUserCode () const |
Bool_t | MustExecuteCode () const |
void | SetAutoexec (Bool_t autoexec=kTRUE) |
void | SetName (const char *name="") |
void | SetX (const char *x="", const char *xal="-empty-") |
void | SetY (const char *y="", const char *yal="-empty-") |
void | SetZ (const char *z="", const char *zal="-empty-") |
void | SetCut (const char *cut="", const char *cal="-empty-") |
void | SetOption (const char *option="") |
void | SetRC (Bool_t redirect=kFALSE, Bool_t cut=kTRUE) |
void | SetUserCode (const char *code, Bool_t autoexec=kTRUE) |
void | SaveSource (ofstream &out) |
TTVRecord () | |
~TTVRecord () | |
void | ExecuteUserCode () |
void | FormFrom (TTreeViewer *tv) |
void | PlugIn (TTreeViewer *tv) |
const char * | GetX () const |
const char * | GetY () const |
const char * | GetZ () const |
virtual const char * | GetName () const |
const char * | GetUserCode () const |
Bool_t | HasUserCode () const |
Bool_t | MustExecuteCode () const |
void | SetAutoexec (Bool_t autoexec=kTRUE) |
void | SetName (const char *name="") |
void | SetX (const char *x="", const char *xal="-empty-") |
void | SetY (const char *y="", const char *yal="-empty-") |
void | SetZ (const char *z="", const char *zal="-empty-") |
void | SetCut (const char *cut="", const char *cal="-empty-") |
void | SetOption (const char *option="") |
void | SetRC (Bool_t redirect=kFALSE, Bool_t cut=kTRUE) |
void | SetUserCode (const char *code, Bool_t autoexec=kTRUE) |
void | SaveSource (ofstream &out) |
Public Attributes | |
TString | fName |
TString | fX |
TString | fXAlias |
TString | fY |
TString | fYAlias |
TString | fZ |
TString | fZAlias |
TString | fCut |
TString | fCutAlias |
TString | fOption |
Bool_t | fScanRedirected |
Bool_t | fCutEnabled |
TString | fUserCode |
Bool_t | fAutoexec |
Definition at line 30 of file TTVSession.h.
TTVRecord::TTVRecord | ( | ) |
TTVRecord::~TTVRecord | ( | ) | [inline] |
Definition at line 45 of file TTVSession.h.
TTVRecord::TTVRecord | ( | ) |
TTVRecord::~TTVRecord | ( | ) | [inline] |
Definition at line 45 of file TTVSession.h.
void TTVRecord::ExecuteUserCode | ( | ) |
Definition at line 35 of file TTVSession.cxx.
References TString::Data(), fUserCode, gInterpreter, TString::Length(), and snprintf.
Referenced by TTVSession::Show().
void TTVRecord::FormFrom | ( | TTreeViewer * | tv | ) |
Definition at line 47 of file TTVSession.cxx.
References TTreeViewer::ExpressionItem(), fCut, fCutAlias, fCutEnabled, fOption, fScanRedirected, fX, fXAlias, fY, fYAlias, fZ, fZAlias, TTVLVEntry::GetAlias(), TTreeViewer::GetGrOpt(), TTVLVEntry::GetTrueName(), TTreeViewer::IsCutEnabled(), and TTreeViewer::IsScanRedirected().
Referenced by TTVSession::AddRecord(), and TTVSession::UpdateRecord().
void TTVRecord::PlugIn | ( | TTreeViewer * | tv | ) |
Definition at line 65 of file TTVSession.cxx.
References TString::Data(), TTreeViewer::ExpressionItem(), fCut, fCutAlias, fCutEnabled, fOption, fScanRedirected, fX, fXAlias, fY, fYAlias, fZ, fZAlias, gClient, TGClient::GetPicture(), TTreeViewer::SetCutMode(), TTVLVEntry::SetExpression(), TTreeViewer::SetGrOpt(), TTreeViewer::SetScanRedirect(), and TTVLVEntry::SetSmallPic().
Referenced by TTVSession::Show().
const char* TTVRecord::GetX | ( | void | ) | const [inline] |
const char* TTVRecord::GetY | ( | ) | const [inline] |
const char* TTVRecord::GetZ | ( | ) | const [inline] |
virtual const char* TTVRecord::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 53 of file TTVSession.h.
References fName.
Referenced by SaveSource(), TTVSession::Show(), and TTreeViewer::UpdateCombo().
const char* TTVRecord::GetUserCode | ( | ) | const [inline] |
Bool_t TTVRecord::HasUserCode | ( | ) | const [inline] |
Definition at line 55 of file TTVSession.h.
References fUserCode, kFALSE, kTRUE, and TString::Length().
Referenced by TTVSession::Show().
Bool_t TTVRecord::MustExecuteCode | ( | ) | const [inline] |
void TTVRecord::SetName | ( | const char * | name = "" |
) | [inline] |
void TTVRecord::SetX | ( | const char * | x = "" , |
|
const char * | xal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetY | ( | const char * | y = "" , |
|
const char * | yal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetZ | ( | const char * | z = "" , |
|
const char * | zal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetCut | ( | const char * | cut = "" , |
|
const char * | cal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetOption | ( | const char * | option = "" |
) | [inline] |
Definition at line 64 of file TTVSession.h.
References fCutEnabled, fScanRedirected, and redirect().
Definition at line 65 of file TTVSession.h.
References fAutoexec, and fUserCode.
Referenced by TTreeViewer::SetUserCode().
void TTVRecord::SaveSource | ( | ofstream & | out | ) |
Definition at line 88 of file TTVSession.cxx.
References TString::Data(), fAutoexec, fCut, fCutAlias, fCutEnabled, fOption, fScanRedirected, fUserCode, fX, fXAlias, fY, fYAlias, fZ, fZAlias, GetName(), and TString::Length().
Referenced by TTVSession::SaveSource().
void TTVRecord::ExecuteUserCode | ( | ) |
void TTVRecord::FormFrom | ( | TTreeViewer * | tv | ) |
void TTVRecord::PlugIn | ( | TTreeViewer * | tv | ) |
const char* TTVRecord::GetX | ( | void | ) | const [inline] |
const char* TTVRecord::GetY | ( | ) | const [inline] |
const char* TTVRecord::GetZ | ( | ) | const [inline] |
virtual const char* TTVRecord::GetName | ( | ) | const [inline, virtual] |
const char* TTVRecord::GetUserCode | ( | ) | const [inline] |
Bool_t TTVRecord::HasUserCode | ( | ) | const [inline] |
Definition at line 55 of file TTVSession.h.
References fUserCode, kFALSE, kTRUE, and TString::Length().
Bool_t TTVRecord::MustExecuteCode | ( | ) | const [inline] |
void TTVRecord::SetName | ( | const char * | name = "" |
) | [inline] |
void TTVRecord::SetX | ( | const char * | x = "" , |
|
const char * | xal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetY | ( | const char * | y = "" , |
|
const char * | yal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetZ | ( | const char * | z = "" , |
|
const char * | zal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetCut | ( | const char * | cut = "" , |
|
const char * | cal = "-empty-" | |||
) | [inline] |
void TTVRecord::SetOption | ( | const char * | option = "" |
) | [inline] |
Definition at line 64 of file TTVSession.h.
References fCutEnabled, fScanRedirected, and redirect().
void TTVRecord::SaveSource | ( | ofstream & | out | ) |
Definition at line 34 of file TTVSession.h.
Referenced by FormFrom(), GetX(), PlugIn(), SaveSource(), and SetX().
Definition at line 34 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetX().
Definition at line 35 of file TTVSession.h.
Referenced by FormFrom(), GetY(), PlugIn(), SaveSource(), and SetY().
Definition at line 35 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetY().
Definition at line 36 of file TTVSession.h.
Referenced by FormFrom(), GetZ(), PlugIn(), SaveSource(), and SetZ().
Definition at line 36 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetZ().
Definition at line 37 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetCut().
Definition at line 37 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetCut().
Definition at line 38 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetOption().
Definition at line 39 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetRC().
Definition at line 40 of file TTVSession.h.
Referenced by FormFrom(), PlugIn(), SaveSource(), and SetRC().
Definition at line 41 of file TTVSession.h.
Referenced by ExecuteUserCode(), GetUserCode(), HasUserCode(), SaveSource(), and SetUserCode().
Definition at line 42 of file TTVSession.h.
Referenced by MustExecuteCode(), SaveSource(), SetAutoexec(), and SetUserCode().