|
Class Reference for E1039 Core & Analysis Software
|
PHGeomIOTGeo store geometry information to DST files in the format of binary streamed TGeoVolume. It completely owns the geometry object For run-time use of TGeoManager, please use PHGeomTGeo For operation of this class with DST node, please use PHGeomUtility. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/PHGeometry/PHGeomIOTGeo.h>
Inheritance diagram for PHGeomIOTGeo:
Collaboration diagram for PHGeomIOTGeo:Public Member Functions | |
| PHGeomIOTGeo () | |
| PHGeomIOTGeo (const PHGeomIOTGeo &geom) | |
| virtual | ~PHGeomIOTGeo () |
| virtual PHObject * | clone () const |
| Virtual copy constructor. More... | |
| virtual void | identify (std::ostream &os=std::cout) const |
| virtual void | Reset () |
| Clear Event. More... | |
| virtual int | isValid () const |
| isValid returns non zero if object contains vailid data More... | |
| void | SetGeometry (const TGeoVolume *g) |
| PHGeomIOTGeo do NOT own this TGeoVolume * g. Internally, it will use g to make a copy which PHGeomIOTGeo fully owns. More... | |
| TGeoManager * | ConstructTGeoManager () |
| Construct TGeoManager. The result TGeoManager is not yet closed and open for further editing. More... | |
| TGeoVolume * | GetGeometryCopy () |
| std::vector< char > & | GetData () |
| const std::vector< char > & | GetData () const |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor More... | |
| virtual | ~PHObject () |
| dtor More... | |
| virtual int | isValid (const float) const |
| virtual int | isValid (const double) const |
| virtual int | isValid (const int) const |
| virtual int | isValid (const unsigned int) const |
| virtual int | isImplemented (const float f) const |
| virtual int | isImplemented (const double f) const |
| virtual int | isImplemented (const int i) const |
| virtual int | isImplemented (const unsigned int i) const |
| void | SplitLevel (const int i) |
| int | SplitLevel () const |
| void | BufferSize (const int i) |
| int | BufferSize () const |
Protected Attributes | |
| std::vector< char > | Data |
| store the streamed geometry and its streamer via a binary stream More... | |
PHGeomIOTGeo store geometry information to DST files in the format of binary streamed TGeoVolume. It completely owns the geometry object For run-time use of TGeoManager, please use PHGeomTGeo For operation of this class with DST node, please use PHGeomUtility.
Definition at line 25 of file PHGeomIOTGeo.h.
| PHGeomIOTGeo::PHGeomIOTGeo | ( | ) |
Definition at line 23 of file PHGeomIOTGeo.cc.
References PHObject::SplitLevel().
Referenced by clone().
Here is the call graph for this function:
Here is the caller graph for this function:| PHGeomIOTGeo::PHGeomIOTGeo | ( | const PHGeomIOTGeo & | geom | ) |
Definition at line 29 of file PHGeomIOTGeo.cc.
|
virtual |
Definition at line 34 of file PHGeomIOTGeo.cc.
References Reset().
Here is the call graph for this function:
|
virtual |
Virtual copy constructor.
Reimplemented from PHObject.
Definition at line 40 of file PHGeomIOTGeo.cc.
References PHGeomIOTGeo().
Here is the call graph for this function:| TGeoManager * PHGeomIOTGeo::ConstructTGeoManager | ( | ) |
Construct TGeoManager. The result TGeoManager is not yet closed and open for further editing.
Definition at line 82 of file PHGeomIOTGeo.cc.
References GetGeometryCopy(), isValid(), and NULL.
Referenced by PHGeomUtility::LoadFromIONode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 66 of file PHGeomIOTGeo.h.
References Data.
|
inline |
Definition at line 72 of file PHGeomIOTGeo.h.
References Data.
| TGeoVolume * PHGeomIOTGeo::GetGeometryCopy | ( | ) |
Make a copy of TGeoVolume. The caller is responsible for deleting the returned TGeoVolume The caller is also responsible for constructing a valid TGeoManager before calling this function
Definition at line 69 of file PHGeomIOTGeo.cc.
References Data, isValid(), and NULL.
Referenced by ConstructTGeoManager().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
|
virtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Definition at line 131 of file PHGeomIOTGeo.cc.
References Data.
Referenced by ConstructTGeoManager(), GetGeometryCopy(), identify(), and PHGeomUtility::LoadFromIONode().
Here is the caller graph for this function:
|
virtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 124 of file PHGeomIOTGeo.cc.
References Data.
Referenced by ~PHGeomIOTGeo().
Here is the caller graph for this function:| void PHGeomIOTGeo::SetGeometry | ( | const TGeoVolume * | g | ) |
PHGeomIOTGeo do NOT own this TGeoVolume * g. Internally, it will use g to make a copy which PHGeomIOTGeo fully owns.
Definition at line 47 of file PHGeomIOTGeo.cc.
References Data.
Referenced by PHGeomUtility::UpdateIONode().
Here is the caller graph for this function:
|
protected |
store the streamed geometry and its streamer via a binary stream
Definition at line 80 of file PHGeomIOTGeo.h.
Referenced by GetData(), GetGeometryCopy(), identify(), isValid(), Reset(), and SetGeometry().