Flags used in PAT, and static translator from flags to strings. More...
#include <Flags.h>
Classes | |
struct | Core |
struct | Isolation |
struct | Overlap |
struct | Selection |
Public Types | |
enum | CleanerFlags { AllBits = 0xFFFFFFFF, CoreBits = 0x0000000F, SelectionBits = 0x0000FFF0, OverlapBits = 0x00FF0000, IsolationBits = 0xFF000000 } |
Static Public Member Functions | |
static const std::string & | bitToString (uint32_t bit) |
static uint32_t | get (const std::string &str) |
static uint32_t | get (const std::vector< std::string > &str) |
static std::string | maskToString (uint32_t bit) |
static bool | test (uint32_t val, uint32_t mask) |
static bool | test (const reco::Candidate &c, uint32_t mask) |
Flags used in PAT, and static translator from flags to strings.
Enumerator | |
---|---|
AllBits | |
CoreBits | |
SelectionBits | |
OverlapBits | |
IsolationBits |
Definition at line 22 of file Flags.h.
|
static |
Definition at line 6 of file Flags.cc.
References pat::Flags::Core::bitToString(), pat::Flags::Overlap::bitToString(), pat::Flags::Selection::bitToString(), pat::Flags::Isolation::bitToString(), CoreBits, IsolationBits, OverlapBits, and SelectionBits.
Referenced by maskToString(), and pat::helper::MultiIsolator::print().
|
static |
Definition at line 28 of file Flags.cc.
References pat::Flags::Core::get(), pat::Flags::Overlap::get(), pat::Flags::Selection::get(), pat::Flags::Isolation::get(), and runtimedef::set().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
static |
Definition at line 41 of file Flags.cc.
References run_regression::ret.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
static |
Definition at line 15 of file Flags.cc.
References bitToString(), first, i, and run_regression::ret.
|
inlinestatic |
Definition at line 30 of file Flags.h.
Referenced by TtSemiLepSignalSelMVATrainer::analyze(), pat::SelectorByFlags::operator()(), and TtSemiLepSignalSelMVAComputer::produce().
|
inlinestatic |
Definition at line 31 of file Flags.h.
References reco::Candidate::status(), and test().
Referenced by test().