|
|
Go to the documentation of this file.
23 std::vector<std::string> matNames;
24 std::vector<int> nocc;
28 for (
unsigned int i = 0;
i < matNames.size();
i++) {
29 if (matName == matNames[
i]) {
35 matNames.push_back(matName);
40 return build(php, matNames, nocc, name1,
name2);
53 std::vector<std::string> matNames;
54 std::vector<int> nocc;
59 for (
unsigned int i = 0;
i < matNames.size();
i++) {
60 if (matName == matNames[
i]) {
66 matNames.push_back(matName);
70 return build(php, matNames, nocc, name1,
name2);
74 const std::vector<std::string>& matNames,
75 const std::vector<int>& nocc,
79 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB06BeamParametersFromDD:: Names to be tested for Volume = " << name1 <<
": "
88 if (!matNames.empty()) {
91 for (
unsigned int i = 0;
i < matNames.size();
i++) {
101 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB06BeamParametersFromDD: finds " << matNames.size() <<
" materials for "
103 for (
unsigned k = 0;
k < matNames.size(); ++
k)
105 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB06BeamParametersFromDD: Material name for ReadOut = " <<
name2 <<
":"
112 std::vector<std::string>
tmp;
117 for (
unsigned int i = 0;
i <
tmp.size();
i++) {
118 if (!strcmp(
tmp[
i].c_str(),
log.name().name().c_str())) {
124 tmp.push_back(
log.name().name());
131 std::vector<std::string>
tmp;
std::vector< std::string > wchambers_
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool build(const DDCompactView *cpv, HcalTB06BeamParameters &php, const std::string &name1, const std::string &name2)
std::string_view name() const
bool firstChild()
set the current node to the first child ...
bool next()
set current node to the next node in the filtered tree
Compact representation of the geometrical detector hierarchy.
std::string_view noNamespace(std::string_view)
bool firstChild()
set the current node to the first child
std::vector< std::string > getNames(DDFilteredView &fv)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
const std::string & name() const
Returns the name.
std::string_view materialName() const