9 for (
int ibx =
muon.getFirstBX(); ibx <=
muon.getLastBX(); ++ibx) {
14 l1upgradetfmuon_.tfMuonHwPt.push_back(
it->hwPt());
16 l1upgradetfmuon_.tfMuonHwPtUnconstrained.push_back(
it->hwPtUnconstrained());
17 l1upgradetfmuon_.tfMuonHwDxy.push_back(
it->hwDXY());
19 l1upgradetfmuon_.tfMuonHwEta.push_back(
it->hwEta());
20 l1upgradetfmuon_.tfMuonHwPhi.push_back(
it->hwPhi());
21 l1upgradetfmuon_.tfMuonGlobalPhi.push_back(
23 l1upgradetfmuon_.tfMuonHwSign.push_back(
it->hwSign());
24 l1upgradetfmuon_.tfMuonHwSignValid.push_back(
it->hwSignValid());
25 l1upgradetfmuon_.tfMuonHwQual.push_back(
it->hwQual());
26 l1upgradetfmuon_.tfMuonLink.push_back(
it->link());
27 l1upgradetfmuon_.tfMuonProcessor.push_back(
it->processor());
28 l1upgradetfmuon_.tfMuonTrackFinderType.push_back(
it->trackFinderType());
29 l1upgradetfmuon_.tfMuonHwHF.push_back(
it->hwHF());
30 l1upgradetfmuon_.tfMuonBx.push_back(ibx);
31 std::map<std::string, int> decoded_track_address;
40 int wheel =
pow(-1, detSide) * wheelNum;
41 l1upgradetfmuon_.tfMuonWh.push_back(
wheel);
42 l1upgradetfmuon_.tfMuonTrAdd.push_back(stat1);
43 l1upgradetfmuon_.tfMuonTrAdd.push_back(stat2);
44 l1upgradetfmuon_.tfMuonTrAdd.push_back(stat3);
45 l1upgradetfmuon_.tfMuonTrAdd.push_back(stat4);
46 decoded_track_address[
"wheel"] =
wheel;
47 decoded_track_address[
"station1"] = stat1;
48 decoded_track_address[
"station2"] = stat2;
49 decoded_track_address[
"station3"] = stat3;
50 decoded_track_address[
"station4"] = stat4;
66 l1upgradetfmuon_.tfMuonDecodedTrAdd.push_back(decoded_track_address);
67 l1upgradetfmuon_.tfMuonHwTrAdd.push_back(
69 l1upgradetfmuon_.nTfMuons++;
~L1AnalysisL1UpgradeTfMuon()
std::vector< RegionalMuonCand >::const_iterator const_iterator
L1AnalysisL1UpgradeTfMuon()
static int calcGlobalPhi(int locPhi, tftype t, int proc)
static int generateRawTrkAddress(const RegionalMuonCand &, bool isKalman)
Power< A, B >::type pow(const A &a, const B &b)
void SetTfMuon(const l1t::RegionalMuonCandBxCollection &muon, unsigned maxL1UpgradeTfMuon)