|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef ETOWERCONTAINER_H
10 #define ETOWERCONTAINER_H
30 #include <unordered_map>
57 void push_back(
float eta,
float phi,
float keybase,
int posneg);
Container class for eTower.
The eTower class is an interface object for eFEX trigger algorithms The purposes are twofold:
void push_back(float eta, float phi, float keybase, int posneg)
reimplementation of const push_back
void clearContainerMap()
clear map
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
std::vector< LVL1::eTower > MutableeTowerVector
Return from non-const findTowerVector.
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
std::unordered_map< int, int > m_map_towerID_containerIndex
virtual ~eTowerContainer()
destructor
@ OWN_ELEMENTS
this data object owns its elements
std::vector< const LVL1::eTower > eTowerVector
type to be used for the internal lookup table, and to return list of towers
IMessageSvc * msgSvc() const
get message service
bool fillContainerMap()
utility function to help speed up accessing towers
eTowerContainer(size_t n, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Sized constructor.
void print() const
dump (obsolete)
Cached value with atomic update.
Define a specializable method for finding the index of an object within a container.
An STL vector of pointers that by default owns its pointed-to elements.
SG_BASE(LVL1::eTowerContainer, DataVector< LVL1::eTower >)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
An array of unsigned values of some bit size, packed tightly.
eTowerContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
const LVL1::eTower * findTower(int towerID) const
fast find method given identifier.
macros to associate a CLID to a type