CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuTriggerPtScale.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // \class L1MuTriggerScales
4 //
10 //
11 // $Date: 2008/04/16 23:21:14 $
12 // $Revision: 1.1 $
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 
24 #include <cmath>
25 #include <iostream>
26 #include <vector>
27 
30 
32  public:
33 
36 
37  L1MuTriggerPtScale( int nbitPackingPt,
38  bool signedPackingPt,
39  int nbinsPt,
40  const std::vector<double>& scalePt
41  ) {
42 
43  //
44  // Pt Scale. Common to all Regioanl Muon Triggers and GMT
45  //
46 
47  // pt scale in GeV
48  // low edges of pt bins
49 /* const float ptscale[33] = { */
50 /* -1., 0.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, */
51 /* 4.5, 5.0, 6.0, 7.0, 8.0, 10.0, 12.0, 14.0, */
52 /* 16.0, 18.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, */
53 /* 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 140.0, 1.E6 }; */
54 
55  // m_PtScale = L1MuBinnedScale ( 5, false, 32, ptscale) ;
56  m_PtScale = L1MuBinnedScale ( nbitPackingPt,
57  signedPackingPt,
58  nbinsPt,
59  scalePt ) ;
60 
61  };
62 
63 
65  virtual ~L1MuTriggerPtScale() {
66  };
67 
69  const L1MuScale* getPtScale() const { return &m_PtScale;};
70 
71 
72  private:
74 };
75 
76 
77 #endif
const L1MuScale * getPtScale() const
get the Pt scale
L1MuTriggerPtScale(int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector< double > &scalePt)
L1MuBinnedScale m_PtScale
virtual ~L1MuTriggerPtScale()
destructor
L1MuTriggerPtScale()
constructor