61 if (treename && strchr(treename,
'=')) {
63 char *equal = strchr(temp,
'=');
95 if (treename && strchr(treename,
'=')) {
97 char *equal = strchr(temp,
'=');
112 :
TNamed(friendtree?friendtree->GetName():
"",
114 ? ( friendtree->GetDirectory()
115 ? ( friendtree->GetDirectory()->GetFile()
116 ? friendtree->GetDirectory()->GetFile()->GetName()
138 if (alias && strlen(alias)) {
char * Compress(const char *str)
Remove all blanks from the string str.
Small helper to keep current directory context.
Describe directory structure in memory.
virtual TFile * GetFile() const
void GetObject(const char *namecycle, T *&ptr)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
A TFriendElement TF describes a TTree object TF in a file.
TFriendElement()
Default constructor for a friend element.
virtual void ls(Option_t *option="") const
List this friend element.
TFile * fFile
! pointer to the file containing the friend TTree
virtual const char * GetTreeName() const
Bool_t fOwnFile
true if file is managed by this class
TTree * fTree
! pointer to the TTree described by this element
virtual TTree * GetTree()
Return pointer to friend TTree.
virtual TFile * GetFile()
Return pointer to TFile containing this friend TTree.
virtual TTree * Connect()
Connect file and return TTree.
virtual void RecursiveRemove(TObject *obj)
Forget deleted elements.
virtual TTree * DisConnect()
DisConnect file and TTree.
TTree * fParentTree
! pointer to the parent TTree
virtual ~TFriendElement()
Destructor. Disconnect from the owning tree if needed.
TString fTreeName
name of the friend TTree
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
R__ALWAYS_INLINE Bool_t IsZombie() const
A TTree represents a columnar dataset.
TDirectory * GetDirectory() const
virtual TTree * GetTree() const
virtual void RegisterExternalFriend(TFriendElement *)
Record a TFriendElement that we need to warn when the chain switches to a new file (typically this is...
virtual void RemoveExternalFriend(TFriendElement *)
Removes external friend.