1 #ifndef DataFormats_PatCandidates_interface_Flags_h
2 #define DataFormats_PatCandidates_interface_Flags_h
18 #include <boost/cstdint.hpp>
30 inline static bool test(uint32_t val, uint32_t mask) {
return (val & mask) == 0; }
36 static uint32_t
get (
const std::vector<std::string> & str );
51 static uint32_t
get (
const std::vector<std::string> & str );
71 static uint32_t
get (
const std::vector<std::string> & str );
93 static Bits get ( int8_t bit );
95 static uint32_t
get (
const std::vector<std::string> & str );
115 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)