22 #ifndef CondFormatsL1TObjects_L1MuGMTScales_h
23 #define CondFormatsL1TObjects_L1MuGMTScales_h
41 const std::vector<double>& scaleReducedEtaDT,
42 const std::vector<double>& scaleReducedEtaBrlRPC,
43 const std::vector<double>& scaleReducedEtaCSC,
44 const std::vector<double>& scaleReducedEtaFwdRPC,
46 int nbitPackingDeltaEta,
47 bool signedPackingDeltaEta,
53 int nbitPackingDeltaPhi,
54 bool signedPackingDeltaPhi,
60 int nbitPackingOvlEtaDT,
65 int nbitPackingOvlEtaCSC,
70 const std::vector<double>& scaleOvlEtaRPC,
71 int nbitPackingOvlEtaBrlRPC,
72 int nbinsOvlEtaBrlRPC,
73 int nbitPackingOvlEtaFwdRPC,
108 for (
int i = 0;
i < 6; ++
i)
110 nbitPackingDeltaEta, signedPackingDeltaEta, nbinsDeltaEta, minDeltaEta, maxDeltaEta, offsetDeltaEta);
115 nbitPackingDeltaPhi, signedPackingDeltaPhi, nbinsDeltaPhi, minDeltaPhi, maxDeltaPhi, offsetDeltaPhi);
188 if (isys < 0 || isys > 3)
189 edm::LogWarning(
"GMTScaleRangeViolation") <<
"Error in L1MuGMTScales:: isys out of range: " << isys;
195 if (idx < 0 || idx > 5)
196 edm::LogWarning(
"GMTScaleRangeViolation") <<
"Error in L1MuGMTScales:: isys out of range: " << idx;
205 if (isys < 0 || isys > 3)
206 edm::LogWarning(
"GMTScaleRangeViolation") <<
"Error in L1MuGMTScales:: isys out of range: " << isys;
L1MuSymmetricBinnedScale m_ReducedEtaScale[4]
L1MuSymmetricBinnedScale m_OvlEtaScale[4]
L1MuGMTScales()
constructor
L1MuBinnedScale m_DeltaEtaScale[6]
const L1MuScale * getReducedEtaScale(int isys) const
get the recuced eta scale for matching in the overlap region (4 bit); isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC)
L1MuBinnedScale m_DeltaPhiScale
const L1MuScale * getDeltaPhiScale() const
get the delta phi scale ( 3 bits)
L1MuGMTScales(int nbitPackingReducedEta, int nbinsReducedEta, const std::vector< double > &scaleReducedEtaDT, const std::vector< double > &scaleReducedEtaBrlRPC, const std::vector< double > &scaleReducedEtaCSC, const std::vector< double > &scaleReducedEtaFwdRPC, int nbitPackingDeltaEta, bool signedPackingDeltaEta, int nbinsDeltaEta, float minDeltaEta, float maxDeltaEta, int offsetDeltaEta, int nbitPackingDeltaPhi, bool signedPackingDeltaPhi, int nbinsDeltaPhi, float minDeltaPhi, float maxDeltaPhi, int offsetDeltaPhi, int nbitPackingOvlEtaDT, int nbinsOvlEtaDT, float minOvlEtaDT, float maxOvlEtaDT, int nbitPackingOvlEtaCSC, int nbinsOvlEtaCSC, float minOvlEtaCSC, float maxOvlEtaCSC, const std::vector< double > &scaleOvlEtaRPC, int nbitPackingOvlEtaBrlRPC, int nbinsOvlEtaBrlRPC, int nbitPackingOvlEtaFwdRPC, int nbinsOvlEtaFwdRPC)
#define COND_SERIALIZABLE
virtual ~L1MuGMTScales()
destructor
Log< level::Warning, false > LogWarning
const L1MuScale * getDeltaEtaScale(int idx) const
get the delta eta scale; idx = 0(DT=RPC), 1(CSC-RPC), 2(DT-CSC), 3(CSC-DT), 4(bRPC-CSC), 5(fRPC-DT)
const L1MuScale * getOvlEtaScale(int isys) const
get the overlap eta scale (4 bits); isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC)