comments
This commit is contained in:
@@ -32,6 +32,8 @@ int EnergyBinning::bin(double energy_eV) const {
|
||||
return (it - energy_bin_borders_.begin()) - 1;
|
||||
}
|
||||
|
||||
// max index for energy_bin_borders_ (i.e. number of bins that
|
||||
// have both a lower and upper bound)
|
||||
int EnergyBinning::numBins() const {
|
||||
return energy_bin_borders_.size() - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user