22 #ifndef DataFormatsL1GlobalMuonTrigger_L1MuGMTExtendedCand_h 23 #define DataFormatsL1GlobalMuonTrigger_L1MuGMTExtendedCand_h 127 unsigned int rank_f = (
first) ? first->
rank(): 0;
128 unsigned int rank_s = (
second) ? second->
rank() : 0;
129 return rank_f > rank_s;
134 unsigned int rank_f = first.
rank();
135 unsigned int rank_s = second.
rank();
136 return rank_f > rank_s;
void writeDataField(unsigned start, unsigned count, unsigned value)
bool operator!=(const L1MuGMTExtendedCand &) const
unequal operator
void setDTCSCIndex(unsigned int idxdtcsc)
set index of contributing DT/CSC muon
unsigned readDataField(unsigned start, unsigned count) const
unsigned int rank() const
get rank
U second(std::pair< T, U > const &p)
bool operator==(const L1MuGMTExtendedCand &) const
equal operator
~L1MuGMTExtendedCand() override
destructor
unsigned int detector() const
int bx() const
get bunch crossing identifier
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
void setFwdBit(unsigned int fwdbit)
set forward bit (1=forward, 0=barrel)
friend std::ostream & operator<<(std::ostream &, const L1MuGMTExtendedCand &)
output stream operator
void reset()
reset muon candidate
unsigned getRPCIndex() const
get index of contributing RPC muon
L1MuGMTExtendedCand()
constructor
unsigned getDTCSCIndex() const
get index of contributing DT/CSC muon
static bool compareRank(const L1MuGMTExtendedCand *first, const L1MuGMTExtendedCand *second)
define a rank for muon candidates
static bool rankRef(const L1MuGMTExtendedCand &first, const L1MuGMTExtendedCand &second)
define a rank for muon candidates
void setRPCBit(unsigned int rpcbit)
set RPC bit (1=RPC, 0=DT/CSC or matched)
void setRank(unsigned int rank)
set rank
char data[epos_bytes_allocation]
bool isFwd() const
get forward bit (true=forward, false=barrel)
void setRPCIndex(unsigned int idxrpc)
set index of contributing RPC muon
void print() const
print parameters of muon candidate