CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GlobalTriggerObjectMapRecord.h
Go to the documentation of this file.
1 #ifndef L1GlobalTrigger_L1GlobalTriggerObjectMapRecord_h
2 #define L1GlobalTrigger_L1GlobalTriggerObjectMapRecord_h
3 
18 // system include files
19 #include <string>
20 #include <vector>
21 
22 // user include files
25 
26 // forward declarations
27 
28 // class declaration
30 {
31 
32 public:
33 
36 
39 
42  }
43 
44 public:
45 
47  const L1GlobalTriggerObjectMap* getObjectMap(const std::string& algoNameVal) const;
48 
50  const L1GlobalTriggerObjectMap* getObjectMap(const int algoBitNumberVal) const;
51 
55  const std::string& algoNameVal, const std::string& condNameVal) const;
56 
60  const int algoBitNumberVal, const std::string& condNameVal) const;
61 
64  bool getConditionResult(const std::string& algoNameVal, const std::string& condNameVal) const;
65 
68  bool getConditionResult(const int algoBitNumberVal, const std::string& condNameVal) const;
69 
70 public:
71 
73  inline const std::vector<L1GlobalTriggerObjectMap>& gtObjectMap() const
74  {
75  return m_gtObjectMap;
76  }
77 
78  inline void setGtObjectMap(const std::vector<L1GlobalTriggerObjectMap>& gtObjectMapValue)
79  {
80  m_gtObjectMap = gtObjectMapValue;
81  }
82 
83  inline void swapGtObjectMap(std::vector<L1GlobalTriggerObjectMap>& gtObjectMapValue)
84  {
85  m_gtObjectMap.swap(gtObjectMapValue);
86  }
87 
88 
89 private:
90 
91  std::vector<L1GlobalTriggerObjectMap> m_gtObjectMap;
92 
93 };
94 
96  lh.swap(rh);
97 }
98 
99 #endif /* L1GlobalTrigger_L1GlobalTriggerObjectMapRecord_h */
void swap(ora::Record &rh, ora::Record &lh)
Definition: Record.h:70
void swapGtObjectMap(std::vector< L1GlobalTriggerObjectMap > &gtObjectMapValue)
bool int lh
Definition: SIMDVec.h:21
const CombinationsInCond * getCombinationsInCond(const std::string &algoNameVal, const std::string &condNameVal) const
const std::vector< L1GlobalTriggerObjectMap > & gtObjectMap() const
get / set the vector of object maps
std::vector< L1GlobalTriggerObjectMap > m_gtObjectMap
void swap(L1GlobalTriggerObjectMapRecord &rh)
void setGtObjectMap(const std::vector< L1GlobalTriggerObjectMap > &gtObjectMapValue)
bool getConditionResult(const std::string &algoNameVal, const std::string &condNameVal) const
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition
const L1GlobalTriggerObjectMap * getObjectMap(const std::string &algoNameVal) const
return the object map for the algorithm algoNameVal