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 
20 // system include files
21 #include <string>
22 #include <vector>
23 
24 // user include files
27 
28 // forward declarations
29 
30 // class declaration
32 {
33 
34 public:
35 
38 
41 
44  }
45 
46 public:
47 
49  const L1GlobalTriggerObjectMap* getObjectMap(const std::string& algoNameVal) const;
50 
52  const L1GlobalTriggerObjectMap* getObjectMap(const int algoBitNumberVal) const;
53 
57  const std::string& algoNameVal, const std::string& condNameVal) const;
58 
62  const int algoBitNumberVal, const std::string& condNameVal) const;
63 
66  bool getConditionResult(const std::string& algoNameVal, const std::string& condNameVal) const;
67 
70  bool getConditionResult(const int algoBitNumberVal, const std::string& condNameVal) const;
71 
72 public:
73 
75  inline const std::vector<L1GlobalTriggerObjectMap>& gtObjectMap() const
76  {
77  return m_gtObjectMap;
78  }
79 
80  inline void setGtObjectMap(const std::vector<L1GlobalTriggerObjectMap>& gtObjectMapValue)
81  {
82  m_gtObjectMap = gtObjectMapValue;
83  }
84 
85  inline void swapGtObjectMap(std::vector<L1GlobalTriggerObjectMap>& gtObjectMapValue)
86  {
87  m_gtObjectMap.swap(gtObjectMapValue);
88  }
89 
90 
91 private:
92 
93  std::vector<L1GlobalTriggerObjectMap> m_gtObjectMap;
94 
95 };
96 
98  lh.swap(rh);
99 }
100 
101 #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: SSEVec.h:55
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