File indexing completed on 2021-02-14 12:51:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef tmEventSetup_L1TUtmCondition_hh
0011 #define tmEventSetup_L1TUtmCondition_hh
0012
0013 #include "CondFormats/L1TObjects/interface/L1TUtmCut.h"
0014 #include "CondFormats/L1TObjects/interface/L1TUtmObject.h"
0015 #include "CondFormats/Serialization/interface/Serializable.h"
0016
0017 #include <string>
0018 #include <vector>
0019
0020
0021
0022
0023 class L1TUtmCondition {
0024 public:
0025 L1TUtmCondition() : name_(), type_(-9999), objects_(), cuts_(), version(0){};
0026
0027 virtual ~L1TUtmCondition() = default;
0028
0029
0030 void setName(const std::string& x) { name_ = x; };
0031
0032
0033 void setType(const int x) { type_ = x; };
0034
0035
0036 const std::string& getName() const { return name_; };
0037
0038
0039 const int getType() const { return type_; };
0040
0041
0042 const std::vector<L1TUtmObject>& getObjects() const { return objects_; };
0043
0044
0045 const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
0046
0047 protected:
0048 std::string name_;
0049 int type_;
0050 std::vector<L1TUtmObject> objects_;
0051 std::vector<L1TUtmCut> cuts_;
0052 unsigned int version;
0053 COND_SERIALIZABLE;
0054 };
0055
0056 #endif