CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1MuTriggerPtScale.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // \class L1MuTriggerScales
4 //
10 //
11 // $Date: 2007/04/27 13:16:00 $
12 // $Revision: 1.3 $
13 //
14 // Original Author :
15 // Hannes Sakulin HEPHY / Vienna
16 //
17 // Migrated to CMSSW:
18 // I. Mikulec
19 //
20 //--------------------------------------------------
21 #ifndef CondFormatsL1TObjects_L1MuTriggerPtScale_h
22 #define CondFormatsL1TObjects_L1MuTriggerPtScale_h
23 
25 
26 #include <cmath>
27 #include <iostream>
28 #include <vector>
29 
32 
34 public:
37 
38  L1MuTriggerPtScale(int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector<double>& scalePt) {
39  //
40  // Pt Scale. Common to all Regioanl Muon Triggers and GMT
41  //
42 
43  // pt scale in GeV
44  // low edges of pt bins
45  /* const float ptscale[33] = { */
46  /* -1., 0.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, */
47  /* 4.5, 5.0, 6.0, 7.0, 8.0, 10.0, 12.0, 14.0, */
48  /* 16.0, 18.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, */
49  /* 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 140.0, 1.E6 }; */
50 
51  // m_PtScale = L1MuBinnedScale ( 5, false, 32, ptscale) ;
52  m_PtScale = L1MuBinnedScale(nbitPackingPt, signedPackingPt, nbinsPt, scalePt);
53  };
54 
56  virtual ~L1MuTriggerPtScale(){};
57 
59  const L1MuScale* getPtScale() const { return &m_PtScale; };
60 
61 private:
63 
65 };
66 
67 #endif
const L1MuScale * getPtScale() const
get the Pt scale
L1MuTriggerPtScale(int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector< double > &scalePt)
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1MuBinnedScale m_PtScale
virtual ~L1MuTriggerPtScale()
destructor
L1MuTriggerPtScale()
constructor