![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
Helper class to support ROOT persistency of LCDD objects. More...
#include <DD4hepRootPersistency.h>
Public Member Functions | |
DD4hepRootPersistency () | |
Default constructor. More... | |
virtual | ~DD4hepRootPersistency () |
Default destructor. More... | |
ClassDef (DD4hepRootPersistency, 1) | |
ROOT implementation macro. More... | |
![]() | |
void | destroyData (bool destroy_mgr=true) |
Assignment operator. More... | |
void | clearData () |
Clear data content: DOES NOT RELEASEW ALLOCATED RESOURCES! More... | |
void | adoptData (LCDDData &source) |
Adopt all data from source structure. More... | |
Static Public Member Functions | |
static int | save (DD4hep::Geometry::LCDD &lcdd, const char *fname, const char *instance="Geometry") |
static int | load (DD4hep::Geometry::LCDD &lcdd, const char *fname, const char *instance="Geometry") |
Helper class to support ROOT persistency of LCDD objects.
Definition at line 20 of file DD4hepRootPersistency.h.
|
inline |
Default constructor.
Definition at line 23 of file DD4hepRootPersistency.h.
|
inlinevirtual |
Default destructor.
Definition at line 25 of file DD4hepRootPersistency.h.
DD4hepRootPersistency::ClassDef | ( | DD4hepRootPersistency | , |
1 | |||
) |
ROOT implementation macro.
|
static |
Definition at line 45 of file DD4hepRootPersistency.cpp.
References DD4hep::Geometry::LCDDData::clearData(), DD4hep::ERROR, DD4hep::Geometry::LCDDData::LCDDData(), and DD4hep::printout().
|
static |
Definition at line 27 of file DD4hepRootPersistency.cpp.
References DD4hep::Geometry::LCDDData::adoptData(), DD4hep::ALWAYS, DD4hep::ERROR, and DD4hep::printout().