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)
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)
124 for (
unsigned i = 0;
i < _objs.size(); ++
i)
125 if (_objs[
i].
endcap() ==
endcap && _objs[
i].sector() == sector && _objs[
i].BX() ==
BX)
135 for (
unsigned i = 0;
i < _objs.size(); ++
i)
146 for (
unsigned i = 0;
i < _objs.size(); ++
i)
147 if (_objs[
i].
BX() ==
BX)