8 : theEndcap(endcap), theStation(station), theSector(sector) {
14 sort_stubs_ = mpcParams.getParameter<
bool>(
"sortStubs");
17 max_stubs_ = mpcParams.getParameter<
unsigned>(
"maxStubs");
32 for (
auto Citer = thedigis.begin(); Citer != thedigis.end(); Citer++) {
33 const CSCDetId& detid((*Citer).first);
44 for (
auto Diter = (*Citer).second.first; Diter != (*Citer).second.second; Diter++) {
70 for (
auto LCT = result.begin(); LCT != result.end(); LCT++) {
73 result.erase(LCT, LCT);
78 result.erase(LCT, LCT);
83 if (!result.empty()) {
86 std::sort(result.begin(), result.end(), std::greater<csctf::TrackStub>());
91 if (result.size() > maxStubs) {
92 result.erase(result.begin() + maxStubs, result.end());
97 for (
auto LCT = result.begin(); LCT != result.end(); LCT++) {
std::vector< T > get() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
void loadLCTs(const CSCCorrelatedLCTDigiCollection &thedigis)
void push_back(const T &data)
bool drop_low_quality_stubs_
T getParameter(std::string const &) const
CSCTriggerContainer< csctf::TrackStub > stubs_
int triggerSector() const
std::vector< csctf::TrackStub > selectedStubs_