25 #ifndef LARG4DETECTOR_SERVICE_HH
26 #define LARG4DETECTOR_SERVICE_HH
28 #include "artg4tk/Core/DetectorBase.hh"
30 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
33 class ProducesCollector;
40 class G4HCofThisEvent;
41 class G4LogicalVolume;
42 class G4VPhysicalVolume;
44 #include "Geant4/G4Types.hh"
48 #include <unordered_map>
59 std::vector<G4LogicalVolume*>
doBuildLVs()
override;
60 std::vector<G4VPhysicalVolume*>
doPlaceToPVs(std::vector<G4LogicalVolume*>)
override;
83 std::vector<std::pair<std::string, std::string>>
detectors_{};
91 #endif // LARG4DETECTOR_SERVICE_HH
void doCallArtProduces(art::ProducesCollector &collector) override
void doFillEventWithArtHits(G4HCofThisEvent *hc) override
LArG4DetectorService(fhicl::ParameterSet const &)
std::string instanceName(std::string const &) const
std::vector< std::pair< std::string, std::string > > detectors_
std::string gdmlFileName_
bool updateSimEnergyDeposits_
std::vector< std::string > volumeNames_
std::vector< float > stepLimits_
std::vector< G4LogicalVolume * > doBuildLVs() override
std::vector< G4VPhysicalVolume * > doPlaceToPVs(std::vector< G4LogicalVolume * >) override
std::map< std::string, G4double > overrideGDMLStepLimit_Map
std::unordered_map< std::string, float > setGDMLVolumes_