CMS 3D CMS Logo

Namespaces | Functions
DataUtils.h File Reference
#include <array>
#include <vector>
#include <type_traits>
#include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFfwd.h"
#include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFTypes.h"
#include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConstants.h"

Go to the source code of this file.

Namespaces

 emtf::phase2::data
 

Functions

template<typename T >
T emtf::phase2::data::getMedianOfSorted (T arr[], const unsigned int &arr_size)
 
template<typename T , typename C >
void emtf::phase2::data::mergesort (T arr[], const unsigned int &arr_size, const unsigned int &first_n, const C &comparator)
 
template<typename T , typename C >
void emtf::phase2::data::mergesort (T arr[], const unsigned int &arr_size, const C &comparator)
 
template<typename T , typename C >
void emtf::phase2::data::mergesortBlock (T arr[], const unsigned int &offset, const unsigned int &step, const unsigned int &block_begin, const unsigned int &block_end, const unsigned int &first_n, const C &comparator)
 
template<typename T , typename C >
void emtf::phase2::data::swapWires (T arr[], const unsigned int &wire_1, const unsigned int &wire_2, const C &comparator)