L1Trigger
GlobalMuonTrigger
src
L1MuGMTPhiProjectionUnit.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
12
//
13
//
14
// Author :
15
// H. Sakulin CERN EP
16
//
17
// Migrated to CMSSW:
18
// I. Mikulec
19
//
20
//--------------------------------------------------
21
#ifndef L1TriggerGlobalMuonTrigger_L1MuGMTPhiProjectionUnit_h
22
#define L1TriggerGlobalMuonTrigger_L1MuGMTPhiProjectionUnit_h
23
24
//---------------
25
// C++ Headers --
26
//---------------
27
28
#include <vector>
29
#include <bitset>
30
31
//----------------------
32
// Base Class Headers --
33
//----------------------
34
35
//------------------------------------
36
// Collaborating Class Declarations --
37
//------------------------------------
38
39
#include "
L1Trigger/GlobalMuonTrigger/src/L1MuGMTConfig.h
"
40
#include "
L1Trigger/GlobalMuonTrigger/src/L1MuGMTMatrix.h
"
41
#include "
DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h
"
42
43
class
L1MuGMTMipIsoAU
;
44
class
L1MuGMTCand
;
45
46
// ---------------------
47
// -- Class Interface --
48
// ---------------------
49
50
class
L1MuGMTPhiProjectionUnit
{
51
public
:
53
L1MuGMTPhiProjectionUnit
(
const
L1MuGMTMipIsoAU
& miau,
int
id
);
54
56
virtual
~L1MuGMTPhiProjectionUnit
();
57
59
void
run
();
60
62
void
reset
();
63
65
void
print
()
const
;
66
68
inline
int
id
()
const
{
return
m_id
; }
69
71
inline
bool
isSelected
(
int
idx
)
const
{
return
m_phi_select
[
idx
]; }
72
73
private
:
74
void
load
();
75
76
private
:
77
typedef
std::bitset<18>
TPhiBits
;
78
79
const
L1MuGMTMipIsoAU
&
m_MIAU
;
80
81
// index: (0..31: 16*isFWD + 8*isISO + 4* isRPC + nr )
82
int
m_id
;
83
84
const
L1MuRegionalCand
*
m_mu
;
85
86
int
m_iphi
;
// region index of central region
87
float
m_fphi
;
// fine grain phi inside central region
88
89
TPhiBits
m_phi_select
;
90
};
91
92
#endif
L1MuGMTPhiProjectionUnit::L1MuGMTPhiProjectionUnit
L1MuGMTPhiProjectionUnit(const L1MuGMTMipIsoAU &miau, int id)
constructor
Definition:
L1MuGMTPhiProjectionUnit.cc:54
L1MuGMTPhiProjectionUnit::reset
void reset()
clear phi projection unit
Definition:
L1MuGMTPhiProjectionUnit.cc:119
L1MuGMTPhiProjectionUnit::m_phi_select
TPhiBits m_phi_select
Definition:
L1MuGMTPhiProjectionUnit.h:89
L1MuGMTPhiProjectionUnit::isSelected
bool isSelected(int idx) const
return phi select bit (idx: 0..17)
Definition:
L1MuGMTPhiProjectionUnit.h:71
L1MuGMTPhiProjectionUnit::m_fphi
float m_fphi
Definition:
L1MuGMTPhiProjectionUnit.h:87
L1MuGMTCand
Definition:
L1MuGMTCand.h:39
L1MuRegionalCand.h
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
L1MuGMTMipIsoAU
Definition:
L1MuGMTMipIsoAU.h:51
L1MuGMTPhiProjectionUnit::TPhiBits
std::bitset< 18 > TPhiBits
Definition:
L1MuGMTPhiProjectionUnit.h:77
L1MuGMTPhiProjectionUnit::m_id
int m_id
Definition:
L1MuGMTPhiProjectionUnit.h:82
L1MuGMTMatrix.h
L1MuRegionalCand
Definition:
L1MuRegionalCand.h:26
L1MuGMTPhiProjectionUnit::print
void print() const
print results after phi projection
Definition:
L1MuGMTPhiProjectionUnit.cc:129
L1MuGMTConfig.h
L1MuGMTPhiProjectionUnit::m_iphi
int m_iphi
Definition:
L1MuGMTPhiProjectionUnit.h:86
L1MuGMTPhiProjectionUnit::~L1MuGMTPhiProjectionUnit
virtual ~L1MuGMTPhiProjectionUnit()
destructor
Definition:
L1MuGMTPhiProjectionUnit.cc:60
L1MuGMTPhiProjectionUnit::load
void load()
Definition:
L1MuGMTPhiProjectionUnit.cc:140
L1MuGMTPhiProjectionUnit::m_mu
const L1MuRegionalCand * m_mu
Definition:
L1MuGMTPhiProjectionUnit.h:84
L1MuGMTPhiProjectionUnit::run
void run()
run phi projection unit
Definition:
L1MuGMTPhiProjectionUnit.cc:69
L1MuGMTPhiProjectionUnit::id
int id() const
return identifier
Definition:
L1MuGMTPhiProjectionUnit.h:68
L1MuGMTPhiProjectionUnit
Definition:
L1MuGMTPhiProjectionUnit.h:50
L1MuGMTPhiProjectionUnit::m_MIAU
const L1MuGMTMipIsoAU & m_MIAU
Definition:
L1MuGMTPhiProjectionUnit.h:79
Generated for CMSSW Reference Manual by
1.8.16