22 #ifndef DataFormatsL1GlobalMuonTrigger_L1MuGMTExtendedCand_h 23 #define DataFormatsL1GlobalMuonTrigger_L1MuGMTExtendedCand_h 120 unsigned int rank_f = (
first) ?
first->rank() : 0;
122 return rank_f > rank_s;
127 unsigned int rank_f =
first.rank();
128 unsigned int rank_s =
second.rank();
129 return rank_f > rank_s;
void writeDataField(unsigned start, unsigned count, unsigned value)
bool operator==(const L1MuGMTExtendedCand &) const
equal operator
unsigned getRPCIndex() const
get index of contributing RPC muon
void setDTCSCIndex(unsigned int idxdtcsc)
set index of contributing DT/CSC muon
int bx() const
get bunch crossing identifier
U second(std::pair< T, U > const &p)
~L1MuGMTExtendedCand() override
destructor
unsigned readDataField(unsigned start, unsigned count) const
void setFwdBit(unsigned int fwdbit)
set forward bit (1=forward, 0=barrel)
void print() const
print parameters of muon candidate
friend std::ostream & operator<<(std::ostream &, const L1MuGMTExtendedCand &)
output stream operator
void reset()
reset muon candidate
L1MuGMTExtendedCand()
constructor
unsigned int detector() const
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
unsigned int rank() const
get rank
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)
bool operator!=(const L1MuGMTExtendedCand &) const
unequal operator
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
unsigned getDTCSCIndex() const
get index of contributing DT/CSC muon