GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void TTreeWithConditions::SetDirectory ( TDirectory *  mother_dir_of_watcher,
TDirectory *  mother_dir_tag = 0x0,
Bool_t  load_objects = true 
)
virtual

to change the directory in which watcher's objects are stored

  • if mother_dir_of_watcher == 0x0 all objects are removed from the directory they belong to
  • try to creat a subdir of mother_dir_of_watcher (or check if it already exists) with the name of the watcher in case of success all objects in the pool belongs to the new directory otherwise objects don't belong to any directory

keep current dir in which are the conditions

Reimplemented from Gw::Watcher.

Definition at line 689 of file TTreeWatchers.cpp.