#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 176 of file HardwareSortingMethods.cc.
References mps_fire::i, dqmiolumiharvest::j, dqmdumpme::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 107 of file HardwareSortingMethods.cc.
References mps_fire::i, dqmiolumiharvest::j, 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 62 of file HardwareSortingMethods.cc.
References HltBtagPostValidation_cff::c, cuy::col, print2DVector(), alignCSCRings::r, mysort::rows, l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), l1t::L1Candidate::setHwPt(), l1t::L1Candidate::setHwQual(), sort_array(), and verbose.
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 243 of file HardwareSortingMethods.cc.
References HltBtagPostValidation_cff::c, print2DVector(), alignCSCRings::r, mysort::rows, l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), l1t::L1Candidate::setHwPt(), l1t::L1Candidate::setHwQual(), sort_array(), and verbose.
Referenced by l1t::SortEGammas().
void print2DVector | ( | std::vector< std::vector< l1t::L1Candidate > > const & | myVector | ) |
Definition at line 34 of file HardwareSortingMethods.cc.
References HltBtagPostValidation_cff::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 49 of file HardwareSortingMethods.cc.
References l1trig_cff::hwPt, mps_fire::i, and dqmiolumiharvest::j.
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 149 of file HardwareSortingMethods.cc.
References extract_sub_jet_energy_position_matrix(), g, mps_fire::i, print2DVector(), findQualityFiles::size, sort_matrix_rows(), and verbose.
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 131 of file HardwareSortingMethods.cc.
References l1trig_cff::hwPt, mps_fire::i, and dqmiolumiharvest::j.
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 211 of file HardwareSortingMethods.cc.
References array_from_row_sorted_matrix(), extract_sub_jet_energy_position_matrix(), g, mps_fire::i, print2DVector(), findQualityFiles::size, sort_array(), and verbose.
Referenced by l1t::SortEGammas(), l1t::SortJets(), and l1t::SortTaus().