20 0.050, .0135, 0.0086};
22 0.400, .1149, 0.0648};
34 std::cout <<
"==range.first->strip() = " << range.first->strip() << std::endl;
35 std::cout <<
"==range.second->strip() = " << range.second->strip() << std::endl;
51 std::cout <<
" current striprange = " << striprange << std::endl;
66 std::cout <<
" current strip = " <<
i->strip() <<
" amp = " << amp << std::endl;
71 sumx +=
i->stripH() * amp;
72 sumy +=
i->stripHW() * amp;
74 sumxx += (
i->stripH()) * (
i->stripH()) * amp;
75 sumyy += (
i->stripHW()) * (
i->stripHW()) * amp;
76 }
else if (xytype == 2) {
77 sumx +=
i->stripV() * amp;
78 sumy +=
i->stripVW() * amp;
80 sumxx += (
i->stripV()) * (
i->stripV()) * amp;
81 sumyy += (
i->stripVW()) * (
i->stripVW()) * amp;
83 std::cout <<
" ClusterFP420: wrong xytype = " << xytype << std::endl;
87 std::cout <<
" current sumx = " << sumx << std::endl;
88 std::cout <<
" current sumy = " << sumy << std::endl;
89 std::cout <<
" current suma = " << suma << std::endl;
90 std::cout <<
" current barycenter = " << (sumx /
static_cast<float>(suma)) << std::endl;
91 std::cout <<
" current barycenterW= " << (sumy /
static_cast<float>(suma)) << std::endl;
122 std::cout <<
"AT end: striprange = " << striprange << std::endl;
216 int sScale = myrn0 * mypn0, dScale = myrn0 * mypn0 * mysn0;
218 int det = (
detId_ - 1) / dScale + 1;
219 int sector = (
detId_ - 1 - dScale * (det - 1)) / sScale + 1;
222 std::cout <<
"sector = " << sector <<
" det= " << det << std::endl;
234 a = 0.0026 + ((0.0075 - 0.0026) / 7.) * (mypn0 - 2);
238 else if (mysn0 == 3) {
240 a = 0.0011 + ((0.0030 - 0.0011) / 7.) * (mypn0 - 2);
241 }
else if (sector == 3) {
242 a = 0.0022 + ((0.0068 - 0.0022) / 7.) * (mypn0 - 2);
244 }
else if (mysn0 == 4) {
246 a = 0.0009 + ((0.0024 - 0.0009) / 7.) * (mypn0 - 2);
247 }
else if (sector == 3) {
248 a = 0.0018 + ((0.0050 - 0.0018) / 7.) * (mypn0 - 2);
249 }
else if (sector == 4) {
250 a = 0.0026 + ((0.0075 - 0.0026) / 7.) * (mypn0 - 2);
297 std::cout <<
"AT end: err = " << err <<
" detId_= " <<
detId_ << std::endl;
std::vector< HDigiFP420 >::const_iterator HDigiFP420Iter
std::vector< short > amplitudes_
static float const const_ps1s2[3]
std::pair< HDigiFP420Iter, HDigiFP420Iter > HDigiFP420Range
static float const constW_ps1s2[3]