CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HardwareSortingMethods.h
Go to the documentation of this file.
1 // HardwareSortingMethods.h
2 // Authors: R. Alex Barbieri
3 // Ben Kreis
4 //
5 // This file should contain the C++ equivalents of the sorting
6 // algorithms used in Hardware. Most C++ methods originally written by
7 // Ben Kries.
8 
9 #ifndef HARDWARESORTINGMETHODS_H
10 #define HARDWARESORTINGMETHODS_H
11 
15 #include <vector>
16 
17 namespace l1t {
18  void SortJets(std::vector<l1t::Jet> * input,
19  std::vector<l1t::Jet> * output);
20 
21  void SortEGammas(std::vector<l1t::EGamma> * input,
22  std::vector<l1t::EGamma> * output);
23 
24  void SortTaus(std::vector<l1t::Tau> * input,
25  std::vector<l1t::Tau> * output);
26 
27  unsigned int pack15bits(int pt, int eta, int phi);
28  unsigned int pack16bits(int pt, int eta, int phi);
29  unsigned int pack16bitsEgammaSpecial(int pt, int eta, int phi);
30 }
31 
32 #endif
void SortTaus(std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
static std::string const input
Definition: EdmProvDump.cc:43
void SortJets(std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
unsigned int pack16bitsEgammaSpecial(int pt, int eta, int phi)
void SortEGammas(std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)
unsigned int pack15bits(int pt, int eta, int phi)
unsigned int pack16bits(int pt, int eta, int phi)