10 #ifndef tmEventSetup_L1TUtmCondition_hh 11 #define tmEventSetup_L1TUtmCondition_hh 17 #include "tmEventSetup/esCondition.hh" 34 objects_.reserve(esCond.getObjects().size());
35 for (
auto it = esCond.getObjects().begin(); it != esCond.getObjects().end(); ++it)
37 cuts_.reserve(esCond.getCuts().size());
38 for (
auto it = esCond.getCuts().begin(); it != esCond.getCuts().end(); ++it)
71 #endif // tmEventSetup_L1TUtmCondition_hh const int getType() const
virtual ~L1TUtmCondition()=default
const std::vector< L1TUtmObject > & getObjects() const
void setName(const std::string &x)
std::vector< L1TUtmObject > objects_
const std::string & getName() const
std::vector< L1TUtmCut > cuts_
const std::vector< L1TUtmCut > & getCuts() const
#define COND_SERIALIZABLE
L1TUtmCondition(const tmeventsetup::esCondition &esCond)
L1TUtmCondition(std::string name, int type, std::vector< L1TUtmObject > objects, std::vector< L1TUtmCut > cuts, unsigned int vers)
void setType(const int x)