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: 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:
35 
38 
39  L1MuTriggerPtScale( int nbitPackingPt,
40  bool signedPackingPt,
41  int nbinsPt,
42  const std::vector<double>& scalePt
43  ) {
44 
45  //
46  // Pt Scale. Common to all Regioanl Muon Triggers and GMT
47  //
48 
49  // pt scale in GeV
50  // low edges of pt bins
51 /* const float ptscale[33] = { */
52 /* -1., 0.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, */
53 /* 4.5, 5.0, 6.0, 7.0, 8.0, 10.0, 12.0, 14.0, */
54 /* 16.0, 18.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, */
55 /* 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 140.0, 1.E6 }; */
56 
57  // m_PtScale = L1MuBinnedScale ( 5, false, 32, ptscale) ;
58  m_PtScale = L1MuBinnedScale ( nbitPackingPt,
59  signedPackingPt,
60  nbinsPt,
61  scalePt ) ;
62 
63  };
64 
65 
67  virtual ~L1MuTriggerPtScale() {
68  };
69 
71  const L1MuScale* getPtScale() const { return &m_PtScale;};
72 
73 
74  private:
76 
78 };
79 
80 
81 #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:37
L1MuBinnedScale m_PtScale
virtual ~L1MuTriggerPtScale()
destructor
L1MuTriggerPtScale()
constructor