9 #include "G4LogicalVolume.hh" 16 edm::LogVerbatim(
"SimG4CoreGeometry") <<
" DDG4SensitiveConverter::upDate() starts";
18 for (
auto ddg4 : ddg4s) {
20 G4LogicalVolume *
result = (ddg4->getG4LogicalVolume());
25 if (sClassName !=
"NotFound") {
27 <<
" DDG4SensitiveConverter: Sensitive " << fff <<
" Class Name " << sClassName <<
" ROU Name " << sROUName;
29 catalog.insert(sClassName, sROUName, fff);
35 std::vector<std::string>
temp;
37 std::vector<const DDsvalues_type *>
result =
part->specifics();
39 for (
auto stype :
result) {
46 if (
temp.size() != 1) {
47 edm::LogError(
"SimG4CoreGeometry") <<
"DDG4SensitiveConverter - ERROR: I need 1 " <<
ss <<
" tags";
49 " DDG4SensitiveConverter::getString Problem with " 50 "Region tags - one and only one allowed: " +
Log< level::Info, true > LogVerbatim
virtual ~DDG4SensitiveConverter()
std::vector< DDG4Dispatchable * > DDG4DispContainer
void upDate(const DDG4DispContainer &ddg4s, SensitiveDetectorCatalog &)
Log< level::Error, false > LogError
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
std::string getString(const std::string &, const DDLogicalPart *)