File indexing completed on 2024-04-06 12:20:17
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef LEGACYGTHELPER_H
0009 #define LEGACYGTHELPER_H
0010
0011 #include "DataFormats/L1Trigger/interface/EGamma.h"
0012 #include "DataFormats/L1Trigger/interface/Tau.h"
0013 #include "DataFormats/L1Trigger/interface/Jet.h"
0014 #include "DataFormats/L1Trigger/interface/EtSum.h"
0015 #include "L1Trigger/L1TCalorimeter/interface/CaloParamsHelper.h"
0016 #include <vector>
0017
0018 namespace l1t {
0019
0020 void calibrateAndRankJets(CaloParamsHelper const *params,
0021 const std::vector<l1t::Jet> *input,
0022 std::vector<l1t::Jet> *output);
0023
0024 void calibrateAndRankTaus(CaloParamsHelper const *params,
0025 const std::vector<l1t::Tau> *input,
0026 std::vector<l1t::Tau> *output);
0027
0028 void JetToGtEtaScales(CaloParamsHelper const *params,
0029 const std::vector<l1t::Jet> *input,
0030 std::vector<l1t::Jet> *output);
0031
0032 void JetToGtPtScales(CaloParamsHelper const *params,
0033 const std::vector<l1t::Jet> *input,
0034 std::vector<l1t::Jet> *output);
0035
0036 void EGammaToGtScales(CaloParamsHelper const *params,
0037 const std::vector<l1t::EGamma> *input,
0038 std::vector<l1t::EGamma> *output);
0039
0040 void TauToGtEtaScales(CaloParamsHelper const *params,
0041 const std::vector<l1t::Tau> *input,
0042 std::vector<l1t::Tau> *output);
0043
0044 void TauToGtPtScales(CaloParamsHelper const *params,
0045 const std::vector<l1t::Tau> *input,
0046 std::vector<l1t::Tau> *output);
0047
0048 void EtSumToGtScales(CaloParamsHelper const *params,
0049 const std::vector<l1t::EtSum> *input,
0050 std::vector<l1t::EtSum> *output);
0051
0052 const unsigned int gtEta(const unsigned int iEta);
0053 }
0054
0055 #endif