ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/G4HepRepSceneHandler.hh>
Static Private Attributes | |
static G4int | sceneIdCount = 0 |
Additional Inherited Members | |
Public Types inherited from G4VSceneHandler | |
enum | MarkerSizeType { world, screen } |
Protected Member Functions inherited from G4VSceneHandler | |
virtual void | ProcessScene () |
virtual void | RequestPrimitives (const G4VSolid &solid) |
virtual G4DisplacedSolid * | CreateSectionSolid () |
virtual G4DisplacedSolid * | CreateCutawaySolid () |
void | LoadAtts (const G4Visible &, G4AttHolder *) |
Protected Attributes inherited from G4VSceneHandler | |
G4VGraphicsSystem & | fSystem |
const G4int | fSceneHandlerId |
G4String | fName |
G4int | fViewCount |
G4ViewerList | fViewerList |
G4VViewer * | fpViewer |
G4Scene * | fpScene |
G4bool | fMarkForClearingTransientStore |
G4bool | fReadyForTransients |
G4bool | fTransientsDrawnThisEvent |
G4bool | fTransientsDrawnThisRun |
G4bool | fProcessingSolid |
G4bool | fProcessing2D |
G4VModel * | fpModel |
G4Transform3D | fObjectTransformation |
G4int | fNestingDepth |
const G4VisAttributes * | fpVisAttribs |
const G4Transform3D | fIdentityTransformation |
Definition at line 63 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 63 of file G4HepRepSceneHandler.hh
G4HepRepSceneHandler::G4HepRepSceneHandler | ( | G4VGraphicsSystem & | system, |
const G4String & | name = "" |
||
) |
Definition at line 92 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 92 of file G4HepRepSceneHandler.cc
References factory, kStateGas, kStateLiquid, kStateSolid, kStateUndefined, materialState, openHepRep(), and writer.
|
virtual |
Definition at line 134 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 134 of file G4HepRepSceneHandler.cc
References close(), factory, G4VSceneHandler::GetGraphicsSystem(), and G4HepRep::removeSceneHandler().
|
private |
|
private |
Definition at line 1302 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1302 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepDefinition::addAttDef().
Referenced by addAttributes().
|
private |
Definition at line 1142 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1142 of file G4HepRepSceneHandler.cc
References addAttDefs(), addAttVals(), HEPREP::HepRepAttribute::addAttValue(), G4VHit::CreateAttValues(), G4VTrajectory::CreateAttValues(), currentHit, currentTrack, G4VHit::GetAttDefs(), G4VTrajectory::GetAttDefs(), and getHitType().
Referenced by AddPrimitive(), and AddSolid().
|
private |
Definition at line 1314 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1314 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepPoint::getX(), in, int(), pos(), and setAttribute().
Referenced by addAttributes().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1005 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1005 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddCompound(), currentTrack, and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 1017 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1017 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddCompound(), currentHit, and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 86 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 86 of file G4HepRepSceneHandler.hh
References G4VSceneHandler::AddCompound().
|
inlinevirtual |
Reimplemented from G4VSceneHandler.
Definition at line 89 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 89 of file G4HepRepSceneHandler.hh
References G4VSceneHandler::AddCompound().
|
inlinevirtual |
Reimplemented from G4VSceneHandler.
Definition at line 92 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 92 of file G4HepRepSceneHandler.hh
References G4VSceneHandler::AddCompound().
|
virtual |
Implements G4VSceneHandler.
Definition at line 755 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 755 of file G4HepRepSceneHandler.cc
References addAttributes(), HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), factory, G4VSceneHandler::fProcessing2D, G4VSceneHandler::fpVisAttribs, G4Exception(), G4VSceneHandler::GetColor(), getEventInstance(), getTrajectoryType(), G4Visible::GetVisAttributes(), instance, JustWarning, setColor(), setLine(), setVisibility(), transform, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Implements G4VSceneHandler.
Definition at line 943 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 943 of file G4HepRepSceneHandler.cc
References dontWrite().
Implements G4VSceneHandler.
Definition at line 844 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 844 of file G4HepRepSceneHandler.cc
References addAttributes(), HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), factory, G4VSceneHandler::fProcessing2D, G4VSceneHandler::fpVisAttribs, G4Exception(), G4VSceneHandler::GetColor(), getEventInstance(), getHitType(), G4VMarker::GetPosition(), G4Visible::GetVisAttributes(), instance, JustWarning, setColor(), setMarker(), setVisibility(), transform, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Implements G4VSceneHandler.
Definition at line 967 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 967 of file G4HepRepSceneHandler.cc
References addAttributes(), HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), factory, G4VSceneHandler::fProcessing2D, G4Exception(), getColorFor(), getEventInstance(), getHitType(), G4VMarker::GetPosition(), instance, JustWarning, setColor(), setMarker(), setVisibility(), transform, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
virtual |
Implements G4VSceneHandler.
Definition at line 879 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 879 of file G4HepRepSceneHandler.cc
References addAttributes(), HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), factory, G4VSceneHandler::fpModel, G4VSceneHandler::fProcessing2D, G4VSceneHandler::fpVisAttribs, G4Exception(), getCalHitFaceType(), getCalHitType(), G4VSceneHandler::GetColor(), G4PhysicalVolumeModel::GetCurrentDepth(), getGeometryInstance(), getGeometryOrEventInstance(), HepPolyhedron::GetNextNormal(), HepPolyhedron::GetNextVertex(), HepPolyhedron::GetNoFacets(), G4Visible::GetVisAttributes(), instance, isEventData(), JustWarning, setAttribute(), setColor(), setLine(), setVisibility(), and transform.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 792 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 792 of file G4HepRepSceneHandler.cc
References addAttributes(), G4Polymarker::circles, HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), G4Polymarker::dots, factory, G4VSceneHandler::fProcessing2D, G4VSceneHandler::fpVisAttribs, G4Exception(), G4VSceneHandler::GetColor(), getEventInstance(), getHitType(), G4Polymarker::GetMarkerType(), G4Visible::GetVisAttributes(), instance, JustWarning, setAttribute(), setColor(), setMarker(), setVisibility(), G4Polymarker::squares, transform, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Reimplemented from G4VSceneHandler.
Definition at line 1000 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1000 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddPrimitive(), and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 467 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 467 of file G4HepRepSceneHandler.cc
References addAttributes(), G4VSceneHandler::AddSolid(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), dx, dy, dz, factory, getCalHitType(), getColorFor(), getGeometryOrEventInstance(), G4HepRepMessenger::GetInstance(), G4Box::GetXHalfLength(), G4Box::GetYHalfLength(), G4Box::GetZHalfLength(), instance, setAttribute(), setColor(), setLine(), setVisibility(), transform, G4HepRepMessenger::useSolids(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Reimplemented from G4VSceneHandler.
Definition at line 523 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 523 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), G4VSceneHandler::AddSolid(), HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), factory, G4VSceneHandler::fpModel, getColorFor(), G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentLV(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4Cons::GetDeltaPhiAngle(), getGeometryInstance(), getGeometryType(), G4Cons::GetInnerRadiusMinusZ(), G4Cons::GetInnerRadiusPlusZ(), G4HepRepMessenger::GetInstance(), G4LogicalVolume::GetName(), G4Cons::GetOuterRadiusMinusZ(), G4Cons::GetOuterRadiusPlusZ(), G4Cons::GetZHalfLength(), instance, setAttribute(), setColor(), setLine(), setVisibility(), transform, twopi, G4HepRepMessenger::useSolids(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Reimplemented from G4VSceneHandler.
Definition at line 587 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 587 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), G4VSceneHandler::AddSolid(), HEPREP::HepRepFactory::createHepRepInstance(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), factory, G4VSceneHandler::fpModel, getColorFor(), G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentLV(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4Tubs::GetDeltaPhiAngle(), getGeometryInstance(), getGeometryType(), G4Tubs::GetInnerRadius(), G4HepRepMessenger::GetInstance(), G4LogicalVolume::GetName(), G4Tubs::GetOuterRadius(), G4Tubs::GetZHalfLength(), instance, setAttribute(), setColor(), setLine(), setVisibility(), transform, twopi, G4HepRepMessenger::useSolids(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Reimplemented from G4VSceneHandler.
Definition at line 647 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 647 of file G4HepRepSceneHandler.cc
References addAttributes(), G4VSceneHandler::AddSolid(), HEPREP::HepRepFactory::createHepRepPoint(), dontWrite(), dz, factory, getCalHitType(), getColorFor(), getGeometryOrEventInstance(), G4HepRepMessenger::GetInstance(), G4Trd::GetXHalfLength1(), G4Trd::GetXHalfLength2(), G4Trd::GetYHalfLength1(), G4Trd::GetYHalfLength2(), G4Trd::GetZHalfLength(), instance, setAttribute(), setColor(), setLine(), setVisibility(), transform, G4HepRepMessenger::useSolids(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Reimplemented from G4VSceneHandler.
Definition at line 704 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 704 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 709 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 709 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 714 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 714 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 719 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 719 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 724 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 724 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 729 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 729 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 734 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 734 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 739 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 739 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 744 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 744 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
Reimplemented from G4VSceneHandler.
Definition at line 749 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 749 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::AddSolid(), and dontWrite().
|
private |
Definition at line 1408 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1408 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepDefinition::addAttDef(), HEPREP::HepRepAttribute::addAttValue(), G4Date, G4Version, G4VSceneHandler::GetCurrentViewer(), G4HepRepMessenger::GetInstance(), G4VViewer::GetViewParameters(), G4ViewParameters::GetViewpointDirection(), G4ViewParameters::GetZoomFactor(), Dataset::parameters, HepGeom::BasicVector3D< T >::phi(), HepGeom::BasicVector3D< T >::theta(), G4HepRepMessenger::useSolids(), and G4HepRepMessenger::writeInvisibles().
Referenced by getEventType(), and getGeometryRootType().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 452 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 452 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::BeginModeling().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1048 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1048 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::BeginPrimitives(), and transform.
Definition at line 412 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 412 of file G4HepRepSceneHandler.cc
References closeFile(), closeHepRep(), G4VSceneHandler::GetCurrentViewer(), G4HepRepViewer::reset(), writeMultipleFiles, and writer.
Referenced by ~G4HepRepSceneHandler().
void G4HepRepSceneHandler::closeFile | ( | ) |
Definition at line 434 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 434 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepWriter::close(), out, and writer.
Referenced by close(), and closeHepRep().
bool G4HepRepSceneHandler::closeHepRep | ( | bool | final = false | ) |
Returns true if the HepRep was (already) closed, false if the HepRep is still open
Definition at line 294 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 294 of file G4HepRepSceneHandler.cc
References _eventInstanceTree, _geometryInstanceTree, _heprep, _heprepGeometry, HEPREP::HepRepInstanceTree::addInstanceTree(), HEPREP::HepRepWriter::addProperty(), G4HepRepMessenger::appendGeometry(), baseName, closeFile(), HEPREP::HepRepFactory::createHepRepTreeID(), G4VViewer::DrawView(), eventNumber, eventNumberPrefix, eventNumberSuffix, eventNumberWidth, extension, factory, getCalHitFaceType(), getCalHitType(), G4VSceneHandler::GetCurrentViewer(), getEventInstanceTree(), getEventType(), getGeometryInstanceTree(), getHitType(), G4HepRepMessenger::GetInstance(), G4VSceneHandler::GetName(), G4VSceneHandler::GetScene(), getTrajectoryType(), open(), openFile(), HEPREP::HepRepWriter::write(), writeBinary, writeLayers(), writeMultipleFiles, and writer.
Referenced by close(), and G4HepRepViewer::ShowView().
|
private |
Definition at line 1066 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1066 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::fpVisAttribs, G4HepRepMessenger::GetInstance(), G4VisAttributes::IsVisible(), and G4HepRepMessenger::writeInvisibles().
Referenced by AddCompound(), AddPrimitive(), and AddSolid().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 460 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 460 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::EndModeling().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1058 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1058 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::EndPrimitives().
|
private |
Definition at line 1754 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1754 of file G4HepRepSceneHandler.cc
References _calHitFaceType, HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepFactory::createHepRepType(), factory, and getCalHitType().
Referenced by AddPrimitive(), and closeHepRep().
|
private |
Definition at line 1744 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1744 of file G4HepRepSceneHandler.cc
References _calHitType, HEPREP::HepRepAttribute::addAttValue(), calHitLayer, HEPREP::HepRepFactory::createHepRepType(), factory, and getEventType().
Referenced by AddPrimitive(), AddSolid(), closeHepRep(), and getCalHitFaceType().
Definition at line 1088 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1088 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::fpVisAttribs, G4VSceneHandler::GetColor(), and G4Visible::GetVisAttributes().
Referenced by AddPrimitive(), and AddSolid().
Definition at line 1083 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1083 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::GetColor().
|
private |
Definition at line 1670 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1670 of file G4HepRepSceneHandler.cc
References _eventInstance, HEPREP::HepRepFactory::createHepRepInstance(), factory, getEventInstanceTree(), and getEventType().
Referenced by AddPrimitive(), and getGeometryOrEventInstance().
|
private |
Definition at line 1661 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1661 of file G4HepRepSceneHandler.cc
References _eventInstanceTree, HEPREP::HepRep::addInstanceTree(), HEPREP::HepRepFactory::createHepRepInstanceTree(), factory, getEventTypeTree(), and getHepRep().
Referenced by closeHepRep(), and getEventInstance().
|
private |
Definition at line 1689 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1689 of file G4HepRepSceneHandler.cc
References _eventType, HEPREP::HepRepAttribute::addAttValue(), addTopLevelAttributes(), HEPREP::HepRepFactory::createHepRepType(), eventLayer, factory, and getEventTypeTree().
Referenced by closeHepRep(), getCalHitType(), getEventInstance(), getHitType(), and getTrajectoryType().
|
private |
Definition at line 1678 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1678 of file G4HepRepSceneHandler.cc
References _eventTypeTree, HEPREP::HepRep::addTypeTree(), HEPREP::HepRepFactory::createHepRepTreeID(), HEPREP::HepRepFactory::createHepRepTypeTree(), factory, and getHepRep().
Referenced by getEventInstanceTree(), and getEventType().
Definition at line 1632 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1632 of file G4HepRepSceneHandler.cc
References _geometryType, _geometryTypeName, HEPREP::HepRepFactory::createHepRepType(), factory, getGeometryRootType(), and rootVolumeName.
Referenced by getGeometryType().
|
private |
Definition at line 1507 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1507 of file G4HepRepSceneHandler.cc
References G4Material::GetDensity(), G4VSolid::GetEntityType(), G4VSolid::GetName(), G4Material::GetName(), G4LogicalVolume::GetName(), G4Material::GetRadlen(), G4LogicalVolume::GetRegion(), G4LogicalVolume::GetSolid(), G4Material::GetState(), instance, G4LogicalVolume::IsRootRegion(), kStateUndefined, materialState, and setAttribute().
Referenced by AddPrimitive(), AddSolid(), and getGeometryOrEventInstance().
|
private |
Definition at line 1531 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1531 of file G4HepRepSceneHandler.cc
References _geometryInstance, HEPREP::HepRepFactory::createHepRepInstance(), factory, getGeometryRootInstance(), getGeometryType(), and instance.
|
private |
Definition at line 1484 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1484 of file G4HepRepSceneHandler.cc
References _geometryInstanceTree, HEPREP::HepRep::addInstanceTree(), G4HepRepMessenger::appendGeometry(), HEPREP::HepRepFactory::createHepRepInstanceTree(), factory, getGeometryTypeTree(), getHepRep(), getHepRepGeometry(), and G4HepRepMessenger::GetInstance().
Referenced by closeHepRep(), and getGeometryRootInstance().
|
private |
Definition at line 1454 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1454 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepFactory::createHepRepInstance(), factory, G4VSceneHandler::fpModel, G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentLV(), G4PhysicalVolumeModel::GetCurrentMaterial(), getEventInstance(), getGeometryInstance(), and isEventData().
Referenced by AddPrimitive(), and AddSolid().
|
private |
Definition at line 1499 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1499 of file G4HepRepSceneHandler.cc
References _geometryRootInstance, HEPREP::HepRepFactory::createHepRepInstance(), factory, getGeometryInstanceTree(), and getGeometryRootType().
Referenced by getGeometryInstance().
|
private |
Definition at line 1568 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1568 of file G4HepRepSceneHandler.cc
References _geometryRootType, _geometryType, HEPREP::HepRepDefinition::addAttDef(), HEPREP::HepRepAttribute::addAttValue(), addTopLevelAttributes(), HEPREP::HepRepFactory::createHepRepType(), factory, geometryLayer, getGeometryTypeTree(), HEPREP::HepRepType::getName(), and rootVolumeName.
Referenced by getFullTypeName(), getGeometryRootInstance(), and getGeometryType().
|
private |
Definition at line 1613 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1613 of file G4HepRepSceneHandler.cc
References _geometryType, HEPREP::HepRepFactory::createHepRepType(), factory, getFullTypeName(), getGeometryRootType(), and getParentTypeName().
Referenced by AddSolid(), and getGeometryInstance().
|
private |
Definition at line 1552 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1552 of file G4HepRepSceneHandler.cc
References _geometryTypeTree, HEPREP::HepRep::addTypeTree(), G4HepRepMessenger::appendGeometry(), HEPREP::HepRepFactory::createHepRepTreeID(), HEPREP::HepRepFactory::createHepRepTypeTree(), factory, getHepRep(), getHepRepGeometry(), and G4HepRepMessenger::GetInstance().
Referenced by getGeometryInstanceTree(), and getGeometryRootType().
|
private |
Definition at line 1468 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1468 of file G4HepRepSceneHandler.cc
References _heprep, HEPREP::HepRepFactory::createHepRep(), and factory.
Referenced by getEventInstanceTree(), getEventTypeTree(), getGeometryInstanceTree(), and getGeometryTypeTree().
|
private |
Definition at line 1476 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1476 of file G4HepRepSceneHandler.cc
References _heprepGeometry, HEPREP::HepRepFactory::createHepRep(), and factory.
Referenced by getGeometryInstanceTree(), and getGeometryTypeTree().
|
private |
Definition at line 1731 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1731 of file G4HepRepSceneHandler.cc
References _hitType, HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepFactory::createHepRepType(), factory, getEventType(), and hitLayer.
Referenced by addAttributes(), AddPrimitive(), and closeHepRep().
Definition at line 1657 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1657 of file G4HepRepSceneHandler.cc
References _geometryTypeName, and rootVolumeName.
Referenced by getGeometryType().
|
private |
Definition at line 1713 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1713 of file G4HepRepSceneHandler.cc
References _trajectoryType, HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepFactory::createHepRepType(), factory, getEventType(), and trajectoryLayer.
Referenced by AddPrimitive(), and closeHepRep().
|
private |
Definition at line 1402 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1402 of file G4HepRepSceneHandler.cc
References currentHit, currentTrack, G4VSceneHandler::fpModel, and G4VSceneHandler::fReadyForTransients.
Referenced by AddPrimitive(), and getGeometryOrEventInstance().
Definition at line 148 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 148 of file G4HepRepSceneHandler.cc
References baseName, HEPREP::HepRepFactory::createHepRepWriter(), eventNumber, eventNumberPrefix, eventNumberSuffix, eventNumberWidth, extension, factory, G4HepRepMessenger::getEventNumberSuffix(), G4HepRepMessenger::GetInstance(), openFile(), out, writeBinary, writeGZ, writeMultipleFiles, writer, and writeZip.
Referenced by closeHepRep().
Definition at line 429 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 429 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepFactory::createHepRepWriter(), factory, out, writeGZ, writer, and writeZip.
Referenced by closeHepRep(), and open().
void G4HepRepSceneHandler::openHepRep | ( | ) |
Definition at line 264 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 264 of file G4HepRepSceneHandler.cc
References _calHitFaceType, _calHitType, _eventInstance, _eventInstanceTree, _eventType, _eventTypeTree, _geometryInstance, _geometryInstanceTree, _geometryRootInstance, _geometryRootType, _geometryType, _geometryTypeName, _geometryTypeTree, _heprep, _heprepGeometry, _hitType, and _trajectoryType.
Referenced by G4HepRepSceneHandler(), and G4HepRepViewer::ShowView().
|
private |
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1040 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1040 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::PostAddSolid().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1028 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1028 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::PreAddSolid(), and transform.
|
inlineprivate |
Definition at line 145 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 145 of file G4HepRepSceneHandler.hh
Referenced by addAttVals(), AddPrimitive(), AddSolid(), getGeometryInstance(), setColor(), setLine(), setMarker(), and setVisibility().
|
private |
Definition at line 1185 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1185 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepAttribute::getAttValue(), HEPREP::HepRepAttribute::getAttValueFromNode(), HEPREP::HepRepPoint::getInstance(), HEPREP::HepRepAttValue::getString(), HEPREP::HepRepInstance::getType(), and instance.
|
private |
Definition at line 1207 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1207 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepAttribute::getAttValue(), HEPREP::HepRepAttribute::getAttValueFromNode(), HEPREP::HepRepAttValue::getBoolean(), HEPREP::HepRepPoint::getInstance(), HEPREP::HepRepInstance::getType(), and instance.
|
private |
Definition at line 1229 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1229 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepAttribute::getAttValue(), HEPREP::HepRepAttribute::getAttValueFromNode(), HEPREP::HepRepAttValue::getDouble(), HEPREP::HepRepPoint::getInstance(), HEPREP::HepRepInstance::getType(), and instance.
|
private |
Definition at line 1251 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1251 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), HEPREP::HepRepAttribute::getAttValue(), HEPREP::HepRepAttribute::getAttValueFromNode(), HEPREP::HepRepPoint::getInstance(), HEPREP::HepRepAttValue::getInteger(), HEPREP::HepRepInstance::getType(), and instance.
|
private |
Definition at line 1273 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1273 of file G4HepRepSceneHandler.cc
References HEPREP::HepRepAttribute::addAttValue(), color(), HEPREP::HepRepAttribute::getAttValue(), HEPREP::HepRepAttribute::getAttValueFromNode(), HEPREP::HepRepAttValue::getColor(), HEPREP::HepRepPoint::getInstance(), HEPREP::HepRepInstance::getType(), and instance.
|
private |
Definition at line 1071 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1071 of file G4HepRepSceneHandler.cc
References G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetGreen(), G4Colour::GetRed(), and setAttribute().
Referenced by AddPrimitive(), AddSolid(), and setMarker().
|
private |
Definition at line 1103 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1103 of file G4HepRepSceneHandler.cc
References setAttribute().
Referenced by AddPrimitive(), and AddSolid().
|
private |
Definition at line 1107 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1107 of file G4HepRepSceneHandler.cc
References G4VisAttributes::dashed, G4VisAttributes::dotted, G4VisAttributes::GetLineStyle(), G4VisAttributes::GetLineWidth(), G4Visible::GetVisAttributes(), setAttribute(), and G4VisAttributes::unbroken.
|
private |
Definition at line 1127 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1127 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::fpVisAttribs, G4VSceneHandler::GetColor(), G4VMarker::GetFillStyle(), G4VSceneHandler::GetMarkerRadius(), G4Visible::GetVisAttributes(), G4VMarker::noFill, G4VSceneHandler::screen, setAttribute(), and setColor().
Referenced by AddPrimitive().
|
private |
Definition at line 1093 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1093 of file G4HepRepSceneHandler.cc
References G4VSceneHandler::fpVisAttribs, G4VisAttributes::IsVisible(), and setAttribute().
Referenced by AddPrimitive(), and AddSolid().
|
private |
Definition at line 1097 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 1097 of file G4HepRepSceneHandler.cc
References G4Visible::GetVisAttributes(), G4VisAttributes::IsVisible(), and setAttribute().
|
private |
Definition at line 443 of file G4HepRepSceneHandler.cc.
View newest version in sPHENIX GitHub at line 443 of file G4HepRepSceneHandler.cc
References HEPREP::HepRep::addLayer(), calHitLayer, eventLayer, geometryLayer, hitLayer, and trajectoryLayer.
Referenced by closeHepRep().
|
private |
Definition at line 227 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 227 of file G4HepRepSceneHandler.hh
Referenced by getCalHitFaceType(), and openHepRep().
|
private |
Definition at line 226 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 226 of file G4HepRepSceneHandler.hh
Referenced by getCalHitType(), and openHepRep().
|
private |
Definition at line 221 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 221 of file G4HepRepSceneHandler.hh
Referenced by getEventInstance(), and openHepRep().
|
private |
Definition at line 220 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 220 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), getEventInstanceTree(), and openHepRep().
|
private |
Definition at line 223 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 223 of file G4HepRepSceneHandler.hh
Referenced by getEventType(), and openHepRep().
|
private |
Definition at line 222 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 222 of file G4HepRepSceneHandler.hh
Referenced by getEventTypeTree(), and openHepRep().
|
private |
Definition at line 214 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 214 of file G4HepRepSceneHandler.hh
Referenced by getGeometryInstance(), and openHepRep().
|
private |
Definition at line 213 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 213 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), getGeometryInstanceTree(), and openHepRep().
|
private |
Definition at line 215 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 215 of file G4HepRepSceneHandler.hh
Referenced by getGeometryRootInstance(), and openHepRep().
|
private |
Definition at line 219 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 219 of file G4HepRepSceneHandler.hh
Referenced by getGeometryRootType(), and openHepRep().
|
private |
Definition at line 218 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 218 of file G4HepRepSceneHandler.hh
Referenced by getFullTypeName(), getGeometryRootType(), getGeometryType(), and openHepRep().
|
private |
Definition at line 217 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 217 of file G4HepRepSceneHandler.hh
Referenced by getFullTypeName(), getParentTypeName(), and openHepRep().
|
private |
Definition at line 216 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 216 of file G4HepRepSceneHandler.hh
Referenced by getGeometryTypeTree(), and openHepRep().
|
private |
Definition at line 211 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 211 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), getHepRep(), and openHepRep().
|
private |
Definition at line 212 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 212 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), getHepRepGeometry(), and openHepRep().
|
private |
Definition at line 225 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 225 of file G4HepRepSceneHandler.hh
Referenced by getHitType(), and openHepRep().
|
private |
Definition at line 224 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 224 of file G4HepRepSceneHandler.hh
Referenced by getTrajectoryType(), and openHepRep().
|
private |
Definition at line 197 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 197 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 193 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 193 of file G4HepRepSceneHandler.hh
Referenced by getCalHitType(), and writeLayers().
|
private |
Definition at line 207 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 207 of file G4HepRepSceneHandler.hh
Referenced by addAttributes(), AddCompound(), and isEventData().
|
private |
Definition at line 208 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 208 of file G4HepRepSceneHandler.hh
Referenced by addAttributes(), AddCompound(), and isEventData().
|
private |
Definition at line 193 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 193 of file G4HepRepSceneHandler.hh
Referenced by getEventType(), and writeLayers().
|
private |
Definition at line 200 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 200 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 198 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 198 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 199 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 199 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 201 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 201 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 202 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 202 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 126 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 126 of file G4HepRepSceneHandler.hh
Referenced by AddPrimitive(), AddSolid(), closeHepRep(), G4HepRepSceneHandler(), getCalHitFaceType(), getCalHitType(), getEventInstance(), getEventInstanceTree(), getEventType(), getEventTypeTree(), getFullTypeName(), getGeometryInstance(), getGeometryInstanceTree(), getGeometryOrEventInstance(), getGeometryRootInstance(), getGeometryRootType(), getGeometryType(), getGeometryTypeTree(), getHepRep(), getHepRepGeometry(), getHitType(), getTrajectoryType(), open(), openFile(), and ~G4HepRepSceneHandler().
|
private |
Definition at line 193 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 193 of file G4HepRepSceneHandler.hh
Referenced by getGeometryRootType(), and writeLayers().
|
private |
Definition at line 194 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 194 of file G4HepRepSceneHandler.hh
Referenced by getHitType(), and writeLayers().
Definition at line 229 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 229 of file G4HepRepSceneHandler.hh
Referenced by G4HepRepSceneHandler(), and getGeometryInstance().
|
private |
Definition at line 125 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 125 of file G4HepRepSceneHandler.hh
Referenced by closeFile(), open(), and openFile().
|
private |
Definition at line 195 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 195 of file G4HepRepSceneHandler.hh
Referenced by getFullTypeName(), getGeometryRootType(), and getParentTypeName().
|
staticprivate |
Definition at line 121 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 121 of file G4HepRepSceneHandler.hh
|
private |
Definition at line 194 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 194 of file G4HepRepSceneHandler.hh
Referenced by getTrajectoryType(), and writeLayers().
|
private |
Definition at line 123 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 123 of file G4HepRepSceneHandler.hh
Referenced by AddPrimitive(), AddSolid(), BeginPrimitives(), and PreAddSolid().
|
private |
Definition at line 203 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 203 of file G4HepRepSceneHandler.hh
Referenced by closeHepRep(), and open().
|
private |
Definition at line 205 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 205 of file G4HepRepSceneHandler.hh
Referenced by open(), and openFile().
|
private |
Definition at line 206 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 206 of file G4HepRepSceneHandler.hh
Referenced by close(), closeHepRep(), and open().
|
private |
Definition at line 127 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 127 of file G4HepRepSceneHandler.hh
Referenced by close(), closeFile(), closeHepRep(), G4HepRepSceneHandler(), open(), and openFile().
|
private |
Definition at line 204 of file G4HepRepSceneHandler.hh.
View newest version in sPHENIX GitHub at line 204 of file G4HepRepSceneHandler.hh
Referenced by open(), and openFile().