Go to the documentation of this file. 1 #ifndef DataFormats_PatCandidates_interface_Flags_h
2 #define DataFormats_PatCandidates_interface_Flags_h
28 inline static bool test(uint32_t
val, uint32_t mask) {
return (
val & mask) == 0; }
34 static uint32_t
get(
const std::vector<std::string> &
str);
49 static uint32_t
get(
const std::vector<std::string> &
str);
69 static uint32_t
get(
const std::vector<std::string> &
str);
93 static uint32_t
get(
const std::vector<std::string> &
str);
113 static uint32_t
get(
const std::vector<std::string> &
str);
static bool test(const reco::Candidate &c, uint32_t mask)
static const std::string & bitToString(Bits bit)
Flags used in PAT, and static translator from flags to strings.
static Bits get(const std::string &str)
static const std::string & bitToString(Bits bit)
static const std::string & bitToString(uint32_t bit)
static bool test(uint32_t val, uint32_t mask)
static const std::string & bitToString(Bits bit)
static Bits get(const std::string &str)
static const std::string & bitToString(Bits bit)
static Bits get(int8_t bit)
static Bits get(const std::string &str)
static std::string maskToString(uint32_t bit)
static uint32_t get(const std::string &str)