#include <TLeafI.h>
#include <TLeafC.h>
Go to the source code of this file.
Functions | |
| void | _writeleaf (char *name, char *title, char *type, void *addr) |
| void | _writeleafI (char *name, char *title, Int_t val) |
| void | _writeleafC (char *name, char *title, char *val) |
|
||||||||||||||||||||
|
Definition at line 5 of file tleaf_helpers.h.
00005 {
00006 TLeaf* f=new TLeaf(name,type);
00007 f->SetTitle(title);
00008 f->SetAddress(addr);
00009 f->Write();
00010 delete f;
00011 }
|
|
||||||||||||||||
|
Definition at line 25 of file tleaf_helpers.h.
00025 {
00026 TString tit=" = ";
00027 tit.Append(val);
00028 tit.Append(" (");
00029 tit.Append(title);
00030 tit.Append(")");
00031 TLeafC* f=new TLeafC(name,"/C");
00032 f->SetTitle(tit.Data());
00033 f->SetAddress(val);
00034 f->Write();
00035 delete f;
00036 }
|
|
||||||||||||||||
|
Definition at line 13 of file tleaf_helpers.h.
00013 {
00014 TString tit=" = ";
00015 tit+=val;
00016 tit.Append(" (");
00017 tit.Append(title);
00018 tit.Append(")");
00019 TLeafI* f=new TLeafI(name,"/I");
00020 f->SetTitle(tit.Data());
00021 f->SetAddress(&val);
00022 f->Write();
00023 delete f;
00024 }
|
1.3.2