Definition at line 19 of file HFFibre.h.
Definition at line 18 of file HFFibre.cc.
References DDFilteredView::addFilter(), attL, cFibre, DDSpecificsFilter::equals, edm::hlt::Exception, DDFilteredView::firstChild(), getDDDArray(), edm::ParameterSet::getParameter(), gpar, i, lambLim, longFL, DDFilteredView::mergedSpecifics(), mergeVDriftHistosByStation::name, nBinAtt, nBinR, radius, DDSpecificsFilter::setCriteria(), shortFL, and relativeConstraints::value.
27 std::string attribute =
"Volume";
28 std::string
value =
"HF";
33 fv1.addFilter(filter1);
34 bool dodet = fv1.firstChild();
42 edm::LogInfo(
"HFShower") <<
"HFFibre: " << nBinAtt <<
" attL ";
43 for (
int it=0; it<
nBinAtt; it++)
44 edm::LogInfo(
"HFShower") <<
"HFFibre: attL[" << it <<
"] = "
45 <<
attL[it]*cm <<
"(1/cm)";
49 std::vector<double> nvec =
getDDDArray(
"lambLim",sv,nb);
50 lambLim[0] =
static_cast<int>(nvec[0]);
51 lambLim[1] =
static_cast<int>(nvec[1]);
58 edm::LogInfo(
"HFShower") <<
"HFFibre: " << nb <<
" Long Fibre Length";
59 for (
int it=0; it<nb; it++)
60 edm::LogInfo(
"HFShower") <<
"HFFibre: longFL[" << it <<
"] = "
64 edm::LogInfo(
"HFShower") <<
"HFFibre: " << nb <<
" Short Fibre Length";
65 for (
int it=0; it<nb; it++)
66 edm::LogInfo(
"HFShower") <<
"HFFibre: shortFL[" << it <<
"] = "
70 <<
" view for " << attribute <<
" matching "
73 <<
"cannot match " << attribute <<
" to " << name <<
"\n";
77 attribute =
"ReadOutName";
83 fv2.addFilter(filter2);
84 dodet = fv2.firstChild();
91 edm::LogInfo(
"HFShower") <<
"HFFibre: " << nb <<
" gpar (cm)";
92 for (
int i=0;
i<nb;
i++)
94 <<
gpar[
i]/cm <<
" cm";
100 edm::LogInfo(
"HFShower") <<
"HFFibre: radius[" <<
i <<
"] = "
104 <<
" view for " << attribute <<
" matching "
107 <<
"cannot match " << attribute <<
" to " << name <<
"\n";
std::vector< double > gpar
T getParameter(std::string const &) const
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &, int &)
std::vector< double > radius
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
std::vector< double > shortFL
std::vector< double > attL
void setCriteria(const DDValue &nameVal, comp_op, log_op l=AND, bool asString=true, bool merged=true)
std::vector< double > longFL
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.