2#ifndef SIMCORE_GEO_AUXINFOREADER_H
3#define SIMCORE_GEO_AUXINFOREADER_H
6#include "G4GDMLParser.hh"
12#include "Framework/Configure/Parameters.h"
15#include "SimCore/ConditionsInterface.h"
17namespace simcore::geo {
67 const G4GDMLAuxListType *auxInfoList);
74 void createRegion(
const G4String &name,
const G4GDMLAuxListType *auxInfoList);
82 const G4GDMLAuxListType *auxInfoList);
90 const G4GDMLAuxListType *auxInfoList);
Class encapsulating parameters for configuring a processor.
Reads auxiliary information from GDML userinfo block.
void createDetectorHeader(const G4String &detectorVersion, const G4GDMLAuxListType *auxInfoList)
Create the detector header from the global auxinfo.
ldmx::DetectorHeader * getDetectorHeader()
Get the detector header that was created from the userinfo block.
virtual ~AuxInfoReader()
Class destructor.
void assignAuxInfoToVolumes()
Assign auxiliary info to volumes such as sensitive detectors.
void readGlobalAuxInfo()
Read the global auxiliary information from the auxinfo block.
void createVisAttributes(const G4String &name, const G4GDMLAuxListType *auxInfoList)
Create visualization attributes from GDML data.
G4GDMLEvaluator * eval_
The GDML expression evaluator.
G4GDMLParser * parser_
The GDML parser.
ldmx::DetectorHeader * detectorHeader_
Detector header with name and version.
void createMagneticField(const G4String &name, const G4GDMLAuxListType *auxInfoList)
Create a magnetic field from GDML data.
void createRegion(const G4String &name, const G4GDMLAuxListType *auxInfoList)
Create a detector region from GDML data.