4 for (
unsigned i = 0;
i < 18; ++
i) {
7 for (
unsigned ieta = 0; ieta < 22; ++ieta) {
8 for (
unsigned iphi = 0; iphi < 18; ++iphi) {
12 for (
unsigned i = 0;
i < 22; ++
i) {
26 if (ieta < 22 && iphi < 18)
58 if (ieta < 22 && iphi < 18) {
93 os <<
"L1GctChannelMask :" << std::endl;
96 unsigned emCrateMask(0), tetMask(0), metMask(0), htMask(0), mhtMask(0);
97 for (
unsigned i = 0;
i < 18; ++
i) {
101 for (
unsigned i = 0;
i < 22; ++
i) {
108 os <<
" EM crate mask = " << std::hex << emCrateMask << std::endl;
109 os <<
" EtTot mask = " << std::hex << tetMask << std::endl;
110 os <<
" EtMiss mask = " << std::hex << metMask << std::endl;
111 os <<
" HtTot mask = " << std::hex << htMask << std::endl;
112 os <<
" HtMiss mask = " << std::hex << mhtMask << std::endl;
114 for (
unsigned ieta = 0; ieta < 22; ++ieta) {
115 for (
unsigned iphi = 0; iphi < 18; ++iphi) {
117 os <<
" Region mask : " <<
std::dec << ieta <<
", " << iphi << std::endl;
void maskMissingEt(unsigned ieta)
mask eta range from missing Et sum
bool totalHtMask(unsigned ieta) const
bool missingHtMask(unsigned ieta) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void maskEmCrate(unsigned crate)
mask EM candidates from an RCT crate
bool emCrateMask(unsigned crate) const
get EM masks for an RCT crate
bool regionMask(unsigned ieta, unsigned iphi) const
get region masks
void maskTotalHt(unsigned ieta)
mask eta range from total Ht sum
L1GctChannelMask()
default constructor sets all masks to false
void maskRegion(unsigned ieta, unsigned iphi)
mask a region
void maskTotalEt(unsigned ieta)
mask eta range from total Et sum
bool totalEtMask(unsigned ieta) const
void maskMissingHt(unsigned ieta)
mask eta range from missing Ht sum
bool missingEtMask(unsigned ieta) const