|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef JTOWERCONTAINER_H
8 #define JTOWERCONTAINER_H
28 #include <unordered_map>
55 void push_back(
float eta,
float phi,
int towerid,
int posneg,
float centre_et = 0.0,
float centre_phi = 0.0,
int fcal_layer = -1);
Container class for jTower.
jTowerContainer(size_t n, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Sized constructor.
void print() const
dump (obsolete)
std::vector< LVL1::jTower > MutablejTowerVector
Return from non-const findTowerVector.
const LVL1::jTower * findTower(int towerID) const
fast find method given identifier.
IMessageSvc * msgSvc() const
get message service
virtual ~jTowerContainer()
destructor
bool fillContainerMap()
utility function to help speed up accessing towers
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
std::unordered_map< int, int > m_map_towerID_containerIndex
@ OWN_ELEMENTS
this data object owns its elements
jTowerContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
void push_back(float eta, float phi, int towerid, int posneg, float centre_et=0.0, float centre_phi=0.0, int fcal_layer=-1)
reimplementation of const push_back
SG_BASE(LVL1::jTowerContainer, DataVector< LVL1::jTower >)
std::vector< const LVL1::jTower > jTowerVector
type to be used for the internal lookup table, and to return list of towers
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.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
The jTower class is an interface object for jFEX trigger algorithms The purposes are twofold:
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
An array of unsigned values of some bit size, packed tightly.
void clearContainerMap()
clear map
macros to associate a CLID to a type