1 #ifndef CSCCommonTrigger_CSCTriggerContainer_h 2 #define CSCCommonTrigger_CSCTriggerContainer_h 32 std::vector<T>
get()
const;
33 std::vector<T>
get(
const unsigned&
endcap,
35 const unsigned& tsector,
36 const unsigned& tsubsector,
37 const unsigned& cscid,
39 std::vector<T>
get(
const unsigned&
endcap,
42 const unsigned& tsector,
43 const unsigned& tsubsector,
45 std::vector<T>
get(
const unsigned&
endcap,
46 const unsigned& sector,
48 std::vector<T>
get(
const unsigned&
endcap,
const unsigned& sector)
const;
49 std::vector<T>
get(
const int&
BX)
const;
54 std::vector<T> vec = data.
get();
55 _objs.insert(
_objs.end(), vec.begin(), vec.end());
90 const unsigned& tsector,
91 const unsigned& tsubsector,
92 const unsigned& cscid,
93 const int&
BX)
const {
96 for (
unsigned i = 0;
i <
_objs.size();
i++)
98 (station != 1 ||
_objs[
i].subsector() == tsubsector) &&
_objs[
i].cscid() == cscid &&
_objs[
i].BX() ==
BX)
99 result.push_back(
_objs[
i]);
107 const unsigned& tsector,
108 const unsigned& tsubsector,
109 const int&
BX)
const {
112 for (
unsigned i = 0;
i <
_objs.size(); ++
i)
114 (station != 1 ||
_objs[
i].subsector() == tsubsector) &&
_objs[
i].
BX() ==
BX)
115 result.push_back(
_objs[
i]);
124 for (
unsigned i = 0;
i <
_objs.size(); ++
i)
126 result.push_back(
_objs[
i]);
135 for (
unsigned i = 0;
i <
_objs.size(); ++
i)
137 result.push_back(
_objs[
i]);
146 for (
unsigned i = 0;
i <
_objs.size(); ++
i)
148 result.push_back(
_objs[
i]);
std::vector< T > get() const
CSCTriggerContainer(const CSCTriggerContainer &cpy)
void push_back(const T &data)
void push_many(const CSCTriggerContainer< T > &data)
void push_many(const std::vector< T > &data)
CSCTriggerContainer & operator=(const CSCTriggerContainer &)
char data[epos_bytes_allocation]