60   fX        = 
tv->ExpressionItem(0)->GetTrueName();
 
   61   fXAlias   = 
tv->ExpressionItem(0)->GetAlias();
 
   62   fY        = 
tv->ExpressionItem(1)->GetTrueName();
 
   63   fYAlias   = 
tv->ExpressionItem(1)->GetAlias();
 
   64   fZ        = 
tv->ExpressionItem(2)->GetTrueName();
 
   65   fZAlias   = 
tv->ExpressionItem(2)->GetAlias();
 
   66   fCut      = 
tv->ExpressionItem(3)->GetTrueName();
 
 
   80   item = 
tv->ExpressionItem(0);
 
   82   item = 
tv->ExpressionItem(1);
 
   84   item = 
tv->ExpressionItem(2);
 
   86   item = 
tv->ExpressionItem(3);
 
   92      item->SetSmallPic(
gClient->GetPicture(
"cut_t.xpm"));
 
   94      item->SetSmallPic(
gClient->GetPicture(
"cut-disable_t.xpm"));
 
 
  103   out <<
"//--- tree viewer record"<<std::endl;
 
  104   out <<
"   tv_record = tv_session->AddRecord(true);"<<std::endl;
 
  116      out <<
"   tv_record->fScanRedirected = true;"<<std::endl;
 
  118      out <<
"   tv_record->fScanRedirected = false;"<<std::endl;
 
  120      out <<
"   tv_record->fCutEnabled = true;"<<std::endl;
 
  122      out <<
"   tv_record->fCutEnabled = false;"<<std::endl;
 
  124      out <<
"   tv_record->SetUserCode(\""<<
fUserCode.
Data()<<
"\");"<<std::endl;
 
  126         out <<
"   tv_record->SetAutoexec();"<<std::endl;
 
 
  248   if (rec->HasUserCode() && rec->MustExecuteCode()) rec->ExecuteUserCode();
 
 
  257   out<<
"//--- session object"<<std::endl;
 
  258   out<<
"   TTVSession* tv_session = new TTVSession(treeview);"<<std::endl;
 
  259   out<<
"   treeview->SetSession(tv_session);"<<std::endl;
 
  265   out<<
"//--- Connect first record"<<std::endl;
 
  266   out<<
"   tv_session->First();"<<std::endl;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
TTVSession and TTVRecord - I/O classes for TreeViewer session handling.
An array of clone (identical) objects.
TObject * RemoveAt(Int_t idx) override
Remove object at index idx.
void Delete(Option_t *option="") override
Clear the clones array.
TObject * UncheckedAt(Int_t i) const
friend class TClonesArray
const char * Data() const
This class represent entries that goes into the TreeViewer listview container.
I/O classes for TreeViewer session handling.
TString fName
Name of this record.
TString fCutAlias
Cut alias.
bool fScanRedirected
Redirect switch.
bool fCutEnabled
True if current cut is active.
void ExecuteUserCode()
Execute user-defined code.
void SetName(const char *name="")
void SaveSource(std::ofstream &out)
Save the TTVRecord in a C++ macro file.
bool fAutoexec
Autoexecute user code command.
void FormFrom(TTreeViewer *tv)
Populate members from treeviewer tv.
TString fUserCode
Command executed when record is connected.
const char * GetName() const override
Returns name of object.
void PlugIn(TTreeViewer *tv)
Change treeviewer status to this record.
TTVRecord()
Default constructor.
TString fCut
Cut expression.
TString fOption
Graphic option.
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.
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.
void SetCurrentRecord(Long64_t entry)
void SetHistogramTitle(const char *title)
void ActivateButtons(bool first, bool previous, bool next, bool last)