10 using std::noshowbase;
21 unsigned card,
unsigned rgn, int16_t bx):
22 m_id(crate, card, rgn),
30 unsigned iphi, int16_t bx):
45 os <<
"L1CaloMipQuietRegion:"
46 <<
" MIP=" << rhs.
mip()
47 <<
" Quiet=" << rhs.
quiet() << endl
49 <<
" RCT card=" << rhs.
rctCard()
51 <<
" RCT eta=" << rhs.
rctEta()
52 <<
" RCT phi=" << rhs.
rctPhi() << endl
53 <<
" GCT eta=" << rhs.
gctEta()
54 <<
" GCT phi=" << rhs.
gctPhi()
55 <<
" BX=" << rhs.
bx() << endl;
L1CaloRegionDetId id() const
Get global region ID.
unsigned gctPhi() const
Get GCT phi index.
unsigned rctRegionIndex() const
Get RCT region index.
int16_t bx() const
Get bunch crossing.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
unsigned gctEta() const
Get GCT eta index.
unsigned rctCard() const
Get RCT reciever card ID.
unsigned rctPhi() const
Get local phi index (within RCT crate).
unsigned rctEta() const
Get local eta index (within RCT crate).
uint8_t m_data
MIP and Quiet bits for the region, packed in bit0 + bit1 respectively.
L1CaloMipQuietRegion()
Default constructor.
int16_t m_bx
Bunch crossing.
bool mip() const
Get MIP bit.
bool operator==(const L1CaloMipQuietRegion &rhs) const
Equality operator; compares all data: MIP/Quiet bits, bunch crossing & geographical.
L1CaloRegionDetId m_id
Geographical info: region ID.
Miniumum Ionising Particle (MIP) and Quiet bits for a calorimeter trigger region. ...
uint8_t raw() const
Get raw data.
void pack(bool mip, bool quiet)
For use in constructors - packs MIP/Quiet bools up into m_data;.
bool quiet() const
Get Quiet bit.
unsigned rctCrate() const
Get RCT crate ID.