1 #ifndef CSCCommonTrigger_CSCTriggerContainer_h
2 #define CSCCommonTrigger_CSCTriggerContainer_h
34 std::vector<T>
get()
const;
35 std::vector<T>
get(
const unsigned&
endcap,
const unsigned&
station,
const unsigned& tsector,
36 const unsigned& tsubsector,
const unsigned& cscid,
const int& BX)
const;
37 std::vector<T>
get(
const unsigned&
endcap,
const unsigned&
station,
const unsigned& tsector,
39 const unsigned& tsubsector,
const int& BX)
const;
40 std::vector<T>
get(
const unsigned&
endcap,
const unsigned& sector,
const int& BX)
const;
41 std::vector<T>
get(
const unsigned&
endcap,
const unsigned& sector)
const;
42 std::vector<T>
get(
const int& BX)
const;
85 const unsigned& tsector,
const unsigned& tsubsector,
86 const unsigned& cscid,
const int& BX)
const
90 for(
unsigned i = 0;
i < _objs.size();
i++)
91 if(_objs[
i].
endcap() == endcap && _objs[
i].station() == station &&
92 _objs[
i].sector() == tsector && (station != 1 || _objs[
i].subsector() == tsubsector) &&
93 _objs[
i].cscid() == cscid && _objs[
i].BX() == BX)
94 result.push_back(_objs[
i]);
101 const unsigned& tsector,
const unsigned& tsubsector,
106 for(
unsigned i = 0;
i < _objs.size(); ++
i)
107 if(_objs[
i].
endcap() == endcap && _objs[
i].station() == station &&
108 _objs[
i].sector() == tsector && (station != 1 || _objs[
i].subsector() == tsubsector)
109 && _objs[
i].BX() == BX)
110 result.push_back(_objs[
i]);
121 for(
unsigned i = 0;
i < _objs.size(); ++
i)
122 if(_objs[
i].
endcap() == endcap && _objs[
i].sector() == sector && _objs[
i].BX() == BX)
123 result.push_back(_objs[
i]);
133 for(
unsigned i = 0;
i < _objs.size(); ++
i)
134 if(_objs[
i].
endcap() == endcap && _objs[
i].sector() == sector)
135 result.push_back(_objs[
i]);
145 for(
unsigned i = 0;
i < _objs.size(); ++
i)
146 if(_objs[
i].BX() == BX) 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]