CMS 3D CMS Logo

Public Types | Static Public Member Functions

pat::Flags::Core Struct Reference

#include <Flags.h>

List of all members.

Public Types

enum  { Shift = 0 }
enum  Bits {
  All = 0x0000000F, Duplicate = 0x00000001, Preselection = 0x00000002, Vertexing = 0x00000004,
  Overflow = 0x00000008, 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 38 of file Flags.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
Shift 

Definition at line 39 of file Flags.h.

{ Shift =  0 };
Enumerator:
All 
Duplicate 
Preselection 
Vertexing 
Overflow 
Undefined 

Definition at line 40 of file Flags.h.

                      {
                All           = 0x0000000F,
                Duplicate     = 0x00000001, // internal duplication
                Preselection  = 0x00000002, // base preselection 1 (e.g. pt, eta cuts)
                Vertexing     = 0x00000004, // vertex association cuts
                Overflow      = 0x00000008, // if one requests to save "at most X items", 
                                            // the overflowing ones will have this bit set
                Undefined     = 0x00000000
            };

Member Function Documentation

static const std::string& pat::Flags::Core::bitToString ( Bits  bit) [static]

Referenced by pat::Flags::bitToString().

static uint32_t pat::Flags::Core::get ( const std::vector< std::string > &  str) [static]
static Bits pat::Flags::Core::get ( const std::string &  str) [static]

Referenced by pat::Flags::get().