#include <iostream>
#include "L1Trigger/L1TCalorimeter/interface/HardwareSortingMethods.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Namespaces | |
l1t | |
delete x; | |
Functions | |
std::vector< l1t::L1Candidate > | array_from_row_sorted_matrix (std::vector< std::vector< l1t::L1Candidate > > const &input_matrix, unsigned int n_keep) |
std::vector< std::vector< l1t::L1Candidate > > | extract_sub_jet_energy_position_matrix (std::vector< std::vector< l1t::L1Candidate > > const &input_matrix, unsigned int row_i, unsigned int row_f, unsigned int col_i, unsigned int col_f) |
unsigned int | l1t::pack15bits (int pt, int eta, int phi) |
unsigned int | l1t::pack16bits (int pt, int eta, int phi) |
unsigned int | l1t::pack16bitsEgammaSpecial (int pt, int eta, int phi) |
std::vector< std::vector< l1t::L1Candidate > > | presort (std::vector< std::vector< l1t::L1Candidate > > const &energies, int rows, int cols) |
std::vector< std::vector< l1t::L1Candidate > > | presort_egamma (std::vector< l1t::L1Candidate > const &input_egamma, int rows, int cols) |
void | print2DVector (std::vector< std::vector< l1t::L1Candidate > > const &myVector) |
std::vector< l1t::L1Candidate > | sort_array (std::vector< l1t::L1Candidate > const &inputArray) |
std::vector< std::vector< l1t::L1Candidate > > | sort_by_row_in_groups (std::vector< std::vector< l1t::L1Candidate > > const &input_matrix, int group_size) |
std::vector< std::vector< l1t::L1Candidate > > | sort_matrix_rows (std::vector< std::vector< l1t::L1Candidate > > const &input_matrix) |
void | l1t::SortEGammas (std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output) |
void | l1t::SortJets (std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output) |
void | l1t::SortTaus (std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output) |
std::vector< std::vector< l1t::L1Candidate > > | super_sort_matrix_rows (std::vector< std::vector< l1t::L1Candidate > > const &input_matrix, unsigned int group_size, unsigned int n_keep) |
std::vector<l1t::L1Candidate> array_from_row_sorted_matrix | ( | std::vector< std::vector< l1t::L1Candidate > > const & | input_matrix, |
unsigned int | n_keep | ||
) |
Definition at line 156 of file HardwareSortingMethods.cc.
References mps_fire::i, gen::k, l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), l1t::L1Candidate::setHwPt(), l1t::L1Candidate::setHwQual(), and findQualityFiles::size.
Referenced by super_sort_matrix_rows().
std::vector<std::vector<l1t::L1Candidate> > extract_sub_jet_energy_position_matrix | ( | std::vector< std::vector< l1t::L1Candidate > > const & | input_matrix, |
unsigned int | row_i, | ||
unsigned int | row_f, | ||
unsigned int | col_i, | ||
unsigned int | col_f | ||
) |
Definition at line 106 of file HardwareSortingMethods.cc.
References mps_fire::i, l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), l1t::L1Candidate::setHwPt(), and l1t::L1Candidate::setHwQual().
Referenced by sort_by_row_in_groups(), and super_sort_matrix_rows().
std::vector<std::vector<l1t::L1Candidate> > presort | ( | std::vector< std::vector< l1t::L1Candidate > > const & | energies, |
int | rows, | ||
int | cols | ||
) |
Definition at line 64 of file HardwareSortingMethods.cc.
References EnergyCorrector::c, cuy::col, print2DVector(), alignCSCRings::r, tablePrinter::rows, l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), l1t::L1Candidate::setHwPt(), l1t::L1Candidate::setHwQual(), and sort_array().
Referenced by l1t::SortJets(), and l1t::SortTaus().
std::vector<std::vector<l1t::L1Candidate> > presort_egamma | ( | std::vector< l1t::L1Candidate > const & | input_egamma, |
int | rows, | ||
int | cols | ||
) |
Definition at line 214 of file HardwareSortingMethods.cc.
References EnergyCorrector::c, cuy::col, print2DVector(), alignCSCRings::r, tablePrinter::rows, l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), l1t::L1Candidate::setHwPt(), l1t::L1Candidate::setHwQual(), and sort_array().
Referenced by l1t::SortEGammas().
void print2DVector | ( | std::vector< std::vector< l1t::L1Candidate > > const & | myVector | ) |
Definition at line 37 of file HardwareSortingMethods.cc.
References EnergyCorrector::c, gather_cfg::cout, hgcalPlots::ncols, and alignCSCRings::r.
Referenced by presort(), presort_egamma(), sort_by_row_in_groups(), and super_sort_matrix_rows().
std::vector<l1t::L1Candidate> sort_array | ( | std::vector< l1t::L1Candidate > const & | inputArray | ) |
Definition at line 52 of file HardwareSortingMethods.cc.
References mps_fire::i.
Referenced by presort(), presort_egamma(), and super_sort_matrix_rows().
std::vector<std::vector<l1t::L1Candidate> > sort_by_row_in_groups | ( | std::vector< std::vector< l1t::L1Candidate > > const & | input_matrix, |
int | group_size | ||
) |
Definition at line 136 of file HardwareSortingMethods.cc.
References extract_sub_jet_energy_position_matrix(), g, mps_fire::i, print2DVector(), findQualityFiles::size, and sort_matrix_rows().
Referenced by l1t::SortEGammas(), l1t::SortJets(), and l1t::SortTaus().
std::vector<std::vector<l1t::L1Candidate> > sort_matrix_rows | ( | std::vector< std::vector< l1t::L1Candidate > > const & | input_matrix | ) |
Definition at line 122 of file HardwareSortingMethods.cc.
References mps_fire::i.
Referenced by sort_by_row_in_groups().
std::vector<std::vector<l1t::L1Candidate> > super_sort_matrix_rows | ( | std::vector< std::vector< l1t::L1Candidate > > const & | input_matrix, |
unsigned int | group_size, | ||
unsigned int | n_keep | ||
) |
Definition at line 188 of file HardwareSortingMethods.cc.
References array_from_row_sorted_matrix(), extract_sub_jet_energy_position_matrix(), g, mps_fire::i, print2DVector(), findQualityFiles::size, and sort_array().
Referenced by l1t::SortEGammas(), l1t::SortJets(), and l1t::SortTaus().