ATLAS Offline Software
|
#include <JetKeyDescriptor.h>
Public Types | |
typedef std::string | category_t |
typedef std::string | key_t |
typedef std::vector< key_t > | keystore_t |
typedef std::vector< keystore_t > | storelist_t |
typedef std::vector< category_t > | catlist_t |
Public Member Functions | |
virtual | ~JetKeyDescriptorInstance () |
size_t | getIndex (const category_t &cat, const key_t &key, bool createIfMissing=true) |
size_t | getIndex (const category_t &cat, const key_t &key) const |
const key_t & | getKey (const category_t &cat, size_t index) const |
const std::vector< key_t > & | getKeys (const category_t &cat) const |
const std::vector< category_t > & | getCategories () const |
bool | isValid (size_t index) const |
void | printOut (MsgStream &msgStream) const |
JetKeyDescriptor * | getKeyStore () |
Static Public Member Functions | |
static JetKeyDescriptorInstance * | instance () |
Protected Member Functions | |
JetKeyDescriptorInstance (bool create=true) | |
void | createKeyStore () const |
Protected Attributes | |
JetKeyDescriptor * | m_Stores |
const JetKeyDescriptor * | m_ConstStores |
Static Private Attributes | |
static const size_t | m_invalid = size_t(-1) |
static const std::string | m_notFound = "unknown" |
static const std::vector< key_t > | m_invalidKeys |
static const bool | m_persistified = false |
Friends | |
class | JetKeyDescriptor |
class | JetCollection |
class | JetKeyDescriptorCnv_p1 |
class | JetCollectionCnv_p2 |
class | JetCollectionCnv_p3 |
class | JetCollectionCnv_p4 |
class | JetCollectionCnv_p5 |
class | JetCollectionCnv_p6 |
Theses classes implement a mapping between string and index used by jets. they are used for jet moments, jet associations, etc... There are 2 classes :
///////////////////////////////////////////////////////
Definition at line 99 of file JetKeyDescriptor.h.
typedef std::string JetKeyDescriptorInstance::category_t |
Definition at line 113 of file JetKeyDescriptor.h.
typedef std::vector<category_t> JetKeyDescriptorInstance::catlist_t |
Definition at line 118 of file JetKeyDescriptor.h.
typedef std::string JetKeyDescriptorInstance::key_t |
Definition at line 114 of file JetKeyDescriptor.h.
typedef std::vector<key_t> JetKeyDescriptorInstance::keystore_t |
Definition at line 116 of file JetKeyDescriptor.h.
typedef std::vector<keystore_t> JetKeyDescriptorInstance::storelist_t |
Definition at line 117 of file JetKeyDescriptor.h.
|
virtualdefault |
|
protected |
Definition at line 23 of file JetKeyDescriptor.cxx.
|
protected |
Definition at line 34 of file JetKeyDescriptor.cxx.
|
inline |
Definition at line 176 of file JetKeyDescriptor.h.
size_t JetKeyDescriptorInstance::getIndex | ( | const category_t & | cat, |
const key_t & | key | ||
) | const |
Definition at line 111 of file JetKeyDescriptor.cxx.
size_t JetKeyDescriptorInstance::getIndex | ( | const category_t & | cat, |
const key_t & | key, | ||
bool | createIfMissing = true |
||
) |
Definition at line 47 of file JetKeyDescriptor.cxx.
const JetKeyDescriptorInstance::key_t & JetKeyDescriptorInstance::getKey | ( | const category_t & | cat, |
size_t | index | ||
) | const |
Definition at line 161 of file JetKeyDescriptor.cxx.
const std::vector< JetKeyDescriptorInstance::key_t > & JetKeyDescriptorInstance::getKeys | ( | const category_t & | cat | ) | const |
Definition at line 178 of file JetKeyDescriptor.cxx.
JetKeyDescriptor * JetKeyDescriptorInstance::getKeyStore | ( | ) |
Definition at line 42 of file JetKeyDescriptor.cxx.
|
inlinestatic |
Definition at line 123 of file JetKeyDescriptor.h.
|
inline |
Definition at line 170 of file JetKeyDescriptor.h.
void JetKeyDescriptorInstance::printOut | ( | MsgStream & | msgStream | ) | const |
Definition at line 144 of file JetKeyDescriptor.cxx.
|
friend |
Definition at line 102 of file JetKeyDescriptor.h.
|
friend |
Definition at line 104 of file JetKeyDescriptor.h.
|
friend |
Definition at line 105 of file JetKeyDescriptor.h.
|
friend |
Definition at line 106 of file JetKeyDescriptor.h.
|
friend |
Definition at line 107 of file JetKeyDescriptor.h.
|
friend |
Definition at line 108 of file JetKeyDescriptor.h.
|
friend |
Definition at line 101 of file JetKeyDescriptor.h.
|
friend |
Definition at line 103 of file JetKeyDescriptor.h.
|
mutableprotected |
Definition at line 156 of file JetKeyDescriptor.h.
|
staticprivate |
Definition at line 163 of file JetKeyDescriptor.h.
|
staticprivate |
Definition at line 165 of file JetKeyDescriptor.h.
|
staticprivate |
Definition at line 164 of file JetKeyDescriptor.h.
|
staticprivate |
Definition at line 167 of file JetKeyDescriptor.h.
|
mutableprotected |
Definition at line 155 of file JetKeyDescriptor.h.