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
input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
l1t::EtSumToGtScales
void EtSumToGtScales(CaloParamsHelper const *params, const std::vector< l1t::EtSum > *input, std::vector< l1t::EtSum > *output)
Definition: legacyGtHelper.cc:147
Jet.h
l1t::TauToGtEtaScales
void TauToGtEtaScales(CaloParamsHelper const *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
Definition: legacyGtHelper.cc:110
l1t::TauToGtPtScales
void TauToGtPtScales(CaloParamsHelper const *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
Definition: legacyGtHelper.cc:131
l1t::JetToGtPtScales
void JetToGtPtScales(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
Definition: legacyGtHelper.cc:73
EGamma.h
l1t
delete x;
Definition: CaloConfig.h:22
l1t::EGammaToGtScales
void EGammaToGtScales(CaloParamsHelper const *params, const std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)
Definition: legacyGtHelper.cc:89
l1t::gtEta
const unsigned int gtEta(const unsigned int iEta)
Definition: legacyGtHelper.cc:172
CaloParamsHelper.h
l1t::calibrateAndRankTaus
void calibrateAndRankTaus(CaloParamsHelper const *params, const std::vector< l1t::Tau > *input, std::vector< l1t::Tau > *output)
Definition: legacyGtHelper.cc:34
L1TowerCalibrationProducer_cfi.iEta
iEta
Definition: L1TowerCalibrationProducer_cfi.py:60
EtSum.h
l1t::calibrateAndRankJets
void calibrateAndRankJets(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
Definition: legacyGtHelper.cc:12
l1t::JetToGtEtaScales
void JetToGtEtaScales(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
Definition: legacyGtHelper.cc:52
Tau.h