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  void EGammaToGtScales(CaloParamsHelper const *params,
37  const std::vector<l1t::EGamma> *input,
38  std::vector<l1t::EGamma> *output);
39 
40  void TauToGtEtaScales(CaloParamsHelper const *params,
41  const std::vector<l1t::Tau> *input,
42  std::vector<l1t::Tau> *output);
43 
44  void TauToGtPtScales(CaloParamsHelper const *params,
45  const std::vector<l1t::Tau> *input,
46  std::vector<l1t::Tau> *output);
47 
48  void EtSumToGtScales(CaloParamsHelper const *params,
49  const std::vector<l1t::EtSum> *input,
50  std::vector<l1t::EtSum> *output);
51 
52  const unsigned int gtEta(const unsigned int iEta);
53 } // namespace l1t
54 
55 #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)