Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
:
35
37
L1MuTriggerPtScale
() {}
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
:
75
L1MuBinnedScale
m_PtScale
;
76
77
COND_SERIALIZABLE
;
78
};
79
80
81
#endif
MessageLogger.h
L1MuTriggerPtScale::getPtScale
const L1MuScale * getPtScale() const
get the Pt scale
Definition:
L1MuTriggerPtScale.h:71
L1MuScale
Definition:
L1MuScale.h:38
L1MuTriggerPtScale
Definition:
L1MuTriggerPtScale.h:33
L1MuBinnedScale
Definition:
L1MuScale.h:95
L1MuTriggerPtScale::L1MuTriggerPtScale
L1MuTriggerPtScale(int nbitPackingPt, bool signedPackingPt, int nbinsPt, const std::vector< double > &scalePt)
Definition:
L1MuTriggerPtScale.h:39
L1MuTriggerPtScale::m_PtScale
L1MuBinnedScale m_PtScale
Definition:
L1MuTriggerPtScale.h:71
L1MuScale.h
Serializable.h
L1MuTriggerPtScale::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
L1MuTriggerPtScale.h:77
L1MuTriggerPtScale::~L1MuTriggerPtScale
virtual ~L1MuTriggerPtScale()
destructor
Definition:
L1MuTriggerPtScale.h:67
L1MuTriggerPtScale::L1MuTriggerPtScale
L1MuTriggerPtScale()
constructor
Definition:
L1MuTriggerPtScale.h:37
Generated for CMSSW Reference Manual by
1.8.5