23      std::stringstream 
cmd;
 
   24      cmd << 
"((TH1 *) " << std::hex << std::showbase << (size_t)obj << 
")->SetDirectory(nullptr);";
 
   25      gROOT->ProcessLine(
cmd.str().c_str());
 
   27      std::stringstream 
cmd;
 
   28      cmd << 
"((TF1 *) " << std::hex << std::showbase << (size_t)obj << 
")->AddToGlobalList(kFALSE);";
 
   29      gROOT->ProcessLine(
cmd.str().c_str());
 
 
   44   } 
else if (
fObj && !
fObj->
IsA()->InheritsFrom(
"TDirectory") && !
fObj->
IsA()->InheritsFrom(
"TTree")) {
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
TObject * fObj
! plain holder without IO
 
void ClearROOTOwnership(TObject *obj)
Check if object is not registered in some global lists Prevent double deletion.
 
void * TakeObject() final
Return TObject instance with ownership If object is not owned by the holder, it will be cloned (excep...
 
bool fOwner
! is TObject owner
 
Mother of all ROOT objects.
 
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
 
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
 
virtual TClass * IsA() const