CMS 3D CMS Logo

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 const *params,
21  const std::vector<l1t::Jet> * input,
22  std::vector<l1t::Jet> *output);
23 
24  void calibrateAndRankTaus(CaloParamsHelper const *params,
25  const std::vector<l1t::Tau> * input,
26  std::vector<l1t::Tau> *output);
27 
28  void JetToGtEtaScales(CaloParamsHelper const *params,
29  const std::vector<l1t::Jet> * input,
30  std::vector<l1t::Jet> *output);
31 
32  void JetToGtPtScales(CaloParamsHelper const *params,
33  const std::vector<l1t::Jet> * input,
34  std::vector<l1t::Jet> *output);
35 
36 
37  void EGammaToGtScales(CaloParamsHelper const *params,
38  const std::vector<l1t::EGamma> * input,
39  std::vector<l1t::EGamma> *output);
40 
41  void TauToGtEtaScales(CaloParamsHelper const *params,
42  const std::vector<l1t::Tau> * input,
43  std::vector<l1t::Tau> *output);
44 
45  void TauToGtPtScales(CaloParamsHelper const *params,
46  const std::vector<l1t::Tau> * input,
47  std::vector<l1t::Tau> *output);
48 
49  void EtSumToGtScales(CaloParamsHelper const *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 calibrateAndRankTaus(CaloParamsHelper const *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
const unsigned int gtEta(const unsigned int iEta)
delete x;
Definition: CaloConfig.h:22
static std::string const input
Definition: EdmProvDump.cc:48
void calibrateAndRankJets(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void EtSumToGtScales(CaloParamsHelper const *params, const std::vector< l1t::EtSum > *input, std::vector< l1t::EtSum > *output)
void JetToGtEtaScales(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void JetToGtPtScales(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void TauToGtEtaScales(CaloParamsHelper const *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
void TauToGtPtScales(CaloParamsHelper const *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
void EGammaToGtScales(CaloParamsHelper const *params, const std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)