1 #ifndef L1TGlobalScales_h
2 #define L1TGlobalScales_h
39 std::vector<std::pair<double, double>>
etBins;
45 std::vector<std::pair<double, double>>
uptBins;
50 std::vector<std::pair<double, double>>
phiBins;
55 std::vector<std::pair<double, double>>
etaBins;
75 virtual void setLUT_Pt(
const std::string& lutName, std::vector<long long> lut,
unsigned int precision);
77 std::vector<long long> lut,
78 unsigned int precision);
80 virtual void setLUT_Cos(
const std::string& lutName, std::vector<long long> lut,
unsigned int precision);
81 virtual void setLUT_Sin(
const std::string& lutName, std::vector<long long> lut,
unsigned int precision);
117 virtual void dumpAllLUTs(std::ostream& myCout)
const;
119 virtual void print(std::ostream& myCout)
const;
120 virtual void printScale(ScaleParameters
scale, std::ostream& myCout)
const;
144 std::map<std::string, std::vector<long long>>
m_lut_Pt;
145 std::map<std::string, std::vector<long long>>
m_lut_Upt;
147 std::map<std::string, std::vector<long long>>
m_lut_Cos;
148 std::map<std::string, std::vector<long long>>
m_lut_Sin;
long long getLUT_Upt(const std::string &lutName, int element) const
const ScaleParameters & getETMScales() const
unsigned int getPrec_Cos(const std::string &lutName) const
void setETMScales(ScaleParameters &scales)
unsigned int getPrec_Pt(const std::string &lutName) const
void setJetScales(ScaleParameters &scales)
std::map< std::string, unsigned int > m_Prec_Upt
ScaleParameters m_ettScales
long long getLUT_Sin(const std::string &lutName, int element) const
std::map< std::string, std::vector< long long > > m_lut_DeltaPhi
std::map< std::string, std::vector< long long > > m_lut_Upt
ScaleParameters m_tauScales
ScaleParameters m_jetScales
std::map< std::string, std::vector< long long > > m_lut_CalMuPhi
std::string m_ScaleSetName
const ScaleParameters & getJETScales() const
unsigned int getPrec_DeltaEta_Cosh(const std::string &lutName) const
const ScaleParameters & getETMHFScales() const
virtual void setLUT_CalMuPhi(const std::string &lutName, std::vector< long long > lut)
void setScalesName(const std::string &name)
virtual void setLUT_Upt(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
const ScaleParameters & getEGScales() const
virtual void setLUT_DeltaEta(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
long long getLUT_DeltaEta(std::string lutName, int element) const
unsigned int getPrec_Sin(const std::string &lutName) const
ScaleParameters m_etmScales
std::map< std::string, std::vector< long long > > m_lut_Sin
const ScaleParameters & getHTTScales() const
void setETMHfScales(ScaleParameters &scales)
ScaleParameters m_egScales
virtual void dumpAllLUTs(std::ostream &myCout) const
std::vector< std::pair< double, double > > phiBins
ScaleParameters m_ettEmScales
ScaleParameters m_htmScales
virtual void setLUT_Cos(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
unsigned int getPrec_Upt(const std::string &lutName) const
long long getLUT_DeltaPhi_Cos(std::string lutName, int element) const
long long getLUT_Cos(const std::string &lutName, int element) const
ScaleParameters m_etmHfScales
void setEGScales(ScaleParameters &scales)
void setTauScales(ScaleParameters &scales)
long long getLUT_Pt(const std::string &lutName, int element) const
unsigned int getPrec_DeltaEta(const std::string &lutName) const
virtual void print(std::ostream &myCout) const
std::map< std::string, std::vector< long long > > m_lut_Pt
void setETTEmScales(ScaleParameters &scales)
const ScaleParameters & getTAUScales() const
long long getLUT_CalMuPhi(const std::string &lutName, int element) const
virtual void setLUT_Cosh(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
std::map< std::string, unsigned int > m_Prec_Cos
ScaleParameters m_httScales
long long getLUT_CalMuEta(const std::string &lutName, int element) const
virtual void dumpLUT(std::ostream &myCout, int LUTtype, std::string name) const
std::map< std::string, unsigned int > m_Prec_DeltaEta
long long getLUT_DeltaEta_Cosh(std::string lutName, int element) const
virtual void setLUT_DeltaPhi(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
void setMuonScales(ScaleParameters &scales)
long long getLUT_DeltaPhi(std::string lutName, int element) const
void setHTTScales(ScaleParameters &scales)
std::map< std::string, unsigned int > m_Prec_DeltaPhi
std::map< std::string, unsigned int > m_Prec_Pt
std::map< std::string, std::vector< long long > > m_lut_DeltaEta
std::map< std::string, unsigned int > m_Prec_Cosh
std::map< std::string, std::vector< long long > > m_lut_CalMuEta
virtual void setLUT_Pt(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
void setHTMScales(ScaleParameters &scales)
std::vector< std::pair< double, double > > etBins
typedef for a single object template
unsigned int getPrec_DeltaPhi(const std::string &lutName) const
std::vector< std::pair< double, double > > uptBins
std::map< std::string, std::vector< long long > > m_lut_Cosh
void setETTScales(ScaleParameters &scales)
const ScaleParameters & getETTEmScales() const
const ScaleParameters & getMUScales() const
const ScaleParameters & getETTScales() const
std::map< std::string, unsigned int > m_Prec_Sin
const ScaleParameters & getHTMScales() const
virtual void setLUT_CalMuEta(const std::string &lutName, std::vector< long long > lut)
unsigned int getPrec_DeltaPhi_Cos(const std::string &lutName) const
virtual void setLUT_Sin(const std::string &lutName, std::vector< long long > lut, unsigned int precision)
std::map< std::string, std::vector< long long > > m_lut_Cos
virtual std::string getScalesName() const
std::vector< std::pair< double, double > > etaBins
virtual void printScale(ScaleParameters scale, std::ostream &myCout) const
ScaleParameters m_muScales