CondFormats
L1TObjects
interface
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
24
#include "
CondFormats/Serialization/interface/Serializable.h
"
25
26
#include <cmath>
27
#include <iostream>
28
#include <vector>
29
30
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
31
#include "
CondFormats/L1TObjects/interface/L1MuScale.h
"
32
33
class
L1MuTriggerPtScale
{
34
public
:
36
L1MuTriggerPtScale
() {}
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
:
62
L1MuBinnedScale
m_PtScale
;
63
64
COND_SERIALIZABLE
;
65
};
66
67
#endif
MessageLogger.h
L1MuTriggerPtScale::L1MuTriggerPtScale
L1MuTriggerPtScale(int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector< double > &scalePt)
Definition:
L1MuTriggerPtScale.h:38
L1MuScale
Definition:
L1MuScale.h:38
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
L1MuTriggerPtScale_cfi.nbitPackingPt
nbitPackingPt
Definition:
L1MuTriggerPtScale_cfi.py:4
L1MuTriggerPtScale_cfi.scalePt
scalePt
Definition:
L1MuTriggerPtScale_cfi.py:5
L1MuTriggerPtScale
Definition:
L1MuTriggerPtScale.h:33
L1MuScale.h
L1MuTriggerPtScale_cfi.nbinsPt
nbinsPt
Definition:
L1MuTriggerPtScale_cfi.py:7
L1MuTriggerPtScale::L1MuTriggerPtScale
L1MuTriggerPtScale()
constructor
Definition:
L1MuTriggerPtScale.h:36
L1MuTriggerPtScale::getPtScale
const L1MuScale * getPtScale() const
get the Pt scale
Definition:
L1MuTriggerPtScale.h:59
Serializable.h
L1MuTriggerPtScale::m_PtScale
L1MuBinnedScale m_PtScale
Definition:
L1MuTriggerPtScale.h:59
L1MuBinnedScale
Definition:
L1MuScale.h:93
L1MuTriggerPtScale::~L1MuTriggerPtScale
virtual ~L1MuTriggerPtScale()
destructor
Definition:
L1MuTriggerPtScale.h:56
L1MuTriggerPtScale_cfi.signedPackingPt
signedPackingPt
Definition:
L1MuTriggerPtScale_cfi.py:6
Generated for CMSSW Reference Manual by
1.8.16