Flags used in PAT, and static translator from flags to strings. More...
#include "DataFormats/PatCandidates/interface/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 20 of file Flags.h.
|
static |
Definition at line 5 of file Flags.cc.
References triggerObjects_cff::bit, pat::Flags::Core::bitToString(), pat::Flags::Overlap::bitToString(), pat::Flags::Selection::bitToString(), pat::Flags::Isolation::bitToString(), CoreBits, IsolationBits, OverlapBits, SelectionBits, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by maskToString(), and pat::helper::MultiIsolator::print().
|
static |
Definition at line 35 of file Flags.cc.
References pat::Flags::Core::get(), pat::Flags::Overlap::get(), pat::Flags::Selection::get(), pat::Flags::Isolation::get(), heavyIonCSV_trainingSettings::idx, str, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
static |
Definition at line 51 of file Flags.cc.
References runTheMatrix::ret.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
static |
Definition at line 19 of file Flags.cc.
References bitToString(), dqmdumpme::first, mps_fire::i, gpuClustering::pixelStatus::mask, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 28 of file Flags.h.
References gpuClustering::pixelStatus::mask, and heppy_batch::val.
Referenced by TtSemiLepSignalSelMVAComputer::produce(), edmIntegrityCheck.IntegrityCheck::report(), and edmIntegrityCheck.IntegrityCheck::structured().
|
inlinestatic |
Definition at line 29 of file Flags.h.
References HltBtagPostValidation_cff::c, gpuClustering::pixelStatus::mask, and test().
Referenced by edmIntegrityCheck.IntegrityCheck::report(), edmIntegrityCheck.IntegrityCheck::structured(), and test().