47 const std::vector<BinningData>& bData = bu.
binningData();
49 for (
auto& bd : bData) {
56 throw std::invalid_argument(
"Arbitrary binning can not be adjusted.");
58 throw std::invalid_argument(
"Disc binning must be: phi, r");
60 float min = 0., max = 0.;
93 double minPhi = avgPhi - halfPhi;
94 double maxPhi = avgPhi + halfPhi;
97 const std::vector<BinningData>& bData = bu.
binningData();
99 for (
auto& bd : bData) {
106 throw std::invalid_argument(
"Arbitrary binning can not be adjusted.");
108 throw std::invalid_argument(
"Cylinder binning must be: rphi, phi, z");
110 float min = 0., max = 0.;
149 const std::vector<BinningData>& bData = bu.
binningData();
151 for (
auto& bd : bData) {
158 throw std::invalid_argument(
"Arbitrary binning can not be adjusted.");
159 }
else if (bval !=
binX and bval !=
binY) {
160 throw std::invalid_argument(
"Rectangle binning must be: x, y. ");
162 float min = 0., max = 0.;
199 const std::vector<BinningData>& bData = bu.
binningData();
201 for (
auto& bd : bData) {
208 throw std::invalid_argument(
"Arbitrary binning can not be adjusted.");
209 }
else if (bval !=
binX and bval !=
binY) {
210 throw std::invalid_argument(
"Rectangle binning must be: x, y. ");
212 float min = 0., max = 0.;
262 throw std::invalid_argument(
263 "Bin adjustment not implemented for this type of plane surface yet!");
267 throw std::invalid_argument(
268 "Bin adjustment not implemented for this surface yet!");