33 #ifndef G4HEPREPSCENEHANDLER_HH
34 #define G4HEPREPSCENEHANDLER_HH 1
void AddCompound(const G4VTrajectory &)
HEPREP::HepRepType * _eventType
HEPREP::HepRepInstance * getGeometryInstance(G4LogicalVolume *volume, G4Material *material, int depth)
void setMarker(HEPREP::HepRepAttribute *attribute, const G4VMarker &marker)
void AddCompound(const G4VDigi &digi)
HEPREP::HepRepType * getCalHitType()
system("rm -rf microbeam.root")
HEPREP::HepRep * getHepRep()
void addAttDefs(HEPREP::HepRepDefinition *definition, const std::map< G4String, G4AttDef > *attDefs)
HEPREP::HepRepInstance * _geometryRootInstance
void setVisibility(HEPREP::HepRepAttribute *attribute, const G4VSolid &solid)
static G4int sceneIdCount
G4HepRepSceneHandler(G4VGraphicsSystem &system, const G4String &name="")
std::vector< G4String > _geometryTypeName
void AddCompound(const G4THitsMap< G4StatDouble > &hits)
G4Color getColorFor(const G4Visible &visible)
HEPREP::HepRepType * _calHitFaceType
void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &visAttribs)
G4HepRepSceneHandler & operator=(const G4HepRepSceneHandler &)
G4String getFullTypeName(G4String volumeName, int depth)
virtual void AddCompound(const G4VTrajectory &)
std::vector< HEPREP::HepRepInstance * > _geometryInstance
void openFile(G4String name)
const G4VTrajectory * currentTrack
void AddCompound(const G4THitsMap< G4double > &hits)
HEPREP::HepRepInstanceTree * _eventInstanceTree
const XML_Char int const XML_Char * value
HEPREP::HepRepInstanceTree * getEventInstanceTree()
HEPREP::HepRep * _heprepGeometry
G4String getParentTypeName(int currentDepth)
void addAttVals(HEPREP::HepRepAttribute *attribute, const std::map< G4String, G4AttDef > *attDefs, std::vector< G4AttValue > *attValues)
HEPREP::HepRepTypeTree * _geometryTypeTree
static const G4double alpha
HEPREP::HepRepType * getCalHitFaceType()
bool closeHepRep(bool final=false)
HEPREP::HepRepType * _trajectoryType
HEPREP::HepRepType * getGeometryRootType()
HEPREP::HepRepTypeTree * _eventTypeTree
void addTopLevelAttributes(HEPREP::HepRepType *type)
HEPREP::HepRep * getHepRepGeometry()
HEPREP::HepRepType * getGeometryType(G4String volumeName, int depth)
void setAttribute(HEPREP::HepRepAttribute *attribute, G4String name, char *value)
void AddPrimitive(const G4Polyline &)
const G4VHit * currentHit
HEPREP::HepRepInstanceTree * getGeometryInstanceTree()
void setLine(HEPREP::HepRepAttribute *attribute, const G4VSolid &solid)
HEPREP::HepRepTypeTree * getGeometryTypeTree()
HEPREP::HepRepInstance * getEventInstance()
void addAttributes(HEPREP::HepRepInstance *instance, HEPREP::HepRepType *type)
G4String eventNumberSuffix
HEPREP::HepRepType * getTrajectoryType()
HEPREP::HepRepWriter * writer
virtual ~G4HepRepSceneHandler()
HEPREP::HepRepInstance * _eventInstance
HEPREP::HepRepType * _calHitType
HEPREP::HepRepTypeTree * getEventTypeTree()
static MCTruthManager * instance
HEPREP::HepRepType * getEventType()
void BeginPrimitives(const G4Transform3D &objectTransformation)
std::map< int, G4String > materialState
HEPREP::HepRepInstanceTree * _geometryInstanceTree
void setColor(HEPREP::HepRepAttribute *attribute, const G4Color &color, const G4String &key=G4String("Color"))
HEPREP::HepRepFactory * factory
HEPREP::HepRepInstance * getGeometryRootInstance()
std::map< G4String, HEPREP::HepRepType * > _geometryType
HEPREP::HepRepType * getHitType()
HEPREP::HepRepType * _geometryRootType
void AddSolid(const G4Box &box)
G4String eventNumberPrefix
HEPREP::HepRepInstance * getGeometryOrEventInstance(HEPREP::HepRepType *type)
G4bool writeMultipleFiles
void writeLayers(HEPREP::HepRep *heprep)
HEPREP::HepRepType * _hitType