File indexing completed on 2024-09-12 04:16:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #ifndef CondFormatsL1TObjects_L1MuTriggerPtScale_h
0022 #define CondFormatsL1TObjects_L1MuTriggerPtScale_h
0023
0024 #include "CondFormats/Serialization/interface/Serializable.h"
0025
0026 #include <cmath>
0027 #include <iostream>
0028 #include <vector>
0029
0030 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0031 #include "CondFormats/L1TObjects/interface/L1MuScale.h"
0032
0033 class L1MuTriggerPtScale {
0034 public:
0035
0036 L1MuTriggerPtScale() {}
0037
0038 L1MuTriggerPtScale(int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector<double>& scalePt) {
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052 m_PtScale = L1MuBinnedScale(nbitPackingPt, signedPackingPt, nbinsPt, scalePt);
0053 };
0054
0055
0056 virtual ~L1MuTriggerPtScale() {}
0057
0058
0059 const L1MuScale* getPtScale() const { return &m_PtScale; };
0060
0061 private:
0062 L1MuBinnedScale m_PtScale;
0063
0064 COND_SERIALIZABLE;
0065 };
0066
0067 #endif