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 
15 //#include "CondFormats/L1TObjects/interface/CaloParams.h"
17 #include <vector>
18 
19 namespace l1t {
20 
21  void calibrateAndRankJets(CaloParamsStage1 *params,
22  const std::vector<l1t::Jet> * input,
23  std::vector<l1t::Jet> *output);
24 
25  void calibrateAndRankTaus(CaloParamsStage1 *params,
26  const std::vector<l1t::Tau> * input,
27  std::vector<l1t::Tau> *output);
28 
29  void JetToGtEtaScales(CaloParamsStage1 *params,
30  const std::vector<l1t::Jet> * input,
31  std::vector<l1t::Jet> *output);
32 
33  void JetToGtPtScales(CaloParamsStage1 *params,
34  const std::vector<l1t::Jet> * input,
35  std::vector<l1t::Jet> *output);
36 
37 
38  void EGammaToGtScales(CaloParamsStage1 *params,
39  const std::vector<l1t::EGamma> * input,
40  std::vector<l1t::EGamma> *output);
41 
42  void TauToGtEtaScales(CaloParamsStage1 *params,
43  const std::vector<l1t::Tau> * input,
44  std::vector<l1t::Tau> *output);
45 
46  void TauToGtPtScales(CaloParamsStage1 *params,
47  const std::vector<l1t::Tau> * input,
48  std::vector<l1t::Tau> *output);
49 
50  void EtSumToGtScales(CaloParamsStage1 *params,
51  const std::vector<l1t::EtSum> * input,
52  std::vector<l1t::EtSum> *output);
53 
54  const unsigned int gtEta(const unsigned int iEta);
55 }
56 
57 #endif
void JetToGtEtaScales(CaloParamsStage1 *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
const unsigned int gtEta(const unsigned int iEta)
void TauToGtEtaScales(CaloParamsStage1 *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
void JetToGtPtScales(CaloParamsStage1 *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
static std::string const input
Definition: EdmProvDump.cc:43
void TauToGtPtScales(CaloParamsStage1 *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
void calibrateAndRankTaus(CaloParamsStage1 *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
void EGammaToGtScales(CaloParamsStage1 *params, const std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)
void calibrateAndRankJets(CaloParamsStage1 *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void EtSumToGtScales(CaloParamsStage1 *params, const std::vector< l1t::EtSum > *input, std::vector< l1t::EtSum > *output)