CMS 3D CMS Logo

Public Types | Static Public Member Functions

pat::Flags::Isolation Struct Reference

#include <Flags.h>

List of all members.

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)

Detailed Description

Definition at line 97 of file Flags.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
Shift 

Definition at line 98 of file Flags.h.

{ Shift =  24 };
Enumerator:
All 
Tracker 
ECal 
HCal 
Calo 
User 
User1 
User2 
User3 
User4 
User5 
Undefined 

Definition at line 99 of file Flags.h.

                      {
                All       = 0xFF000000,
                Tracker   = 0x01000000,
                ECal      = 0x02000000,
                HCal      = 0x04000000,
                Calo      = 0x06000000,
                User      = 0xF8000000,
                User1     = 0x08000000,
                User2     = 0x10000000,
                User3     = 0x20000000,
                User4     = 0x40000000,
                User5     = 0x80000000,
                Undefined = 0x00000000
            };

Member Function Documentation

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, AlCaHLTBitMon_QueryRunRegistry::string, 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().