test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
legacyGtHelper.h
Go to the documentation of this file.
1 // legacyGtHelper.h
2 // Authors: Alex Barbieri
3 //
4 // This is a collection of helper methods to make sure that
5 // the objects passed to the legacy GT are using the proper
6 // Et scales and eta coordinates.
7 
8 #ifndef LEGACYGTHELPER_H
9 #define LEGACYGTHELPER_H
10 
16 #include <vector>
17 
18 namespace l1t {
19 
20  void calibrateAndRankJets(CaloParamsHelper *params,
21  const std::vector<l1t::Jet> * input,
22  std::vector<l1t::Jet> *output);
23 
24  void calibrateAndRankTaus(CaloParamsHelper *params,
25  const std::vector<l1t::Tau> * input,
26  std::vector<l1t::Tau> *output);
27 
28  void JetToGtEtaScales(CaloParamsHelper *params,
29  const std::vector<l1t::Jet> * input,
30  std::vector<l1t::Jet> *output);
31 
32  void JetToGtPtScales(CaloParamsHelper *params,
33  const std::vector<l1t::Jet> * input,
34  std::vector<l1t::Jet> *output);
35 
36 
37  void EGammaToGtScales(CaloParamsHelper *params,
38  const std::vector<l1t::EGamma> * input,
39  std::vector<l1t::EGamma> *output);
40 
41  void TauToGtEtaScales(CaloParamsHelper *params,
42  const std::vector<l1t::Tau> * input,
43  std::vector<l1t::Tau> *output);
44 
45  void TauToGtPtScales(CaloParamsHelper *params,
46  const std::vector<l1t::Tau> * input,
47  std::vector<l1t::Tau> *output);
48 
49  void EtSumToGtScales(CaloParamsHelper *params,
50  const std::vector<l1t::EtSum> * input,
51  std::vector<l1t::EtSum> *output);
52 
53  const unsigned int gtEta(const unsigned int iEta);
54 }
55 
56 #endif
void TauToGtEtaScales(CaloParamsHelper *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
const unsigned int gtEta(const unsigned int iEta)
void EGammaToGtScales(CaloParamsHelper *params, const std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)
void calibrateAndRankTaus(CaloParamsHelper *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
void EtSumToGtScales(CaloParamsHelper *params, const std::vector< l1t::EtSum > *input, std::vector< l1t::EtSum > *output)
static std::string const input
Definition: EdmProvDump.cc:44
void calibrateAndRankJets(CaloParamsHelper *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void JetToGtEtaScales(CaloParamsHelper *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void JetToGtPtScales(CaloParamsHelper *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void TauToGtPtScales(CaloParamsHelper *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)