1 #ifndef DataFormats_PatCandidates_interface_Flags_h
2 #define DataFormats_PatCandidates_interface_Flags_h
16 #include <boost/cstdint.hpp>
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 );
91 static Bits get ( int8_t bit );
93 static uint32_t
get (
const std::vector<std::string> & str );
113 static uint32_t
get (
const std::vector<std::string> & str );
static const std::string & bitToString(uint32_t bit)
virtual int status() const =0
status word
static bool test(uint32_t val, uint32_t mask)
static const std::string & bitToString(Bits bit)
static const std::string & bitToString(Bits bit)
static std::string maskToString(uint32_t bit)
Flags used in PAT, and static translator from flags to strings.
static bool test(const reco::Candidate &c, uint32_t mask)
static const std::string & bitToString(Bits bit)
static const std::string & bitToString(Bits bit)