L1Trigger
CSCTrackFinder
src
CSCTFCandidateBuilder.cc
Go to the documentation of this file.
1
#include "
L1Trigger/CSCTrackFinder/src/CSCTFCandidateBuilder.h
"
2
3
CSCTFCandidateBuilder::CSCTFCandidateBuilder
(
const
edm::ParameterSet
&
pset
) : m_muonsorter{
pset
} {}
4
5
void
CSCTFCandidateBuilder::buildCandidates
(
const
L1CSCTrackCollection
* trks,
6
std::vector<L1MuRegionalCand>*
cands
)
const
{
7
std::vector<L1MuRegionalCand>
result
;
8
CSCTriggerContainer<csc::L1Track>
stripped_tracks;
9
10
L1CSCTrackCollection::const_iterator tmp_trk = trks->begin();
11
12
for
(; tmp_trk != trks->end(); tmp_trk++) {
13
stripped_tracks.
push_back
(tmp_trk->first);
14
}
15
16
result
=
m_muonsorter
.
run
(stripped_tracks);
17
18
cands
->insert(
cands
->end(),
result
.begin(),
result
.end());
19
}
CSCTFMuonSorter::run
std::vector< L1MuRegionalCand > run(const CSCTriggerContainer< csc::L1Track > &) const
Definition:
CSCTFMuonSorter.cc:10
CSCTFCandidateBuilder::m_muonsorter
CSCTFMuonSorter m_muonsorter
Definition:
CSCTFCandidateBuilder.h:25
L1CSCTrackCollection
std::vector< L1CSCTrack > L1CSCTrackCollection
Definition:
L1CSCTrackCollection.h:8
CSCTFCandidateBuilder.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCTFCandidateBuilder::buildCandidates
void buildCandidates(const L1CSCTrackCollection *, std::vector< L1MuRegionalCand > *) const
Definition:
CSCTFCandidateBuilder.cc:5
CSCTriggerContainer< csc::L1Track >
HLT_2018_cff.cands
cands
Definition:
HLT_2018_cff.py:13762
CSCTriggerContainer::push_back
void push_back(const T &data)
Definition:
CSCTriggerContainer.h:51
mps_fire.result
result
Definition:
mps_fire.py:303
CSCTFCandidateBuilder::CSCTFCandidateBuilder
CSCTFCandidateBuilder(const edm::ParameterSet &)
Definition:
CSCTFCandidateBuilder.cc:3
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16