6 #include "G4LogicalVolume.hh" 13 LogDebug(
"SimG4CoreGeometry") <<
" DDG4SensitiveConverter::upDate() starts";
16 for (
auto ddg4 : ddg4s) {
18 G4LogicalVolume *
result = (ddg4->getG4LogicalVolume());
23 if (sClassName !=
"NotFound") {
24 LogDebug(
"SimG4CoreGeometry") <<
" DDG4SensitiveConverter: Sensitive " << fff <<
" Class Name " << sClassName
25 <<
" ROU Name " << sROUName;
26 fff = result->GetName();
27 catalog.
insert(sClassName, sROUName, fff);
34 std::vector<std::string>
temp;
38 for (
auto stype : result) {
45 if (temp.size() != 1) {
46 edm::LogError(
"SimG4CoreGeometry") <<
"DDG4SensitiveConverter - ERROR: I need 1 " << ss <<
" tags";
48 " DDG4SensitiveConverter::getString Problem with " 49 "Region tags - one and only one allowed: " +
std::vector< DDG4Dispatchable * > DDG4DispContainer
virtual ~DDG4SensitiveConverter()
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
void insert(const std::string &, const std::string &, const std::string &)
std::vector< const DDsvalues_type * > specifics(void) const
returns the specific-data attached to the LogicalPart only (not to a DDExpandedNode) ...
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
std::string getString(const std::string &, const DDLogicalPart *)
const std::vector< std::string > & strings() const
a reference to the std::string-valued values stored in the given instance of DDValue ...
SensitiveDetectorCatalog upDate(const DDG4DispContainer &ddg4s)