6 #include "G4LogicalVolume.hh" 17 LogDebug(
"SimG4CoreGeometry") <<
" DDG4SensitiveConverter::upDate() starts" ;
20 for (
unsigned int i=0;
i<ddg4s.size();
i++) {
28 if (sClassName !=
"NotFound") {
29 LogDebug(
"SimG4CoreGeometry") <<
" DDG4SensitiveConverter: Sensitive " << fff
30 <<
" Class Name " << sClassName <<
" ROU Name " << sROUName ;
31 fff = result->GetName();
32 catalog.
insert(sClassName,sROUName,fff);
40 std::vector<std::string>
temp;
43 std::vector<const DDsvalues_type *>::iterator it = result.begin();
45 for (; it != result.end(); ++it) {
51 if (temp.size() != 1) {
52 edm::LogError(
"SimG4CoreGeometry") <<
"DDG4SensitiveConverter - ERROR: I need 1 " << s <<
" tags" ;
53 throw cms::Exception(
"SimG4CoreGeometry",
" DDG4SensitiveConverter::getString Problem with Region tags - one and only one allowed: " + s);
std::vector< DDG4Dispatchable * > DDG4DispContainer
virtual ~DDG4SensitiveConverter()
const DDLogicalPart * getDDLogicalPart() const
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 ...
G4LogicalVolume * getG4LogicalVolume() const
SensitiveDetectorCatalog upDate(const DDG4DispContainer &ddg4s)