ATLAS Offline Software
Reconstruction
Jet
JetEvent
src
JetAssociationBase.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
7
#include "
JetEvent/JetAssociationBase.h
"
8
9
10
JetAssociationBase::JetAssociationBase
()
11
: m_keyIndex(0)
12
, m_jetKeyDescr(
JetKeyDescriptorInstance
::
instance
())
13
{ }
14
15
void
JetAssociationBase::setName
(
const
name_t
&
name
)
16
{
17
m_keyIndex
=
m_jetKeyDescr
->
getIndex
(
JetKeyConstants::AssoCat
,
name
);
18
}
19
20
const
JetAssociationBase::name_t
&
JetAssociationBase::name
()
const
21
{
22
return
m_jetKeyDescr
->
getKey
(
JetKeyConstants::AssoCat
,
m_keyIndex
);
23
}
JetAssociationBase.h
JetAssociationBase::name_t
JetKeyDescriptor::key_t name_t
Definition:
JetAssociationBase.h:28
JetAssociationBase::setName
void setName(const name_t &name)
Definition:
JetAssociationBase.cxx:15
instance
std::map< std::string, double > instance
Definition:
Run_To_Get_Tags.h:8
JetKeyConstants::AssoCat
static const key_t AssoCat
Index category for jet associations.
Definition:
JetKeyDescriptor.h:90
JetAssociationBase::JetAssociationBase
JetAssociationBase()
Definition:
JetAssociationBase.cxx:10
JetKeyDescriptorInstance::getKey
const key_t & getKey(const category_t &cat, size_t index) const
Definition:
JetKeyDescriptor.cxx:161
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
JetAssociationBase::m_keyIndex
size_t m_keyIndex
Definition:
JetAssociationBase.h:56
JetAssociationBase::m_jetKeyDescr
JetKeyDescriptorInstance * m_jetKeyDescr
Definition:
JetAssociationBase.h:57
JetKeyDescriptorInstance::getIndex
size_t getIndex(const category_t &cat, const key_t &key, bool createIfMissing=true)
Definition:
JetKeyDescriptor.cxx:47
JetKeyDescriptorInstance
Definition:
JetKeyDescriptor.h:100
JetAssociationBase::name
const name_t & name() const
Definition:
JetAssociationBase.cxx:20
Generated on Thu Nov 7 2024 21:17:58 for ATLAS Offline Software by
1.8.18