13 darkening_(nullptr) {}
24 dsegm_.reserve(max_ieta - min_ieta);
25 for (
int ieta = min_ieta; ieta < max_ieta; ++ieta) {
26 dsegm_.push_back(m_segmentation[ieta]);
28 for (
unsigned lay = 0; lay <
dsegm_.back().size(); ++lay) {
49 if (ieta < 0 or ieta >=
int(
corr_.size()))
51 if (depth < 0 or depth >=
int(
corr_[ieta].
size()))
61 std::vector<std::vector<float>> vtmp(
dsegm_.size(), std::vector<float>(
max_depth_, 0.0));
68 for (
unsigned int ieta = 0; ieta <
dsegm_.size(); ++ieta) {
80 if (dval[ieta][
depth] > 0)
std::vector< std::vector< int > > dsegm_
std::vector< std::vector< float > > meanenergies_
std::vector< std::vector< float > > corr_
void setup(const std::vector< std::vector< int >> &m_segmentation, const HBHEDarkening *darkening)
Abs< T >::type abs(const T &t)
HBHERecalibration(float intlumi, float cutoff, std::string meanenergies)
int get_ieta_shift() const
float getCorr(int ieta, int depth) const
tuple size
Write out results.
float degradation(float intlumi, int ieta, int lay) const
const HBHEDarkening * darkening_