10 #ifndef tmEventSetup_L1TUtmScale_hh 11 #define tmEventSetup_L1TUtmScale_hh 16 #include "tmEventSetup/esScale.hh" 36 std::vector<L1TUtmBin>
bins,
57 bins_.reserve(esSc.getBins().size());
58 for (
auto it = esSc.getBins().begin(); it != esSc.getBins().end(); ++it)
64 operator tmeventsetup::esScale()
const {
65 std::vector<tmeventsetup::esBin>
bins;
67 for (
const auto& it :
getBins())
68 bins.emplace_back(tmeventsetup::esBin(it.hw_index, it.minimum, it.maximum));
69 return tmeventsetup::esScale(
110 #endif // tmEventSetup_L1TUtmScale_hh double getMaximum() const
L1TUtmScale(std::string name, int object, int type, double minimum, double maximum, double step, unsigned int n_bits, std::vector< L1TUtmBin > bins, unsigned int vers)
std::vector< L1TUtmBin > bins_
unsigned int getNbits() const
L1TUtmScale(const tmeventsetup::esScale &esSc)
double getMinimum() const
virtual ~L1TUtmScale()=default
#define COND_SERIALIZABLE
int getObjectType() const
const std::string & getName() const
const std::vector< L1TUtmBin > & getBins() const