8 intlumi_(intlumi), cutoff_(cutoff), ieta_shift_(0), max_depth_(0),
22 dsegm_.reserve(max_ieta - min_ieta);
23 for(
int ieta = min_ieta; ieta < max_ieta; ++ieta){
24 dsegm_.push_back(m_segmentation[ieta]);
26 for(
unsigned lay = 0; lay <
dsegm_.back().size(); ++lay){
45 if(ieta<0 or ieta>=
int(
corr_.size()))
return 1.0;
46 if(depth<0 or depth>=
int(
corr_[ieta].
size()))
return 1.0;
53 std::vector<std::vector<float>> vtmp(
dsegm_.size(),std::vector<float>(
max_depth_,0.0));
59 for (
unsigned int ieta = 0; ieta <
dsegm_.size(); ++ieta) {
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
float degradation(float intlumi, int ieta, int lay) const
const HBHEDarkening * darkening_