Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:20

0001 //-------------------------------------------------
0002 //
0003 //   \class L1MuGMTParameters
0004 //
0005 /**   Description:  Parameters of the GMT
0006  *                  
0007 */
0008 //
0009 //   $Date$
0010 //   $Revision$
0011 //
0012 //
0013 //   Author :
0014 //   Ivan Mikulec      HEPHY / Vienna
0015 //
0016 //
0017 //--------------------------------------------------
0018 #ifndef CondFormatsL1TObjects_L1MuGMTParameters_h
0019 #define CondFormatsL1TObjects_L1MuGMTParameters_h
0020 
0021 #include "CondFormats/Serialization/interface/Serializable.h"
0022 
0023 #include <string>
0024 
0025 class L1MuGMTParameters {
0026 public:
0027   L1MuGMTParameters() : m_VersionLUTs(0) {}
0028   ~L1MuGMTParameters() {}
0029 
0030   void setEtaWeight_barrel(const double EtaWeight_barrel) { m_EtaWeight_barrel = EtaWeight_barrel; }
0031   double getEtaWeight_barrel() const { return m_EtaWeight_barrel; }
0032 
0033   void setPhiWeight_barrel(const double PhiWeight_barrel) { m_PhiWeight_barrel = PhiWeight_barrel; }
0034   double getPhiWeight_barrel() const { return m_PhiWeight_barrel; }
0035 
0036   void setEtaPhiThreshold_barrel(const double EtaPhiThreshold_barrel) {
0037     m_EtaPhiThreshold_barrel = EtaPhiThreshold_barrel;
0038   }
0039   double getEtaPhiThreshold_barrel() const { return m_EtaPhiThreshold_barrel; }
0040 
0041   void setEtaWeight_endcap(const double EtaWeight_endcap) { m_EtaWeight_endcap = EtaWeight_endcap; }
0042   double getEtaWeight_endcap() const { return m_EtaWeight_endcap; }
0043 
0044   void setPhiWeight_endcap(const double PhiWeight_endcap) { m_PhiWeight_endcap = PhiWeight_endcap; }
0045   double getPhiWeight_endcap() const { return m_PhiWeight_endcap; }
0046 
0047   void setEtaPhiThreshold_endcap(const double EtaPhiThreshold_endcap) {
0048     m_EtaPhiThreshold_endcap = EtaPhiThreshold_endcap;
0049   }
0050   double getEtaPhiThreshold_endcap() const { return m_EtaPhiThreshold_endcap; }
0051 
0052   void setEtaWeight_COU(const double EtaWeight_COU) { m_EtaWeight_COU = EtaWeight_COU; }
0053   double getEtaWeight_COU() const { return m_EtaWeight_COU; }
0054 
0055   void setPhiWeight_COU(const double PhiWeight_COU) { m_PhiWeight_COU = PhiWeight_COU; }
0056   double getPhiWeight_COU() const { return m_PhiWeight_COU; }
0057 
0058   void setEtaPhiThreshold_COU(const double EtaPhiThreshold_COU) { m_EtaPhiThreshold_COU = EtaPhiThreshold_COU; }
0059   double getEtaPhiThreshold_COU() const { return m_EtaPhiThreshold_COU; }
0060 
0061   void setCaloTrigger(const bool CaloTrigger) { m_CaloTrigger = CaloTrigger; }
0062   bool getCaloTrigger() const { return m_CaloTrigger; }
0063 
0064   void setIsolationCellSizeEta(const int IsolationCellSizeEta) { m_IsolationCellSizeEta = IsolationCellSizeEta; }
0065   int getIsolationCellSizeEta() const { return m_IsolationCellSizeEta; }
0066 
0067   void setIsolationCellSizePhi(const int IsolationCellSizePhi) { m_IsolationCellSizePhi = IsolationCellSizePhi; }
0068   int getIsolationCellSizePhi() const { return m_IsolationCellSizePhi; }
0069 
0070   void setDoOvlRpcAnd(const bool DoOvlRpcAnd) { m_DoOvlRpcAnd = DoOvlRpcAnd; }
0071   bool getDoOvlRpcAnd() const { return m_DoOvlRpcAnd; }
0072 
0073   void setPropagatePhi(const bool PropagatePhi) { m_PropagatePhi = PropagatePhi; }
0074   bool getPropagatePhi() const { return m_PropagatePhi; }
0075 
0076   void setMergeMethodPhiBrl(const std::string& MergeMethodPhiBrl) { m_MergeMethodPhiBrl = MergeMethodPhiBrl; }
0077   const std::string& getMergeMethodPhiBrl() const { return m_MergeMethodPhiBrl; }
0078 
0079   void setMergeMethodPhiFwd(const std::string& MergeMethodPhiFwd) { m_MergeMethodPhiFwd = MergeMethodPhiFwd; }
0080   const std::string& getMergeMethodPhiFwd() const { return m_MergeMethodPhiFwd; }
0081 
0082   void setMergeMethodEtaBrl(const std::string& MergeMethodEtaBrl) { m_MergeMethodEtaBrl = MergeMethodEtaBrl; }
0083   const std::string& getMergeMethodEtaBrl() const { return m_MergeMethodEtaBrl; }
0084 
0085   void setMergeMethodEtaFwd(const std::string& MergeMethodEtaFwd) { m_MergeMethodEtaFwd = MergeMethodEtaFwd; }
0086   const std::string& getMergeMethodEtaFwd() const { return m_MergeMethodEtaFwd; }
0087 
0088   void setMergeMethodPtBrl(const std::string& MergeMethodPtBrl) { m_MergeMethodPtBrl = MergeMethodPtBrl; }
0089   const std::string& getMergeMethodPtBrl() const { return m_MergeMethodPtBrl; }
0090 
0091   void setMergeMethodPtFwd(const std::string& MergeMethodPtFwd) { m_MergeMethodPtFwd = MergeMethodPtFwd; }
0092   const std::string& getMergeMethodPtFwd() const { return m_MergeMethodPtFwd; }
0093 
0094   void setMergeMethodChargeBrl(const std::string& MergeMethodChargeBrl) {
0095     m_MergeMethodChargeBrl = MergeMethodChargeBrl;
0096   }
0097   const std::string& getMergeMethodChargeBrl() const { return m_MergeMethodChargeBrl; }
0098 
0099   void setMergeMethodChargeFwd(const std::string& MergeMethodChargeFwd) {
0100     m_MergeMethodChargeFwd = MergeMethodChargeFwd;
0101   }
0102   const std::string& getMergeMethodChargeFwd() const { return m_MergeMethodChargeFwd; }
0103 
0104   void setMergeMethodMIPBrl(const std::string& MergeMethodMIPBrl) { m_MergeMethodMIPBrl = MergeMethodMIPBrl; }
0105   const std::string& getMergeMethodMIPBrl() const { return m_MergeMethodMIPBrl; }
0106 
0107   void setMergeMethodMIPFwd(const std::string& MergeMethodMIPFwd) { m_MergeMethodMIPFwd = MergeMethodMIPFwd; }
0108   const std::string& getMergeMethodMIPFwd() const { return m_MergeMethodMIPFwd; }
0109 
0110   void setMergeMethodMIPSpecialUseANDBrl(const bool MergeMethodMIPSpecialUseANDBrl) {
0111     m_MergeMethodMIPSpecialUseANDBrl = MergeMethodMIPSpecialUseANDBrl;
0112   }
0113   bool getMergeMethodMIPSpecialUseANDBrl() const { return m_MergeMethodMIPSpecialUseANDBrl; }
0114 
0115   void setMergeMethodMIPSpecialUseANDFwd(const bool MergeMethodMIPSpecialUseANDFwd) {
0116     m_MergeMethodMIPSpecialUseANDFwd = MergeMethodMIPSpecialUseANDFwd;
0117   }
0118   bool getMergeMethodMIPSpecialUseANDFwd() const { return m_MergeMethodMIPSpecialUseANDFwd; }
0119 
0120   void setMergeMethodISOBrl(const std::string& MergeMethodISOBrl) { m_MergeMethodISOBrl = MergeMethodISOBrl; }
0121   const std::string& getMergeMethodISOBrl() const { return m_MergeMethodISOBrl; }
0122 
0123   void setMergeMethodISOFwd(const std::string& MergeMethodISOFwd) { m_MergeMethodISOFwd = MergeMethodISOFwd; }
0124   const std::string& getMergeMethodISOFwd() const { return m_MergeMethodISOFwd; }
0125 
0126   void setMergeMethodISOSpecialUseANDBrl(const bool MergeMethodISOSpecialUseANDBrl) {
0127     m_MergeMethodISOSpecialUseANDBrl = MergeMethodISOSpecialUseANDBrl;
0128   }
0129   bool getMergeMethodISOSpecialUseANDBrl() const { return m_MergeMethodISOSpecialUseANDBrl; }
0130 
0131   void setMergeMethodISOSpecialUseANDFwd(const bool MergeMethodISOSpecialUseANDFwd) {
0132     m_MergeMethodISOSpecialUseANDFwd = MergeMethodISOSpecialUseANDFwd;
0133   }
0134   bool getMergeMethodISOSpecialUseANDFwd() const { return m_MergeMethodISOSpecialUseANDFwd; }
0135 
0136   void setMergeMethodSRKBrl(const std::string& MergeMethodSRKBrl) { m_MergeMethodSRKBrl = MergeMethodSRKBrl; }
0137   const std::string& getMergeMethodSRKBrl() const { return m_MergeMethodSRKBrl; }
0138 
0139   void setMergeMethodSRKFwd(const std::string& MergeMethodSRKFwd) { m_MergeMethodSRKFwd = MergeMethodSRKFwd; }
0140   const std::string& getMergeMethodSRKFwd() const { return m_MergeMethodSRKFwd; }
0141 
0142   void setHaloOverwritesMatchedBrl(const bool HaloOverwritesMatchedBrl) {
0143     m_HaloOverwritesMatchedBrl = HaloOverwritesMatchedBrl;
0144   }
0145   bool getHaloOverwritesMatchedBrl() const { return m_HaloOverwritesMatchedBrl; }
0146 
0147   void setHaloOverwritesMatchedFwd(const bool HaloOverwritesMatchedFwd) {
0148     m_HaloOverwritesMatchedFwd = HaloOverwritesMatchedFwd;
0149   }
0150   bool getHaloOverwritesMatchedFwd() const { return m_HaloOverwritesMatchedFwd; }
0151 
0152   void setSortRankOffsetBrl(const unsigned SortRankOffsetBrl) { m_SortRankOffsetBrl = SortRankOffsetBrl; }
0153   unsigned getSortRankOffsetBrl() const { return m_SortRankOffsetBrl; }
0154 
0155   void setSortRankOffsetFwd(const unsigned SortRankOffsetFwd) { m_SortRankOffsetFwd = SortRankOffsetFwd; }
0156   unsigned getSortRankOffsetFwd() const { return m_SortRankOffsetFwd; }
0157 
0158   void setCDLConfigWordDTCSC(const unsigned CDLConfigWordDTCSC) { m_CDLConfigWordDTCSC = CDLConfigWordDTCSC; }
0159   unsigned getCDLConfigWordDTCSC() const { return m_CDLConfigWordDTCSC; }
0160 
0161   void setCDLConfigWordCSCDT(const unsigned CDLConfigWordCSCDT) { m_CDLConfigWordCSCDT = CDLConfigWordCSCDT; }
0162   unsigned getCDLConfigWordCSCDT() const { return m_CDLConfigWordCSCDT; }
0163 
0164   void setCDLConfigWordbRPCCSC(const unsigned CDLConfigWordbRPCCSC) { m_CDLConfigWordbRPCCSC = CDLConfigWordbRPCCSC; }
0165   unsigned getCDLConfigWordbRPCCSC() const { return m_CDLConfigWordbRPCCSC; }
0166 
0167   void setCDLConfigWordfRPCDT(const unsigned CDLConfigWordfRPCDT) { m_CDLConfigWordfRPCDT = CDLConfigWordfRPCDT; }
0168   unsigned getCDLConfigWordfRPCDT() const { return m_CDLConfigWordfRPCDT; }
0169 
0170   void setVersionSortRankEtaQLUT(const unsigned VersionSortRankEtaQLUT) {
0171     m_VersionSortRankEtaQLUT = VersionSortRankEtaQLUT;
0172   }
0173   unsigned getVersionSortRankEtaQLUT() const { return m_VersionSortRankEtaQLUT; }
0174 
0175   void setVersionLUTs(const unsigned VersionLUTs) { m_VersionLUTs = VersionLUTs; }
0176   unsigned getVersionLUTs() const { return m_VersionLUTs; }
0177 
0178 private:
0179   double m_EtaWeight_barrel;
0180   double m_PhiWeight_barrel;
0181   double m_EtaPhiThreshold_barrel;
0182   double m_EtaWeight_endcap;
0183   double m_PhiWeight_endcap;
0184   double m_EtaPhiThreshold_endcap;
0185   double m_EtaWeight_COU;
0186   double m_PhiWeight_COU;
0187   double m_EtaPhiThreshold_COU;
0188   bool m_CaloTrigger;
0189   int m_IsolationCellSizeEta;
0190   int m_IsolationCellSizePhi;
0191   bool m_DoOvlRpcAnd;
0192   bool m_PropagatePhi;
0193   std::string m_MergeMethodPhiBrl;
0194   std::string m_MergeMethodPhiFwd;
0195   std::string m_MergeMethodEtaBrl;
0196   std::string m_MergeMethodEtaFwd;
0197   std::string m_MergeMethodPtBrl;
0198   std::string m_MergeMethodPtFwd;
0199   std::string m_MergeMethodChargeBrl;
0200   std::string m_MergeMethodChargeFwd;
0201   std::string m_MergeMethodMIPBrl;
0202   std::string m_MergeMethodMIPFwd;
0203   bool m_MergeMethodMIPSpecialUseANDBrl;
0204   bool m_MergeMethodMIPSpecialUseANDFwd;
0205   std::string m_MergeMethodISOBrl;
0206   std::string m_MergeMethodISOFwd;
0207   bool m_MergeMethodISOSpecialUseANDBrl;
0208   bool m_MergeMethodISOSpecialUseANDFwd;
0209   std::string m_MergeMethodSRKBrl;
0210   std::string m_MergeMethodSRKFwd;
0211   bool m_HaloOverwritesMatchedBrl;
0212   bool m_HaloOverwritesMatchedFwd;
0213   unsigned m_SortRankOffsetBrl;
0214   unsigned m_SortRankOffsetFwd;
0215   unsigned m_CDLConfigWordDTCSC;
0216   unsigned m_CDLConfigWordCSCDT;
0217   unsigned m_CDLConfigWordbRPCCSC;
0218   unsigned m_CDLConfigWordfRPCDT;
0219   unsigned m_VersionSortRankEtaQLUT;
0220   unsigned m_VersionLUTs;
0221 
0222   COND_SERIALIZABLE;
0223 };
0224 
0225 #endif