#include <Flags.h>
Public Types | |
enum | { Shift = 24 } |
enum | Bits { All = 0xFF000000, Tracker = 0x01000000, ECal = 0x02000000, HCal = 0x04000000, Calo = 0x06000000, User = 0xF8000000, User1 = 0x08000000, User2 = 0x10000000, User3 = 0x20000000, User4 = 0x40000000, User5 = 0x80000000, Undefined = 0x00000000 } |
Static Public Member Functions | |
static const std::string & | bitToString (Bits bit) |
static uint32_t | get (const std::vector< std::string > &str) |
static Bits | get (const std::string &str) |
const std::string & Flags::Isolation::bitToString | ( | Isolation::Bits | bit | ) | [static] |
Definition at line 50 of file Flags.cc.
References pat::Flags::Core::All, pat::Flags::Core::Duplicate, pat::Flags::Core::Overflow, pat::Flags::Core::Preselection, and pat::Flags::Core::Vertexing.
Referenced by pat::Flags::bitToString().
{ static const std::string STR_All = "Core/All", STR_Duplicate = "Core/Duplicate", STR_Preselection = "Core/Preselection", STR_Vertexing = "Core/Vertexing", STR_Overflow = "Core/Overflow", STR_Undefined = "Core/Undefined"; switch (bit) { case All: return STR_All; case Duplicate: return STR_Duplicate; case Preselection: return STR_Preselection; case Vertexing: return STR_Vertexing; case Overflow: return STR_Overflow; default: return STR_Undefined; } }
static uint32_t pat::Flags::Isolation::get | ( | const std::vector< std::string > & | str | ) | [static] |
static Bits pat::Flags::Isolation::get | ( | const std::string & | str | ) | [static] |
Referenced by pat::Flags::get().