File indexing completed on 2021-02-14 12:51:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef tmEventSetup_L1TUtmScale_hh
0011 #define tmEventSetup_L1TUtmScale_hh
0012
0013 #include "CondFormats/L1TObjects/interface/L1TUtmBin.h"
0014 #include "CondFormats/Serialization/interface/Serializable.h"
0015
0016 #include <map>
0017 #include <string>
0018 #include <vector>
0019
0020
0021
0022
0023 class L1TUtmScale {
0024 public:
0025 L1TUtmScale() : name_(), object_(), type_(), minimum_(), maximum_(), step_(), n_bits_(), bins_(), version(0){};
0026
0027 virtual ~L1TUtmScale() = default;
0028
0029
0030 const std::string& getName() const { return name_; };
0031
0032
0033 int getObjectType() const { return object_; };
0034
0035
0036 int getScaleType() const { return type_; };
0037
0038
0039 double getMinimum() const { return minimum_; };
0040
0041
0042 double getMaximum() const { return maximum_; };
0043
0044
0045 double getStep() const { return step_; };
0046
0047
0048 unsigned int getNbits() const { return n_bits_; };
0049
0050
0051 const std::vector<L1TUtmBin>& getBins() const { return bins_; };
0052
0053 protected:
0054 std::string name_;
0055 int object_;
0056 int type_;
0057 double minimum_;
0058 double maximum_;
0059 double step_;
0060 unsigned int n_bits_;
0061 std::vector<L1TUtmBin> bins_;
0062 unsigned int version;
0063 COND_SERIALIZABLE;
0064 };
0065
0066 #endif