#include <L1MuGMTExtendedCand.h>
Classes | |
class | Rank |
define a rank for muon candidates More... | |
class | RankRef |
define a rank for muon candidates More... | |
Public Member Functions | |
unsigned int | detector () const |
unsigned | getDTCSCIndex () const |
get index of contributing DT/CSC muon More... | |
unsigned | getRPCIndex () const |
get index of contributing RPC muon More... | |
bool | isFwd () const |
get forward bit (true=forward, false=barrel) More... | |
bool | isRPC () const |
get RPC bit (true=RPC, false = DT/CSC or matched) More... | |
L1MuGMTExtendedCand () | |
constructor More... | |
L1MuGMTExtendedCand (unsigned data, unsigned rank, int bx=0) | |
constructor More... | |
L1MuGMTExtendedCand (const L1MuGMTExtendedCand &) | |
copy constructor More... | |
bool | operator!= (const L1MuGMTExtendedCand &) const |
unequal operator More... | |
bool | operator== (const L1MuGMTExtendedCand &) const |
equal operator More... | |
void | print () const |
print parameters of muon candidate More... | |
unsigned int | rank () const |
get rank More... | |
void | reset () |
reset muon candidate More... | |
void | setDTCSCIndex (unsigned int idxdtcsc) |
set index of contributing DT/CSC muon More... | |
void | setFwdBit (unsigned int fwdbit) |
set forward bit (1=forward, 0=barrel) More... | |
void | setRank (unsigned int rank) |
set rank More... | |
void | setRPCBit (unsigned int rpcbit) |
set RPC bit (1=RPC, 0=DT/CSC or matched) More... | |
void | setRPCIndex (unsigned int idxrpc) |
set index of contributing RPC muon More... | |
virtual | ~L1MuGMTExtendedCand () |
destructor More... | |
Public Member Functions inherited from L1MuGMTCand | |
int | bx () const |
get bunch crossing identifier More... | |
int | charge () const |
get charge (+1 -1) More... | |
bool | charge_valid () const |
is the charge valid ? More... | |
bool | empty () const |
is it an empty muon candidate? More... | |
unsigned int | etaIndex () const |
get eta-code More... | |
unsigned int | etaRegionIndex () const |
float | etaValue () const |
unsigned | getDataWord () const |
get muon data word More... | |
bool | isHaloCand () const |
interpretation of quality code: is the candidate a beam halo muon ? More... | |
bool | isMatchedCand () const |
interpretation of quality code: is the candidate a matched candidate ? More... | |
bool | isol () const |
get isolation More... | |
bool | isSyncWord () const |
is the candidate a sync word More... | |
L1MuGMTCand () | |
constructor More... | |
L1MuGMTCand (unsigned data, int bx=0) | |
constructor from dataword More... | |
L1MuGMTCand (const L1MuGMTCand &) | |
copy constructor More... | |
unsigned int | linearizedPt (float lsbValue, unsigned maxScale) const |
bool | mip () const |
get mip More... | |
std::string | name () const |
get name of object More... | |
bool | operator!= (const L1MuGMTCand &) const |
unequal operator More... | |
bool | operator== (const L1MuGMTCand &) const |
equal operator More... | |
unsigned int | phiIndex () const |
get phi-code More... | |
unsigned int | phiRegionIndex () const |
float | phiValue () const |
void | print () const |
print parameters of muon candidate More... | |
unsigned int | ptIndex () const |
get pt-code More... | |
float | ptValue () const |
unsigned int | quality () const |
get quality More... | |
void | reset () |
reset muon candidate More... | |
void | setBx (int bx) |
set bunch crossing identifier More... | |
void | setChargePacked (unsigned ch) |
set packed charge/synchronization word of muon candidate (0=POS, 1=NEG, 2=UNDEF, 3=SYNC) More... | |
void | setEtaPacked (unsigned eta) |
set packed eta-code of muon candidate More... | |
void | setEtaValue (float etaVal) |
Set Eta Value (need to set type, first) More... | |
void | setIsolation (bool isol) |
set isolation of muon candidate More... | |
void | setMIP (bool mip) |
set min ionizing bit for muon candidate More... | |
void | setPhiPacked (unsigned phi) |
set packed phi-code of muon candidate More... | |
void | setPhiValue (float phiVal) |
Setters for physical values. More... | |
void | setPtPacked (unsigned pt) |
set packed pt-code of muon candidate More... | |
void | setPtValue (float ptVal) |
Set Pt Value. More... | |
void | setQuality (unsigned quality) |
set quality of muon candidate More... | |
unsigned | sysign () const |
get charge/synchronization word (0=POS, 1=NEG, 2=UNDEF, 3=SYNC) More... | |
bool | useInDiMuonTrigger () const |
interpretation of quality code: is the candidate to be used in a di-muon trigger ? More... | |
bool | useInSingleMuonTrigger () const |
interpretation of quality code: is the candidate to be used in a single muon trigger ? More... | |
virtual | ~L1MuGMTCand () |
destructor More... | |
Private Types | |
enum | { IDXDTCSC_START =26 } |
enum | { IDXDTCSC_LENGTH = 2 } |
enum | { IDXRPC_START =28 } |
enum | { IDXRPC_LENGTH = 2 } |
enum | { FWDBIT_START =30 } |
enum | { FWDBIT_LENGTH = 1 } |
enum | { ISRPCBIT_START =31 } |
enum | { ISRPCBIT_LENGTH = 1 } |
Private Attributes | |
unsigned int | m_rank |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1MuGMTExtendedCand &) |
output stream operator More... | |
Additional Inherited Members | |
Protected Types inherited from L1MuGMTCand | |
enum | { PHI_START =0 } |
enum | { PHI_LENGTH = 8 } |
enum | { PT_START =8 } |
enum | { PT_LENGTH = 5 } |
enum | { QUAL_START =13 } |
enum | { QUAL_LENGTH = 3 } |
enum | { ETA_START =16 } |
enum | { ETA_LENGTH = 6 } |
enum | { ISO_START =22 } |
enum | { ISO_LENGTH = 1 } |
enum | { MIP_START =23 } |
enum | { MIP_LENGTH = 1 } |
enum | { SYSIGN_START =24 } |
enum | { SYSIGN_LENGTH = 2 } |
Protected Member Functions inherited from L1MuGMTCand | |
unsigned | readDataField (unsigned start, unsigned count) const |
void | writeDataField (unsigned start, unsigned count, unsigned value) |
Protected Attributes inherited from L1MuGMTCand | |
int | m_bx |
unsigned | m_dataWord |
float | m_etaValue |
std::string | m_name |
float | m_phiValue |
float | m_ptValue |
Static Protected Attributes inherited from L1MuGMTCand | |
static const float | m_invalidValue = -10. |
L1 Global Muon Trigger Extended Candidate.
This is a GMT candidate with extended information that will be sent to Readout.
This candidates contains extra information such as sort rank and indices of the contributing muons.
Definition at line 47 of file L1MuGMTExtendedCand.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
L1MuGMTExtendedCand::L1MuGMTExtendedCand | ( | ) |
L1MuGMTExtendedCand::L1MuGMTExtendedCand | ( | unsigned | data, |
unsigned | rank, | ||
int | bx = 0 |
||
) |
L1MuGMTExtendedCand::L1MuGMTExtendedCand | ( | const L1MuGMTExtendedCand & | mu | ) |
|
virtual |
unsigned int L1MuGMTExtendedCand::detector | ( | ) | const |
get detector bits 1=rpc, 2=dtbx, 4=csc, 3=rpc+dtbx, 5=rpc+csc supported for backward compatibility only
Definition at line 89 of file L1MuGMTExtendedCand.cc.
References isFwd(), isRPC(), and L1MuGMTCand::quality().
|
inline |
get index of contributing DT/CSC muon
Definition at line 73 of file L1MuGMTExtendedCand.h.
References IDXDTCSC_LENGTH, IDXDTCSC_START, and L1MuGMTCand::readDataField().
Referenced by print(), and L2MuonSeedGenerator::produce().
|
inline |
get index of contributing RPC muon
Definition at line 78 of file L1MuGMTExtendedCand.h.
References IDXRPC_LENGTH, IDXRPC_START, and L1MuGMTCand::readDataField().
Referenced by print(), and L2MuonSeedGenerator::produce().
|
inline |
get forward bit (true=forward, false=barrel)
Definition at line 83 of file L1MuGMTExtendedCand.h.
References FWDBIT_LENGTH, FWDBIT_START, and L1MuGMTCand::readDataField().
Referenced by detector(), l1extra::L1MuonParticle::L1MuonParticle(), print(), and L2MuonSeedGenerator::produce().
|
inline |
get RPC bit (true=RPC, false = DT/CSC or matched)
Definition at line 86 of file L1MuGMTExtendedCand.h.
References ISRPCBIT_LENGTH, ISRPCBIT_START, and L1MuGMTCand::readDataField().
Referenced by detector(), l1extra::L1MuonParticle::L1MuonParticle(), print(), and L2MuonSeedGenerator::produce().
bool L1MuGMTExtendedCand::operator!= | ( | const L1MuGMTExtendedCand & | cand | ) | const |
unequal operator
Definition at line 114 of file L1MuGMTExtendedCand.cc.
References m_rank.
bool L1MuGMTExtendedCand::operator== | ( | const L1MuGMTExtendedCand & | cand | ) | const |
equal operator
Definition at line 102 of file L1MuGMTExtendedCand.cc.
References m_rank.
void L1MuGMTExtendedCand::print | ( | void | ) | const |
print parameters of muon candidate
Definition at line 126 of file L1MuGMTExtendedCand.cc.
References L1MuGMTCand::empty(), getDTCSCIndex(), getRPCIndex(), isFwd(), isRPC(), L1MuGMTCand::print(), and rank().
|
inline |
get rank
Definition at line 70 of file L1MuGMTExtendedCand.h.
References m_rank.
Referenced by L1MuGMTExtendedCand::Rank::operator()(), L1MuGMTExtendedCand::RankRef::operator()(), print(), and setRank().
void L1MuGMTExtendedCand::reset | ( | void | ) |
reset muon candidate
Definition at line 75 of file L1MuGMTExtendedCand.cc.
References m_rank, and L1MuGMTCand::reset().
Referenced by ~L1MuGMTExtendedCand().
|
inline |
set index of contributing DT/CSC muon
Definition at line 101 of file L1MuGMTExtendedCand.h.
References IDXDTCSC_LENGTH, IDXDTCSC_START, and L1MuGMTCand::writeDataField().
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().
|
inline |
set forward bit (1=forward, 0=barrel)
Definition at line 109 of file L1MuGMTExtendedCand.h.
References FWDBIT_LENGTH, FWDBIT_START, and L1MuGMTCand::writeDataField().
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), L1MuGMTMerger::createRPCCand(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().
|
inline |
set rank
Definition at line 89 of file L1MuGMTExtendedCand.h.
References m_rank, and rank().
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().
|
inline |
set RPC bit (1=RPC, 0=DT/CSC or matched)
Definition at line 112 of file L1MuGMTExtendedCand.h.
References ISRPCBIT_LENGTH, ISRPCBIT_START, and L1MuGMTCand::writeDataField().
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), L1MuGMTMerger::createRPCCand(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().
|
inline |
set index of contributing RPC muon
Definition at line 106 of file L1MuGMTExtendedCand.h.
References IDXRPC_LENGTH, IDXRPC_START, and L1MuGMTCand::writeDataField().
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().
|
friend |
output stream operator
|
private |
Definition at line 147 of file L1MuGMTExtendedCand.h.
Referenced by operator!=(), operator==(), rank(), reset(), and setRank().