CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
L1MuTriggerScales Class Reference

#include <L1MuTriggerScales.h>

Public Member Functions

const L1MuScalegetGMTEtaScale () const
 get the GMT eta scale More...
 
const L1MuScalegetPhiScale () const
 get the phi scale More...
 
const L1MuScalegetRegionalEtaScale (int isys) const
 get the regioanl muon trigger eta scale, isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC) More...
 
 L1MuTriggerScales ()
 constructor More...
 
 L1MuTriggerScales (int nbitPackingDTEta, bool signedPackingDTEta, int nbinsDTEta, float minDTEta, float maxDTEta, int offsetDTEta, int nbitPackingCSCEta, int nbinsCSCEta, float minCSCEta, float maxCSCEta, const std::vector< double > &scaleRPCEta, int nbitPackingBrlRPCEta, bool signedPackingBrlRPCEta, int nbinsBrlRPCEta, int offsetBrlRPCEta, int nbitPackingFwdRPCEta, bool signedPackingFwdRPCEta, int nbinsFwdRPCEta, int offsetFwdRPCEta, int nbitPackingGMTEta, int nbinsGMTEta, const std::vector< double > &scaleGMTEta, int nbitPackingPhi, bool signedPackingPhi, int nbinsPhi, float minPhi, float maxPhi)
 
void setGMTEtaScale (const L1MuSymmetricBinnedScale &scale)
 set the GMT eta scale More...
 
void setPhiScale (const L1MuBinnedScale &scale)
 set the phi scale More...
 
virtual ~L1MuTriggerScales ()
 destructor More...
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

L1MuSymmetricBinnedScale m_GMTEtaScale
 
L1MuBinnedScale m_PhiScale
 
L1MuBinnedScale m_RegionalEtaScale [4]
 
L1MuSymmetricBinnedScale m_RegionalEtaScaleCSC
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: Class that creates all scales used to pass data from the regional muon triggers to the Global Muon Trigger and from the latter to the Global Trigger

Definition at line 33 of file L1MuTriggerScales.h.

Constructor & Destructor Documentation

◆ L1MuTriggerScales() [1/2]

L1MuTriggerScales::L1MuTriggerScales ( )
inline

constructor

Definition at line 36 of file L1MuTriggerScales.h.

36 {}

◆ L1MuTriggerScales() [2/2]

L1MuTriggerScales::L1MuTriggerScales ( int  nbitPackingDTEta,
bool  signedPackingDTEta,
int  nbinsDTEta,
float  minDTEta,
float  maxDTEta,
int  offsetDTEta,
int  nbitPackingCSCEta,
int  nbinsCSCEta,
float  minCSCEta,
float  maxCSCEta,
const std::vector< double > &  scaleRPCEta,
int  nbitPackingBrlRPCEta,
bool  signedPackingBrlRPCEta,
int  nbinsBrlRPCEta,
int  offsetBrlRPCEta,
int  nbitPackingFwdRPCEta,
bool  signedPackingFwdRPCEta,
int  nbinsFwdRPCEta,
int  offsetFwdRPCEta,
int  nbitPackingGMTEta,
int  nbinsGMTEta,
const std::vector< double > &  scaleGMTEta,
int  nbitPackingPhi,
bool  signedPackingPhi,
int  nbinsPhi,
float  minPhi,
float  maxPhi 
)
inline

Definition at line 38 of file L1MuTriggerScales.h.

75  {
76  //
77  // Regional Muon Trigger Eta Scales
78  //
79  /* const float rpcetabins[34]= { */
80  /* -2.10, -1.97, -1.85, -1.73, -1.61, -1.48, */
81  /* -1.36, -1.24, -1.14, -1.04, -0.93, -0.83, */
82  /* -0.72, -0.58, -0.44, -0.27, -0.07, */
83  /* 0.07, 0.27, 0.44, 0.58, 0.72, */
84  /* 0.83, 0.93, 1.04, 1.14, 1.24, 1.36, */
85  /* 1.48, 1.61, 1.73, 1.85, 1.97, 2.10}; */
86 
87  // DT
88  //m_RegionalEtaScale[0] = L1MuBinnedScale( 6, true, 64, -1.2, 1.2, 32);
91 
92  // RPC index -16 .. 16, brl RPC
93  // m_RegionalEtaScale[1] = L1MuBinnedScale (6, true, 33, rpcetabins, 16);
96 
97  // CSC
99  // // m_RegionalEtaScale[2] = L1MuSymmetricBinnedScale ( 6, 32, 0.9, 2.5);
100  // m_RegionalEtaScaleCSC = L1MuSymmetricBinnedScale ( 6, 32, 0.9, 2.5);
102 
103  // RPC index -16 .. 16, fwd RPC
104  // m_RegionalEtaScale[3] = L1MuBinnedScale (6, true, 33, rpcetabins, 16);
105  m_RegionalEtaScale[3] =
107 
108  //
109  // Eta scale at GMT output
110  //
111 
112  /* const float gmt_outputetascale[32] = { 0.00, */
113  /* 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80, */
114  /* 0.90, 1.00, 1.10, 1.20, 1.30, 1.40, 1.50, 1.60, */
115  /* 1.70, 1.75, 1.80, 1.85, 1.90, 1.95, 2.00, 2.05, */
116  /* 2.10, 2.15, 2.20, 2.25, 2.30, 2.35, 2.40 }; */
117 
118  // m_GMTEtaScale = L1MuSymmetricBinnedScale (6, 31, gmt_outputetascale);
120 
121  //
122  // Phi Scale. Common to all Regioanl Muon Triggers and GMT
123  //
124 
125  // m_PhiScale = L1MuBinnedScale (8, false, 144, 0., 2. * M_PI);
127 
128  //
129  // Pt Scale. Common to all Regioanl Muon Triggers and GMT
130  //
131 
132  // pt scale in GeV
133  // low edges of pt bins
134  /* const float ptscale[33] = { */
135  /* -1., 0.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, */
136  /* 4.5, 5.0, 6.0, 7.0, 8.0, 10.0, 12.0, 14.0, */
137  /* 16.0, 18.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, */
138  /* 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 140.0, 1.E6 }; */
139 
140  // m_PtScale = L1MuBinnedScale ( 5, false, 32, ptscale) ;
141  /* m_PtScale = L1MuBinnedScale ( nbitPackingPt, */
142  /* signedPackingPt, */
143  /* nbinsPt, */
144  /* scalePt ) ; */
145  };

References m_GMTEtaScale, m_PhiScale, m_RegionalEtaScale, m_RegionalEtaScaleCSC, L1MuTriggerScales_cfi::maxCSCEta, L1MuTriggerScales_cfi::maxDTEta, HLT_FULL_cff::maxPhi, L1MuTriggerScales_cfi::minCSCEta, L1MuTriggerScales_cfi::minDTEta, HLT_FULL_cff::minPhi, L1MuTriggerScales_cfi::nbinsBrlRPCEta, L1MuTriggerScales_cfi::nbinsCSCEta, L1MuTriggerScales_cfi::nbinsDTEta, L1MuTriggerScales_cfi::nbinsFwdRPCEta, L1MuTriggerScales_cfi::nbinsGMTEta, L1MuTriggerScales_cfi::nbinsPhi, L1MuTriggerScales_cfi::nbitPackingBrlRPCEta, L1MuTriggerScales_cfi::nbitPackingCSCEta, L1MuTriggerScales_cfi::nbitPackingDTEta, L1MuTriggerScales_cfi::nbitPackingFwdRPCEta, L1MuTriggerScales_cfi::nbitPackingGMTEta, L1MuTriggerScales_cfi::nbitPackingPhi, L1MuTriggerScales_cfi::offsetBrlRPCEta, L1MuTriggerScales_cfi::offsetDTEta, L1MuTriggerScales_cfi::offsetFwdRPCEta, L1MuTriggerScales_cfi::scaleGMTEta, L1MuTriggerScales_cfi::scaleRPCEta, L1MuTriggerScales_cfi::signedPackingBrlRPCEta, L1MuTriggerScales_cfi::signedPackingDTEta, L1MuTriggerScales_cfi::signedPackingFwdRPCEta, and L1MuTriggerScales_cfi::signedPackingPhi.

◆ ~L1MuTriggerScales()

virtual L1MuTriggerScales::~L1MuTriggerScales ( )
inlinevirtual

destructor

Definition at line 148 of file L1MuTriggerScales.h.

148  {
149  // for (int i=0; i<4; i++)
150  // delete m_RegionalEtaScale[i];
151 
152  // delete m_GMTEtaScale;
153  // delete m_PhiScale;
154  // delete m_PtScale;
155  };

Member Function Documentation

◆ getGMTEtaScale()

const L1MuScale* L1MuTriggerScales::getGMTEtaScale ( ) const
inline

◆ getPhiScale()

const L1MuScale* L1MuTriggerScales::getPhiScale ( ) const
inline

◆ getRegionalEtaScale()

const L1MuScale* L1MuTriggerScales::getRegionalEtaScale ( int  isys) const
inline

◆ serialize()

template<class Archive >
void L1MuTriggerScales::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setGMTEtaScale()

void L1MuTriggerScales::setGMTEtaScale ( const L1MuSymmetricBinnedScale scale)
inline

set the GMT eta scale

Definition at line 172 of file L1MuTriggerScales.h.

172 { m_GMTEtaScale = scale; };

References m_GMTEtaScale, and L1EGammaCrystalsEmulatorProducer_cfi::scale.

Referenced by L1MuTriggerScalesOnlineProducer::newObject().

◆ setPhiScale()

void L1MuTriggerScales::setPhiScale ( const L1MuBinnedScale scale)
inline

set the phi scale

Definition at line 178 of file L1MuTriggerScales.h.

178 { m_PhiScale = scale; };

References m_PhiScale, and L1EGammaCrystalsEmulatorProducer_cfi::scale.

Referenced by L1MuTriggerScalesOnlineProducer::newObject().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 190 of file L1MuTriggerScales.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 190 of file L1MuTriggerScales.h.

Member Data Documentation

◆ m_GMTEtaScale

L1MuSymmetricBinnedScale L1MuTriggerScales::m_GMTEtaScale
private

Definition at line 186 of file L1MuTriggerScales.h.

Referenced by getGMTEtaScale(), L1MuTriggerScales(), and setGMTEtaScale().

◆ m_PhiScale

L1MuBinnedScale L1MuTriggerScales::m_PhiScale
private

Definition at line 187 of file L1MuTriggerScales.h.

Referenced by getPhiScale(), L1MuTriggerScales(), and setPhiScale().

◆ m_RegionalEtaScale

L1MuBinnedScale L1MuTriggerScales::m_RegionalEtaScale[4]
private

Definition at line 178 of file L1MuTriggerScales.h.

Referenced by getRegionalEtaScale(), and L1MuTriggerScales().

◆ m_RegionalEtaScaleCSC

L1MuSymmetricBinnedScale L1MuTriggerScales::m_RegionalEtaScaleCSC
private

Definition at line 185 of file L1MuTriggerScales.h.

Referenced by getRegionalEtaScale(), and L1MuTriggerScales().

L1MuTriggerScales_cfi.signedPackingFwdRPCEta
signedPackingFwdRPCEta
Definition: L1MuTriggerScales_cfi.py:26
L1MuTriggerScales_cfi.signedPackingPhi
signedPackingPhi
Definition: L1MuTriggerScales_cfi.py:37
L1EGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition: L1EGammaCrystalsEmulatorProducer_cfi.py:10
L1MuTriggerScales::m_PhiScale
L1MuBinnedScale m_PhiScale
Definition: L1MuTriggerScales.h:187
L1MuTriggerScales_cfi.scaleRPCEta
scaleRPCEta
Definition: L1MuTriggerScales_cfi.py:14
L1MuTriggerScales_cfi.maxDTEta
maxDTEta
Definition: L1MuTriggerScales_cfi.py:8
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
L1MuTriggerScales::m_RegionalEtaScale
L1MuBinnedScale m_RegionalEtaScale[4]
Definition: L1MuTriggerScales.h:178
L1MuTriggerScales_cfi.nbitPackingGMTEta
nbitPackingGMTEta
Definition: L1MuTriggerScales_cfi.py:29
HLT_FULL_cff.maxPhi
maxPhi
Definition: HLT_FULL_cff.py:52987
L1MuTriggerScales_cfi.nbinsCSCEta
nbinsCSCEta
Definition: L1MuTriggerScales_cfi.py:11
L1MuTriggerScales_cfi.minCSCEta
minCSCEta
Definition: L1MuTriggerScales_cfi.py:12
L1MuTriggerScales_cfi.offsetFwdRPCEta
offsetFwdRPCEta
Definition: L1MuTriggerScales_cfi.py:28
L1MuTriggerScales_cfi.nbitPackingCSCEta
nbitPackingCSCEta
Definition: L1MuTriggerScales_cfi.py:10
L1MuTriggerScales_cfi.nbitPackingFwdRPCEta
nbitPackingFwdRPCEta
Definition: L1MuTriggerScales_cfi.py:25
L1MuTriggerScales_cfi.signedPackingBrlRPCEta
signedPackingBrlRPCEta
Definition: L1MuTriggerScales_cfi.py:22
L1MuTriggerScales_cfi.nbinsGMTEta
nbinsGMTEta
Definition: L1MuTriggerScales_cfi.py:30
L1MuTriggerScales_cfi.nbitPackingPhi
nbitPackingPhi
Definition: L1MuTriggerScales_cfi.py:36
L1MuTriggerScales_cfi.nbitPackingBrlRPCEta
nbitPackingBrlRPCEta
Definition: L1MuTriggerScales_cfi.py:21
L1MuTriggerScales_cfi.nbinsBrlRPCEta
nbinsBrlRPCEta
Definition: L1MuTriggerScales_cfi.py:23
L1MuBinnedScale
Definition: L1MuScale.h:93
L1MuTriggerScales_cfi.offsetBrlRPCEta
offsetBrlRPCEta
Definition: L1MuTriggerScales_cfi.py:24
L1MuTriggerScales_cfi.offsetDTEta
offsetDTEta
Definition: L1MuTriggerScales_cfi.py:9
HLT_FULL_cff.minPhi
minPhi
Definition: HLT_FULL_cff.py:52975
L1MuSymmetricBinnedScale
Definition: L1MuScale.h:236
L1MuTriggerScales_cfi.signedPackingDTEta
signedPackingDTEta
Definition: L1MuTriggerScales_cfi.py:5
L1MuTriggerScales_cfi.minDTEta
minDTEta
Definition: L1MuTriggerScales_cfi.py:7
L1MuTriggerScales::m_GMTEtaScale
L1MuSymmetricBinnedScale m_GMTEtaScale
Definition: L1MuTriggerScales.h:186
L1MuTriggerScales_cfi.nbitPackingDTEta
nbitPackingDTEta
Definition: L1MuTriggerScales_cfi.py:4
L1MuTriggerScales_cfi.maxCSCEta
maxCSCEta
Definition: L1MuTriggerScales_cfi.py:13
L1MuTriggerScales_cfi.nbinsFwdRPCEta
nbinsFwdRPCEta
Definition: L1MuTriggerScales_cfi.py:27
L1MuTriggerScales_cfi.scaleGMTEta
scaleGMTEta
Definition: L1MuTriggerScales_cfi.py:31
L1MuTriggerScales_cfi.nbinsPhi
nbinsPhi
Definition: L1MuTriggerScales_cfi.py:38
L1MuTriggerScales::m_RegionalEtaScaleCSC
L1MuSymmetricBinnedScale m_RegionalEtaScaleCSC
Definition: L1MuTriggerScales.h:185
L1MuTriggerScales_cfi.nbinsDTEta
nbinsDTEta
Definition: L1MuTriggerScales_cfi.py:6