TTVRecord Class Reference

#include <TTVSession.h>

Inheritance diagram for TTVRecord:

TObject TObject List of all members.

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

Detailed Description

Definition at line 30 of file TTVSession.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 50 of file TTVSession.h.

References fX.

Referenced by TTVSession::AddRecord().

const char* TTVRecord::GetY (  )  const [inline]

Definition at line 51 of file TTVSession.h.

References fY.

Referenced by TTVSession::AddRecord().

const char* TTVRecord::GetZ (  )  const [inline]

Definition at line 52 of file TTVSession.h.

References fZ.

Referenced by TTVSession::AddRecord().

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]

Definition at line 54 of file TTVSession.h.

References fUserCode.

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]

Definition at line 56 of file TTVSession.h.

References fAutoexec.

Referenced by TTVSession::Show().

void TTVRecord::SetAutoexec ( Bool_t  autoexec = kTRUE  )  [inline]

Definition at line 57 of file TTVSession.h.

References fAutoexec.

void TTVRecord::SetName ( const char *  name = ""  )  [inline]

Definition at line 58 of file TTVSession.h.

References fName, and name.

Referenced by TTVSession::SetRecordName().

void TTVRecord::SetX ( const char *  x = "",
const char *  xal = "-empty-" 
) [inline]

Definition at line 59 of file TTVSession.h.

References fX, fXAlias, and x.

void TTVRecord::SetY ( const char *  y = "",
const char *  yal = "-empty-" 
) [inline]

Definition at line 60 of file TTVSession.h.

References fY, fYAlias, and y.

void TTVRecord::SetZ ( const char *  z = "",
const char *  zal = "-empty-" 
) [inline]

Definition at line 61 of file TTVSession.h.

References fZ, and fZAlias.

void TTVRecord::SetCut ( const char *  cut = "",
const char *  cal = "-empty-" 
) [inline]

Definition at line 62 of file TTVSession.h.

References fCut, and fCutAlias.

void TTVRecord::SetOption ( const char *  option = ""  )  [inline]

Definition at line 63 of file TTVSession.h.

References fOption, and option.

void TTVRecord::SetRC ( Bool_t  redirect = kFALSE,
Bool_t  cut = kTRUE 
) [inline]

Definition at line 64 of file TTVSession.h.

References fCutEnabled, fScanRedirected, and redirect().

void TTVRecord::SetUserCode ( const char *  code,
Bool_t  autoexec = kTRUE 
) [inline]

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]

Definition at line 50 of file TTVSession.h.

References fX.

const char* TTVRecord::GetY (  )  const [inline]

Definition at line 51 of file TTVSession.h.

References fY.

const char* TTVRecord::GetZ (  )  const [inline]

Definition at line 52 of file TTVSession.h.

References fZ.

virtual const char* TTVRecord::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 53 of file TTVSession.h.

References fName.

const char* TTVRecord::GetUserCode (  )  const [inline]

Definition at line 54 of file TTVSession.h.

References fUserCode.

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]

Definition at line 56 of file TTVSession.h.

References fAutoexec.

void TTVRecord::SetAutoexec ( Bool_t  autoexec = kTRUE  )  [inline]

Definition at line 57 of file TTVSession.h.

References fAutoexec.

void TTVRecord::SetName ( const char *  name = ""  )  [inline]

Definition at line 58 of file TTVSession.h.

References fName, and name.

void TTVRecord::SetX ( const char *  x = "",
const char *  xal = "-empty-" 
) [inline]

Definition at line 59 of file TTVSession.h.

References fX, fXAlias, and x.

void TTVRecord::SetY ( const char *  y = "",
const char *  yal = "-empty-" 
) [inline]

Definition at line 60 of file TTVSession.h.

References fY, fYAlias, and y.

void TTVRecord::SetZ ( const char *  z = "",
const char *  zal = "-empty-" 
) [inline]

Definition at line 61 of file TTVSession.h.

References fZ, and fZAlias.

void TTVRecord::SetCut ( const char *  cut = "",
const char *  cal = "-empty-" 
) [inline]

Definition at line 62 of file TTVSession.h.

References fCut, and fCutAlias.

void TTVRecord::SetOption ( const char *  option = ""  )  [inline]

Definition at line 63 of file TTVSession.h.

References fOption, and option.

void TTVRecord::SetRC ( Bool_t  redirect = kFALSE,
Bool_t  cut = kTRUE 
) [inline]

Definition at line 64 of file TTVSession.h.

References fCutEnabled, fScanRedirected, and redirect().

void TTVRecord::SetUserCode ( const char *  code,
Bool_t  autoexec = kTRUE 
) [inline]

Definition at line 65 of file TTVSession.h.

References fAutoexec, and fUserCode.

void TTVRecord::SaveSource ( ofstream &  out  ) 


Member Data Documentation

TString TTVRecord::fName

Definition at line 33 of file TTVSession.h.

Referenced by GetName(), and SetName().

TString TTVRecord::fX

Definition at line 34 of file TTVSession.h.

Referenced by FormFrom(), GetX(), PlugIn(), SaveSource(), and SetX().

TString TTVRecord::fXAlias

Definition at line 34 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetX().

TString TTVRecord::fY

Definition at line 35 of file TTVSession.h.

Referenced by FormFrom(), GetY(), PlugIn(), SaveSource(), and SetY().

TString TTVRecord::fYAlias

Definition at line 35 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetY().

TString TTVRecord::fZ

Definition at line 36 of file TTVSession.h.

Referenced by FormFrom(), GetZ(), PlugIn(), SaveSource(), and SetZ().

TString TTVRecord::fZAlias

Definition at line 36 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetZ().

TString TTVRecord::fCut

Definition at line 37 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetCut().

TString TTVRecord::fCutAlias

Definition at line 37 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetCut().

TString TTVRecord::fOption

Definition at line 38 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetOption().

Bool_t TTVRecord::fScanRedirected

Definition at line 39 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetRC().

Bool_t TTVRecord::fCutEnabled

Definition at line 40 of file TTVSession.h.

Referenced by FormFrom(), PlugIn(), SaveSource(), and SetRC().

TString TTVRecord::fUserCode

Definition at line 41 of file TTVSession.h.

Referenced by ExecuteUserCode(), GetUserCode(), HasUserCode(), SaveSource(), and SetUserCode().

Bool_t TTVRecord::fAutoexec

Definition at line 42 of file TTVSession.h.

Referenced by MustExecuteCode(), SaveSource(), SetAutoexec(), and SetUserCode().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:48:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1