#include <L1GctChannelMask.h>
Public Member Functions | |
bool | emCrateMask (unsigned crate) const |
get EM masks for an RCT crate | |
L1GctChannelMask () | |
default constructor sets all masks to false | |
void | maskEmCrate (unsigned crate) |
mask EM candidates from an RCT crate | |
void | maskMissingEt (unsigned ieta) |
mask eta range from missing Et sum | |
void | maskMissingHt (unsigned ieta) |
mask eta range from missing Ht sum | |
void | maskRegion (unsigned ieta, unsigned iphi) |
mask a region | |
void | maskTotalEt (unsigned ieta) |
mask eta range from total Et sum | |
void | maskTotalHt (unsigned ieta) |
mask eta range from total Ht sum | |
bool | missingEtMask (unsigned ieta) const |
bool | missingHtMask (unsigned ieta) const |
bool | regionMask (unsigned ieta, unsigned iphi) const |
get region masks | |
bool | totalEtMask (unsigned ieta) const |
bool | totalHtMask (unsigned ieta) const |
~L1GctChannelMask () | |
Private Attributes | |
bool | emCrateMask_ [18] |
bool | htMask_ [22] |
bool | metMask_ [22] |
bool | mhtMask_ [22] |
bool | regionMask_ [22][18] |
bool | tetMask_ [22] |
Definition at line 6 of file L1GctChannelMask.h.
L1GctChannelMask::L1GctChannelMask | ( | ) |
default constructor sets all masks to false
Definition at line 3 of file L1GctChannelMask.cc.
References emCrateMask_, htMask_, i, metMask_, mhtMask_, regionMask_, and tetMask_.
L1GctChannelMask::~L1GctChannelMask | ( | ) | [inline] |
Definition at line 11 of file L1GctChannelMask.h.
{}
bool L1GctChannelMask::emCrateMask | ( | unsigned | crate | ) | const |
get EM masks for an RCT crate
Definition at line 51 of file L1GctChannelMask.cc.
References emCrateMask_.
Referenced by L1GlobalCaloTrigger::setIsoEm(), and L1GlobalCaloTrigger::setNonIsoEm().
{ if (crate < 18) { return emCrateMask_[crate]; } else return true; }
void L1GctChannelMask::maskEmCrate | ( | unsigned | crate | ) |
mask EM candidates from an RCT crate
Definition at line 21 of file L1GctChannelMask.cc.
References emCrateMask_.
{ if (crate < 18) emCrateMask_[crate] = true; }
void L1GctChannelMask::maskMissingEt | ( | unsigned | ieta | ) |
mask eta range from missing Et sum
Definition at line 36 of file L1GctChannelMask.cc.
References metMask_.
{ if (ieta < 22) metMask_[ieta] = true; }
void L1GctChannelMask::maskMissingHt | ( | unsigned | ieta | ) |
mask eta range from missing Ht sum
Definition at line 46 of file L1GctChannelMask.cc.
References mhtMask_.
{ if (ieta < 22) mhtMask_[ieta] = true; }
void L1GctChannelMask::maskRegion | ( | unsigned | ieta, |
unsigned | iphi | ||
) |
mask a region
Definition at line 26 of file L1GctChannelMask.cc.
References regionMask_.
{ if (ieta < 22 && iphi < 18) regionMask_[ieta][iphi] = true; }
void L1GctChannelMask::maskTotalEt | ( | unsigned | ieta | ) |
mask eta range from total Et sum
Definition at line 31 of file L1GctChannelMask.cc.
References tetMask_.
{ if (ieta < 22) tetMask_[ieta] = true; }
void L1GctChannelMask::maskTotalHt | ( | unsigned | ieta | ) |
mask eta range from total Ht sum
Definition at line 41 of file L1GctChannelMask.cc.
References htMask_.
{ if (ieta < 22) htMask_[ieta] = true; }
bool L1GctChannelMask::missingEtMask | ( | unsigned | ieta | ) | const |
Definition at line 69 of file L1GctChannelMask.cc.
References metMask_.
{ if (ieta < 22) return metMask_[ieta]; else return true; }
bool L1GctChannelMask::missingHtMask | ( | unsigned | ieta | ) | const |
Definition at line 81 of file L1GctChannelMask.cc.
References mhtMask_.
{ if (ieta < 22) return mhtMask_[ieta]; else return true; }
bool L1GctChannelMask::regionMask | ( | unsigned | ieta, |
unsigned | iphi | ||
) | const |
get region masks
Definition at line 57 of file L1GctChannelMask.cc.
References regionMask_.
Referenced by operator<<(), and L1GlobalCaloTrigger::setRegion().
{ if (ieta < 22 && iphi < 18) { return regionMask_[ieta][iphi]; } else return true; }
bool L1GctChannelMask::totalEtMask | ( | unsigned | ieta | ) | const |
Definition at line 63 of file L1GctChannelMask.cc.
References tetMask_.
{ if (ieta < 22) return tetMask_[ieta]; else return true; }
bool L1GctChannelMask::totalHtMask | ( | unsigned | ieta | ) | const |
Definition at line 75 of file L1GctChannelMask.cc.
References htMask_.
{ if (ieta < 22) return htMask_[ieta]; else return true; }
bool L1GctChannelMask::emCrateMask_[18] [private] |
Definition at line 50 of file L1GctChannelMask.h.
Referenced by emCrateMask(), L1GctChannelMask(), and maskEmCrate().
bool L1GctChannelMask::htMask_[22] [private] |
Definition at line 54 of file L1GctChannelMask.h.
Referenced by L1GctChannelMask(), maskTotalHt(), and totalHtMask().
bool L1GctChannelMask::metMask_[22] [private] |
Definition at line 53 of file L1GctChannelMask.h.
Referenced by L1GctChannelMask(), maskMissingEt(), and missingEtMask().
bool L1GctChannelMask::mhtMask_[22] [private] |
Definition at line 55 of file L1GctChannelMask.h.
Referenced by L1GctChannelMask(), maskMissingHt(), and missingHtMask().
bool L1GctChannelMask::regionMask_[22][18] [private] |
Definition at line 51 of file L1GctChannelMask.h.
Referenced by L1GctChannelMask(), maskRegion(), and regionMask().
bool L1GctChannelMask::tetMask_[22] [private] |
Definition at line 52 of file L1GctChannelMask.h.
Referenced by L1GctChannelMask(), maskTotalEt(), and totalEtMask().