#include <iostream>
#include "L1Trigger/L1TCalorimeter/interface/HardwareSortingMethods.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Namespaces | |
l1t | |
map containing the conditions | |
Functions | |
std::vector< l1t::L1Candidate > | array_from_row_sorted_matrix (std::vector< std::vector< l1t::L1Candidate > > input_matrix, unsigned int n_keep) |
std::vector< std::vector < l1t::L1Candidate > > | extract_sub_jet_energy_position_matrix (std::vector< std::vector< l1t::L1Candidate > > 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) |
std::vector< std::vector < l1t::L1Candidate > > | presort (std::vector< std::vector< l1t::L1Candidate > > energies, int rows, int cols) |
std::vector< std::vector < l1t::L1Candidate > > | presort_egamma (std::vector< l1t::L1Candidate > input_egamma, int rows, int cols) |
void | print2DVector (std::vector< std::vector< l1t::L1Candidate > > myVector) |
std::vector< l1t::L1Candidate > | sort_array (std::vector< l1t::L1Candidate > inputArray) |
std::vector< std::vector < l1t::L1Candidate > > | sort_by_row_in_groups (std::vector< std::vector< l1t::L1Candidate > > input_matrix, int group_size) |
std::vector< std::vector < l1t::L1Candidate > > | sort_matrix_rows (std::vector< std::vector< l1t::L1Candidate > > 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 > > input_matrix, unsigned int group_size, unsigned int n_keep) |
Variables | |
int | fw_to_gt_phi_map [] = {4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5} |
int | gt_to_fw_phi_map [] = {4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5} |
bool | verbose = false |
std::vector<l1t::L1Candidate> array_from_row_sorted_matrix | ( | std::vector< std::vector< l1t::L1Candidate > > | input_matrix, |
unsigned int | n_keep | ||
) |
Definition at line 144 of file HardwareSortingMethods.cc.
References i, j, relval_steps::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 > > | input_matrix, |
unsigned int | row_i, | ||
unsigned int | row_f, | ||
unsigned int | col_i, | ||
unsigned int | col_f | ||
) |
Definition at line 94 of file HardwareSortingMethods.cc.
References i, 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 > > | energies, |
int | rows, | ||
int | cols | ||
) |
Definition at line 52 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 > | input_egamma, |
int | rows, | ||
int | cols | ||
) |
Definition at line 202 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 > > | myVector | ) |
Definition at line 25 of file HardwareSortingMethods.cc.
References EnergyCorrector::c, gather_cfg::cout, 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 > | inputArray | ) |
Definition at line 40 of file HardwareSortingMethods.cc.
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 > > | input_matrix, |
int | group_size | ||
) |
Definition at line 124 of file HardwareSortingMethods.cc.
References extract_sub_jet_energy_position_matrix(), g, 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 > > | input_matrix | ) |
Definition at line 110 of file HardwareSortingMethods.cc.
Referenced by sort_by_row_in_groups().
std::vector<std::vector<l1t::L1Candidate> > super_sort_matrix_rows | ( | std::vector< std::vector< l1t::L1Candidate > > | input_matrix, |
unsigned int | group_size, | ||
unsigned int | n_keep | ||
) |
Definition at line 176 of file HardwareSortingMethods.cc.
References array_from_row_sorted_matrix(), extract_sub_jet_energy_position_matrix(), g, i, print2DVector(), findQualityFiles::size, and sort_array().
Referenced by l1t::SortEGammas(), l1t::SortJets(), and l1t::SortTaus().
int fw_to_gt_phi_map[] = {4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5} |
Definition at line 15 of file HardwareSortingMethods.cc.
Referenced by l1t::SortJets(), and l1t::SortTaus().
int gt_to_fw_phi_map[] = {4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5} |
Definition at line 16 of file HardwareSortingMethods.cc.
Referenced by l1t::SortEGammas(), l1t::SortJets(), and l1t::SortTaus().
bool verbose = false |
Definition at line 13 of file HardwareSortingMethods.cc.
Referenced by L1TdeGCT::analyze(), L1TDEMON::analyze(), L1Comparator::beginRun(), L1TdeGCT::bookHistograms(), L1TDEMON::bookHistograms(), CalibratedElectronProducer::CalibratedElectronProducer(), CalibratedPatElectronProducer::CalibratedPatElectronProducer(), MultiVertexFitter::fit(), FlavorHistoryFilter::FlavorHistoryFilter(), JetMETDQMDCSFilter::JetMETDQMDCSFilter(), L1Comparator::L1Comparator(), L1DummyProducer::L1DummyProducer(), L1EmulBias::L1EmulBias(), L1TdeGCT::L1TdeGCT(), L1TDEMON::L1TDEMON(), MultiVertexFitter::lostVertexClaimer(), main(), parseFFTJetCorrector(), L1Comparator::process(), L1EmulBias::produce(), L1DummyProducer::produce(), L1Comparator::produce(), FFTJetCorrectionESProducer< CT >::produce(), PFPileUpAlgo::setVerbose(), TH1Store::setVerbose(), QCriterion::setVerbose(), PFECALSuperClusterAlgo::setVerbosityLevel(), MultiVertexFitter::updateSeeds(), MultiVertexFitter::updateWeights(), MultiVertexReconstructor::vertices(), and MultiVertexFitter::vertices().