33 #ifndef G4HEPREPSCENEHANDLER_HH
34 #define G4HEPREPSCENEHANDLER_HH 1
121 static G4int sceneIdCount;
146 setAttribute(attribute, name,
G4String(value));
164 void addAttVals(
HEPREP::HepRepAttribute* attribute,
const std::map<G4String,G4AttDef>* attDefs, std::vector<G4AttValue>* attValues);
190 G4String getParentTypeName(
int currentDepth);
193 G4String geometryLayer, eventLayer, calHitLayer;
201 G4int eventNumberWidth;
206 G4bool writeMultipleFiles;
214 std::vector<HEPREP::HepRepInstance*> _geometryInstance;
217 std::vector<G4String> _geometryTypeName;
218 std::map<G4String, HEPREP::HepRepType*> _geometryType;
229 std::map<int, G4String> materialState;
void AddSolid(const G4Box &box)
void BeginPrimitives(const G4Transform3D &objectTransformation)
bool closeHepRep(bool final=false)
void openFile(G4String name)
void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &visAttribs)
void AddCompound(const G4VDigi &digi)
void AddCompound(const G4THitsMap< G4StatDouble > &hits)
const XML_Char int const XML_Char * value
virtual ~G4HepRepSceneHandler()
virtual void AddCompound(const G4VTrajectory &)
void AddCompound(const G4THitsMap< G4double > &hits)
void AddCompound(const G4VTrajectory &)
G4HepRepSceneHandler(G4VGraphicsSystem &system, const G4String &name="")
void AddPrimitive(const G4Polyline &)
static MCTruthManager * instance
static const G4double alpha