|
ATLAS Offline Software
|
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
More...
#include <jFexFwdElRoI_v1.h>
|
| jFexFwdElRoI_v1 () |
| Default constructor. More...
|
|
void | initialize (uint8_t jFexNumber, uint8_t fpgaNumber, uint32_t tobWord, char istob, int resolution, float_t eta, float_t phi) |
| initialze the EDM More...
|
|
uint32_t | tobWord () const |
| The "raw" 32-bit word describing the object candidate, 27 bit-word used at hardware level. More...
|
|
uint16_t | tobEt () const |
| Decoded from Tob (for convenience) More...
|
|
uint8_t | tobEMIso () const |
|
uint8_t | tobEMf1 () const |
|
uint8_t | tobEMf2 () const |
|
uint8_t | tobLocalEta () const |
|
uint8_t | tobLocalPhi () const |
|
uint8_t | tobSat () const |
|
int | globalEta () const |
| Calculated from Tob. More...
|
|
uint | globalPhi () const |
|
uint8_t | jFexNumber () const |
| Additional info (initialization) More...
|
|
uint8_t | fpgaNumber () const |
|
float | eta () const |
|
float | phi () const |
|
int | tobEtScale () const |
|
char | isTOB () const |
|
uint16_t | EtEMiso () const |
| Isolation and emfraction variables (not available yet) Bitwise: EtEMiso, EtEM, EtHad1, ETHad2 also possible floats: EtEMiso/(tobEt+EtEMiso), EtHad1/(EtEM+EtHad1), EtHad2/(EtEM+EtHad2)
More...
|
|
uint16_t | EtEM () const |
|
uint16_t | EtHad1 () const |
|
uint16_t | EtHad2 () const |
|
int | menuEta () const |
| the eta index to use for looking up thresholds in the menu More...
|
|
void | setIsTOB (char value) |
| Set the isTOB variable (TOB or xTOB) More...
|
|
void | setTobWord (uint32_t tobWord) |
| Set the "raw" words describing the object candidate, need 27/32 bits. More...
|
|
void | setjFexNumber (uint8_t jFexNumber) |
|
void | setfpgaNumber (uint8_t fpgaNumber) |
|
unsigned int | unpackEtTOB () const |
| TOB ET (decoded from TOB, stored for convenience) More...
|
|
void | setTobEt (uint16_t value) |
|
unsigned int | et () const |
| Methods that require combining results or applying scales. More...
|
|
unsigned int | unpackEMIsoTOB () const |
| TOB Isolation bits (decoded from TOB, stored for convenience) More...
|
|
void | setTobEMIso (uint8_t value) |
|
unsigned int | unpackEMf1TOB () const |
| TOB EM fraction bits (decoded from TOB, stored for convenience) More...
|
|
void | setTobEMf1 (uint8_t value) |
|
unsigned int | unpackEMf2TOB () const |
|
void | setTobEMf2 (uint8_t value) |
|
unsigned int | unpackEtaIndex () const |
| Eta coordinates. More...
|
|
void | setTobLocalEta (uint8_t value) |
|
unsigned int | unpackPhiIndex () const |
| Phi coordinates. More...
|
|
void | setTobLocalPhi (uint8_t value) |
|
unsigned int | unpackSaturationIndex () const |
|
void | setTobSat (uint8_t value) |
|
int | getGlobalEta () const |
| could add iso, emf1 and emf2 calculated from EtEMiso, EtEM, ETHad1 and EtHad2 More...
|
|
void | setGlobalEta (int value) |
|
void | setEta (float value) |
|
uint | getGlobalPhi () const |
|
void | setGlobalPhi (uint value) |
|
void | setPhi (float value) |
|
void | setResolution (int value) |
|
unsigned int | getEtEMiso () const |
|
void | setEtEMiso (uint16_t value) |
|
unsigned int | getEtEM () const |
|
void | setEtEM (uint16_t value) |
|
unsigned int | getEtHad1 () const |
|
void | setEtHad1 (uint16_t value) |
|
unsigned int | getEtHad2 () const |
|
void | setEtHad2 (uint16_t value) |
|
const SG::AuxVectorData * | container () const |
| Return the container holding this element. More...
|
|
SG::AuxVectorData * | container () |
| Return the container holding this element. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name) |
| Fetch an aux data variable, as a non-const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name, const std::string &clsname) |
| Fetch an aux data variable, as a non-const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name) const |
| Fetch an aux data variable, as a const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name, const std::string &clsname) const |
| Fetch an aux data variable, as a const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name) const |
| Fetch an aux data variable, as a const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name, const std::string &clsname) const |
| Fetch an aux data variable, as a const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if an aux variable is available for reading. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") |
| Check if an aux variable is available for writing. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const |
| Check if an aux variable is available for writing as a decoration. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name) const |
| Fetch an aux decoration, as a non-const reference. More...
|
|
template<class T , class ALLOC = AuxAllocator_t<T>> |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name, const std::string &clsname) const |
| Fetch an aux decoration, as a non-const reference. More...
|
|
void | makePrivateStore () |
| Create a new (empty) private store for this object. More...
|
|
template<class U1 > |
void | makePrivateStore (const U1 &other) |
| Create a new private store for this object and copy aux data. More...
|
|
template<class U1 > |
void | makePrivateStore (const U1 *other) |
| Create a new private store for this object and copy aux data. More...
|
|
void | releasePrivateStore () |
| Release and free any private store associated with this object. More...
|
|
void | setStore (const SG::IConstAuxStore *store) |
| Set the store associated with this object. More...
|
|
void | setStore (SG::IAuxStore *store) |
| Set the store associated with this object. More...
|
|
void | setStore (const DataLink< SG::IConstAuxStore > &store) |
| Set the store associated with this object. More...
|
|
void | setConstStore (const SG::IConstAuxStore *store) |
| Synonym for setStore with IConstAuxStore . More...
|
|
void | setNonConstStore (SG::IAuxStore *store) |
| Synonym for setStore with IAuxStore . More...
|
|
bool | usingPrivateStore () const |
| Test to see if this object is currently using a private store. More...
|
|
bool | usingStandaloneStore () const |
| Test to see if this object is currently using a standalone store. More...
|
|
const SG::IConstAuxStore * | getConstStore () const |
| Return the current store, as a const interface. More...
|
|
SG::IAuxStore * | getStore () const |
| Return the current store, as a non-const interface. More...
|
|
void | clearCache () |
| Clear the cached aux data pointers. More...
|
|
const SG::auxid_set_t & | getAuxIDs () const |
| Return a set of identifiers for existing data items for this object. More...
|
|
bool | hasStore () const |
| Return true if this object has an associated store. More...
|
|
bool | hasNonConstStore () const |
| Return true if this object has an associated non-const store. More...
|
|
bool | clearDecorations () const |
| Clear all decorations. More...
|
|
bool | trackIndices () const |
| Return true if index tracking is enabled for this object. More...
|
|
size_t | index () const |
| Return the index of this element within its container. More...
|
|
size_t | index () const |
| Return the index of this element within its container. More...
|
|
|
static const std::vector< int > | s_FWD_EtaPosition |
|
static const std::vector< int > | s_FCAL_EtaPosition = {32,34,35,37,38,40,41,43,44,46,47,49} |
|
static const int | s_resBit = 27 |
|
static const int | s_emf2Bit = 25 |
|
static const int | s_emf1Bit = 23 |
|
static const int | s_isoBit = 21 |
|
static const int | s_etBit = 10 |
|
static const int | s_etaBit = 5 |
|
static const int | s_phiBit = 1 |
|
static const int | s_satBit = 0 |
|
static const int | s_resMask = 0x1f |
|
static const int | s_emf2Mask = 0x3 |
|
static const int | s_emf1Mask = 0x3 |
|
static const int | s_isoMask = 0x3 |
|
static const int | s_etMask = 0x7ff |
|
static const int | s_etaMask = 0x1f |
|
static const int | s_phiMask = 0xf |
|
static const int | s_satMask = 0x1 |
|
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition at line 22 of file jFexFwdElRoI_v1.h.
◆ Accessor
template<class T , class ALLOC = AuxAllocator_t<T>>
◆ ConstAccessor
template<class T , class ALLOC = AuxAllocator_t<T>>
◆ Decorator
template<class T , class ALLOC = AuxAllocator_t<T>>
◆ TypelessConstAccessor
◆ PrivateStoreState
The current private data state.
Enumerator |
---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE | |
Definition at line 131 of file IAuxElement.h.
◆ jFexFwdElRoI_v1()
xAOD::jFexFwdElRoI_v1::jFexFwdElRoI_v1 |
( |
| ) |
|
◆ auxdata() [1/4]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a non-const reference.
- Parameters
-
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
◆ auxdata() [2/4]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
◆ auxdata() [3/4]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a non-const reference.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
◆ auxdata() [4/4]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
◆ auxdataConst() [1/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
◆ auxdataConst() [2/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
◆ auxdecor() [1/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux decoration, as a non-const reference.
- Parameters
-
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
◆ auxdecor() [2/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux decoration, as a non-const reference.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
◆ clearAux()
void SG::AuxElement::clearAux |
( |
| ) |
|
|
privateinherited |
Clear all aux data associated with this element.
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
Definition at line 535 of file AuxElement.cxx.
◆ clearCache()
void SG::AuxElement::clearCache |
( |
| ) |
|
|
inherited |
Clear the cached aux data pointers.
You should call this any time something changes in the aux store that could invalidate the vector pointers.
Definition at line 319 of file AuxElement.cxx.
◆ clearDecorations()
bool SG::AuxElement::clearDecorations |
( |
| ) |
const |
|
inherited |
Clear all decorations.
Erase all decorations from an associated store, restoring the state to when lock
was called.
Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.
Definition at line 385 of file AuxElement.cxx.
◆ container() [1/2]
Return the container holding this element.
◆ container() [2/2]
Return the container holding this element.
◆ copyAux()
Copy aux data from another object.
- Parameters
-
other | The object from which to copy. |
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
All aux data items from other
are copied to this object. Any aux data items associated with this object that are not present in other
are cleared. (If other
has no aux data, then all aux data items for this object are cleared.)
Definition at line 561 of file AuxElement.cxx.
575 size_t oindex =
other.index();
582 if (!
r.isLinked (auxid)) {
583 r.copy (auxid, cont,
index(), *ocont, oindex, 1);
588 if (!other_ids.test (auxid)) {
589 r.clear (auxid, cont,
index(), 1);
◆ et()
Methods that require combining results or applying scales.
ET on TOB scale
Definition at line 151 of file jFexFwdElRoI_v1.cxx.
◆ eta()
float xAOD::jFexFwdElRoI_v1::eta |
( |
| ) |
const |
◆ EtEM()
uint16_t xAOD::jFexFwdElRoI_v1::EtEM |
( |
| ) |
const |
◆ EtEMiso()
uint16_t xAOD::jFexFwdElRoI_v1::EtEMiso |
( |
| ) |
const |
Isolation and emfraction variables (not available yet) Bitwise: EtEMiso, EtEM, EtHad1, ETHad2 also possible floats: EtEMiso/(tobEt+EtEMiso), EtHad1/(EtEM+EtHad1), EtHad2/(EtEM+EtHad2)
◆ EtHad1()
uint16_t xAOD::jFexFwdElRoI_v1::EtHad1 |
( |
| ) |
const |
◆ EtHad2()
uint16_t xAOD::jFexFwdElRoI_v1::EtHad2 |
( |
| ) |
const |
◆ fpgaNumber()
uint8_t xAOD::jFexFwdElRoI_v1::fpgaNumber |
( |
| ) |
const |
◆ getAuxIDs()
Return a set of identifiers for existing data items for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 335 of file AuxElement.cxx.
337 #ifdef ATHCONTAINERS_R21_COMPAT
◆ getConstStore()
Return the current store, as a const interface.
This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 284 of file AuxElement.cxx.
◆ getEtEM()
◆ getEtEMiso()
unsigned int xAOD::jFexFwdElRoI_v1::getEtEMiso |
( |
| ) |
const |
◆ getEtHad1()
unsigned int xAOD::jFexFwdElRoI_v1::getEtHad1 |
( |
| ) |
const |
◆ getEtHad2()
unsigned int xAOD::jFexFwdElRoI_v1::getEtHad2 |
( |
| ) |
const |
◆ getGlobalEta()
int xAOD::jFexFwdElRoI_v1::getGlobalEta |
( |
| ) |
const |
could add iso, emf1 and emf2 calculated from EtEMiso, EtEM, ETHad1 and EtHad2
Definition at line 160 of file jFexFwdElRoI_v1.cxx.
◆ getGlobalPhi()
uint xAOD::jFexFwdElRoI_v1::getGlobalPhi |
( |
| ) |
const |
◆ getStore()
Return the current store, as a non-const interface.
This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 299 of file AuxElement.cxx.
302 #ifdef ATHCONTAINERS_R21_COMPAT
◆ globalEta()
int xAOD::jFexFwdElRoI_v1::globalEta |
( |
| ) |
const |
◆ globalPhi()
uint xAOD::jFexFwdElRoI_v1::globalPhi |
( |
| ) |
const |
◆ hadPrivateData()
bool SG::IAuxElement::hadPrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element had private data before it was added to its current container.
◆ hasNonConstStore()
bool SG::AuxElement::hasNonConstStore |
( |
| ) |
const |
|
inherited |
Return true if this object has an associated non-const store.
This will be true for either a private or standalone store.
Definition at line 368 of file AuxElement.cxx.
◆ hasStore()
bool SG::AuxElement::hasStore |
( |
| ) |
const |
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 355 of file AuxElement.cxx.
◆ havePrivateData()
bool SG::IAuxElement::havePrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element currently has private data.
◆ index() [1/2]
size_t SG::IAuxElement::index |
( |
| ) |
const |
|
inherited |
Return the index of this element within its container.
◆ index() [2/2]
size_t SG::IAuxElement::index |
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
◆ initialize()
void xAOD::jFexFwdElRoI_v1::initialize |
( |
uint8_t |
jFexNumber, |
|
|
uint8_t |
fpgaNumber, |
|
|
uint32_t |
tobWord, |
|
|
char |
istob, |
|
|
int |
resolution, |
|
|
float_t |
eta, |
|
|
float_t |
phi |
|
) |
| |
◆ isAvailable()
template<class T , class ALLOC = AuxAllocator_t<T>>
Check if an aux variable is available for reading.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
◆ isAvailableWritable()
template<class T , class ALLOC = AuxAllocator_t<T>>
Check if an aux variable is available for writing.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
◆ isAvailableWritableAsDecoration()
template<class T , class ALLOC = AuxAllocator_t<T>>
Check if an aux variable is available for writing as a decoration.
- Parameters
-
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
◆ isTOB()
char xAOD::jFexFwdElRoI_v1::isTOB |
( |
| ) |
const |
◆ jFexNumber()
uint8_t xAOD::jFexFwdElRoI_v1::jFexNumber |
( |
| ) |
const |
Additional info (initialization)
◆ makePrivateStore() [1/3]
void SG::AuxElement::makePrivateStore |
( |
| ) |
|
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 172 of file AuxElement.cxx.
◆ makePrivateStore() [2/3]
template<class U1 >
void SG::AuxElement::makePrivateStore |
( |
const U1 & |
other | ) |
|
|
inherited |
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
◆ makePrivateStore() [3/3]
template<class U1 >
void SG::AuxElement::makePrivateStore |
( |
const U1 * |
other | ) |
|
|
inherited |
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
◆ makePrivateStore1() [1/2]
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does have aux data.
Definition at line 521 of file AuxElement.cxx.
◆ makePrivateStore1() [2/2]
void SG::AuxElement::makePrivateStore1 |
( |
const void * |
| ) |
|
|
privateinherited |
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does not have aux data.
◆ menuEta()
int xAOD::jFexFwdElRoI_v1::menuEta |
( |
| ) |
const |
the eta index to use for looking up thresholds in the menu
Definition at line 56 of file jFexFwdElRoI_v1.cxx.
58 static const unsigned int RESOLUTION = 40;
59 float tmp =
eta()*RESOLUTION;
◆ noPrivateData()
bool SG::IAuxElement::noPrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element has no private data.
◆ phi()
float xAOD::jFexFwdElRoI_v1::phi |
( |
| ) |
const |
◆ releasePrivateStore()
void SG::AuxElement::releasePrivateStore |
( |
| ) |
|
|
inherited |
Release and free any private store associated with this object.
ExcBadPrivateStore
will be thrown if this object does not have a private store.
Definition at line 190 of file AuxElement.cxx.
201 typeid(*
m_container) !=
typeid(AuxElementPrivateData))
◆ releasePrivateStoreForDtor()
void SG::AuxElement::releasePrivateStoreForDtor |
( |
| ) |
|
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 398 of file AuxElement.cxx.
400 #ifdef ATHCONTAINERS_R21_COMPAT
◆ setConstStore()
Synonym for setStore
with IConstAuxStore
.
- Parameters
-
◆ setEta()
void xAOD::jFexFwdElRoI_v1::setEta |
( |
float |
value | ) |
|
◆ setEtEM()
void xAOD::jFexFwdElRoI_v1::setEtEM |
( |
uint16_t |
value | ) |
|
◆ setEtEMiso()
void xAOD::jFexFwdElRoI_v1::setEtEMiso |
( |
uint16_t |
value | ) |
|
◆ setEtHad1()
void xAOD::jFexFwdElRoI_v1::setEtHad1 |
( |
uint16_t |
value | ) |
|
◆ setEtHad2()
void xAOD::jFexFwdElRoI_v1::setEtHad2 |
( |
uint16_t |
value | ) |
|
◆ setfpgaNumber()
void xAOD::jFexFwdElRoI_v1::setfpgaNumber |
( |
uint8_t |
fpgaNumber | ) |
|
◆ setGlobalEta()
void xAOD::jFexFwdElRoI_v1::setGlobalEta |
( |
int |
value | ) |
|
◆ setGlobalPhi()
void xAOD::jFexFwdElRoI_v1::setGlobalPhi |
( |
uint |
value | ) |
|
◆ setHadPrivateData()
void SG::IAuxElement::setHadPrivateData |
( |
| ) |
|
|
privateinherited |
Record that this element used to have private data.
◆ setHavePrivateData()
void SG::IAuxElement::setHavePrivateData |
( |
| ) |
|
|
privateinherited |
Record that this element currently has private data.
◆ setIndex()
Set the index/container for this element.
- Parameters
-
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.
◆ setIndexPrivate()
Set the index/container for this element.
- Parameters
-
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
This is called from setIndex
when we have a private store to deal with.
Definition at line 462 of file AuxElement.cxx.
464 #ifdef ATHCONTAINERS_R21_COMPAT
482 typeid(*
m_container) ==
typeid(AuxElementPrivateData))
500 "from a container.");
◆ setIsTOB()
void xAOD::jFexFwdElRoI_v1::setIsTOB |
( |
char |
value | ) |
|
Set the isTOB variable (TOB or xTOB)
◆ setjFexNumber()
void xAOD::jFexFwdElRoI_v1::setjFexNumber |
( |
uint8_t |
jFexNumber | ) |
|
◆ setNonConstStore()
Synonym for setStore
with IAuxStore
.
- Parameters
-
◆ setNoPrivateData()
void SG::IAuxElement::setNoPrivateData |
( |
| ) |
|
|
privateinherited |
Record that this element does not have private data.
◆ setPhi()
void xAOD::jFexFwdElRoI_v1::setPhi |
( |
float |
value | ) |
|
◆ setResolution()
void xAOD::jFexFwdElRoI_v1::setResolution |
( |
int |
value | ) |
|
◆ setStore() [1/3]
Set the store associated with this object.
- Parameters
-
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
- Parameters
-
store | Link to the new store. |
Definition at line 249 of file AuxElement.cxx.
◆ setStore() [2/3]
Set the store associated with this object.
- Parameters
-
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 221 of file AuxElement.cxx.
◆ setStore() [3/3]
Set the store associated with this object.
- Parameters
-
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 237 of file AuxElement.cxx.
◆ setStore1()
Set the store associated with this object.
- Parameters
-
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
- Parameters
-
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 418 of file AuxElement.cxx.
424 AuxElementStandaloneData*
data =
new AuxElementStandaloneData;
431 return static_cast<AuxElementStandaloneData*
> (
container());
434 throw ExcBadPrivateStore (
"Attempt to attach a standalone store to an "
435 "object in a container or with a private store.");
446 throw ExcBadPrivateStore (
"Attempt to remove a standalone store from an "
447 "object in a container or with a private store.");
◆ setTobEMf1()
void xAOD::jFexFwdElRoI_v1::setTobEMf1 |
( |
uint8_t |
value | ) |
|
◆ setTobEMf2()
void xAOD::jFexFwdElRoI_v1::setTobEMf2 |
( |
uint8_t |
value | ) |
|
◆ setTobEMIso()
void xAOD::jFexFwdElRoI_v1::setTobEMIso |
( |
uint8_t |
value | ) |
|
◆ setTobEt()
void xAOD::jFexFwdElRoI_v1::setTobEt |
( |
uint16_t |
value | ) |
|
◆ setTobLocalEta()
void xAOD::jFexFwdElRoI_v1::setTobLocalEta |
( |
uint8_t |
value | ) |
|
◆ setTobLocalPhi()
void xAOD::jFexFwdElRoI_v1::setTobLocalPhi |
( |
uint8_t |
value | ) |
|
◆ setTobSat()
void xAOD::jFexFwdElRoI_v1::setTobSat |
( |
uint8_t |
value | ) |
|
◆ setTobWord()
void xAOD::jFexFwdElRoI_v1::setTobWord |
( |
uint32_t |
tobWord | ) |
|
Set the "raw" words describing the object candidate, need 27/32 bits.
◆ tobEMf1()
uint8_t xAOD::jFexFwdElRoI_v1::tobEMf1 |
( |
| ) |
const |
◆ tobEMf2()
uint8_t xAOD::jFexFwdElRoI_v1::tobEMf2 |
( |
| ) |
const |
◆ tobEMIso()
uint8_t xAOD::jFexFwdElRoI_v1::tobEMIso |
( |
| ) |
const |
◆ tobEt()
uint16_t xAOD::jFexFwdElRoI_v1::tobEt |
( |
| ) |
const |
Decoded from Tob (for convenience)
◆ tobEtScale()
int xAOD::jFexFwdElRoI_v1::tobEtScale |
( |
| ) |
const |
◆ tobLocalEta()
uint8_t xAOD::jFexFwdElRoI_v1::tobLocalEta |
( |
| ) |
const |
◆ tobLocalPhi()
uint8_t xAOD::jFexFwdElRoI_v1::tobLocalPhi |
( |
| ) |
const |
◆ tobSat()
uint8_t xAOD::jFexFwdElRoI_v1::tobSat |
( |
| ) |
const |
◆ tobWord()
uint32_t xAOD::jFexFwdElRoI_v1::tobWord |
( |
| ) |
const |
The "raw" 32-bit word describing the object candidate, 27 bit-word used at hardware level.
◆ trackIndices()
bool SG::AuxElement::trackIndices |
( |
| ) |
const |
|
inherited |
Return true if index tracking is enabled for this object.
Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.
◆ unpackEMf1TOB()
unsigned int xAOD::jFexFwdElRoI_v1::unpackEMf1TOB |
( |
| ) |
const |
TOB EM fraction bits (decoded from TOB, stored for convenience)
Definition at line 125 of file jFexFwdElRoI_v1.cxx.
◆ unpackEMf2TOB()
unsigned int xAOD::jFexFwdElRoI_v1::unpackEMf2TOB |
( |
| ) |
const |
◆ unpackEMIsoTOB()
unsigned int xAOD::jFexFwdElRoI_v1::unpackEMIsoTOB |
( |
| ) |
const |
TOB Isolation bits (decoded from TOB, stored for convenience)
Definition at line 120 of file jFexFwdElRoI_v1.cxx.
◆ unpackEtaIndex()
unsigned int xAOD::jFexFwdElRoI_v1::unpackEtaIndex |
( |
| ) |
const |
◆ unpackEtTOB()
unsigned int xAOD::jFexFwdElRoI_v1::unpackEtTOB |
( |
| ) |
const |
TOB ET (decoded from TOB, stored for convenience)
Raw data words.
Used to differencite TOBs from xTOBs, once they are implemented for jFEX Only calculable externally Extracted from data words, stored for convenience global coordinates, stored for furture use but not sent to L1Topo
Setting the jFEX ET resolution
Additional variabes from xTob (not available yet) Methods- to decode data from the TOB/RoI and return to the user
Definition at line 115 of file jFexFwdElRoI_v1.cxx.
◆ unpackPhiIndex()
unsigned int xAOD::jFexFwdElRoI_v1::unpackPhiIndex |
( |
| ) |
const |
◆ unpackSaturationIndex()
unsigned int xAOD::jFexFwdElRoI_v1::unpackSaturationIndex |
( |
| ) |
const |
◆ usingPrivateStore()
bool SG::AuxElement::usingPrivateStore |
( |
| ) |
const |
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 260 of file AuxElement.cxx.
263 typeid(*m_container) ==
typeid(AuxElementPrivateData);
◆ usingStandaloneStore()
bool SG::AuxElement::usingStandaloneStore |
( |
| ) |
const |
|
inherited |
Test to see if this object is currently using a standalone store.
Test to see if this object is currently using a private store.
Definition at line 270 of file AuxElement.cxx.
273 typeid(*m_container) ==
typeid(AuxElementStandaloneData);
◆ m_container
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 324 of file AuxElement.h.
◆ m_index
size_t SG::IAuxElement::m_index |
|
privateinherited |
The index of this element within its container.
Should be 0 if this object is not within a container.
Definition at line 128 of file IAuxElement.h.
◆ m_privateStoreState
◆ s_emf1Bit
const int xAOD::jFexFwdElRoI_v1::s_emf1Bit = 23 |
|
staticprivate |
◆ s_emf1Mask
const int xAOD::jFexFwdElRoI_v1::s_emf1Mask = 0x3 |
|
staticprivate |
◆ s_emf2Bit
const int xAOD::jFexFwdElRoI_v1::s_emf2Bit = 25 |
|
staticprivate |
◆ s_emf2Mask
const int xAOD::jFexFwdElRoI_v1::s_emf2Mask = 0x3 |
|
staticprivate |
◆ s_etaBit
const int xAOD::jFexFwdElRoI_v1::s_etaBit = 5 |
|
staticprivate |
◆ s_etaMask
const int xAOD::jFexFwdElRoI_v1::s_etaMask = 0x1f |
|
staticprivate |
◆ s_etBit
const int xAOD::jFexFwdElRoI_v1::s_etBit = 10 |
|
staticprivate |
◆ s_etMask
const int xAOD::jFexFwdElRoI_v1::s_etMask = 0x7ff |
|
staticprivate |
◆ s_FCAL_EtaPosition
const std::vector< int > xAOD::jFexFwdElRoI_v1::s_FCAL_EtaPosition = {32,34,35,37,38,40,41,43,44,46,47,49} |
|
staticprivate |
◆ s_FWD_EtaPosition
const std::vector< int > xAOD::jFexFwdElRoI_v1::s_FWD_EtaPosition |
|
staticprivate |
◆ s_isoBit
const int xAOD::jFexFwdElRoI_v1::s_isoBit = 21 |
|
staticprivate |
◆ s_isoMask
const int xAOD::jFexFwdElRoI_v1::s_isoMask = 0x3 |
|
staticprivate |
◆ s_phiBit
const int xAOD::jFexFwdElRoI_v1::s_phiBit = 1 |
|
staticprivate |
◆ s_phiMask
const int xAOD::jFexFwdElRoI_v1::s_phiMask = 0xf |
|
staticprivate |
◆ s_resBit
const int xAOD::jFexFwdElRoI_v1::s_resBit = 27 |
|
staticprivate |
◆ s_resMask
const int xAOD::jFexFwdElRoI_v1::s_resMask = 0x1f |
|
staticprivate |
◆ s_satBit
const int xAOD::jFexFwdElRoI_v1::s_satBit = 0 |
|
staticprivate |
◆ s_satMask
const int xAOD::jFexFwdElRoI_v1::s_satMask = 0x1 |
|
staticprivate |
◆ supportsThinning
constexpr bool SG::AuxElement::supportsThinning = true |
|
staticconstexprinherited |
Mark that this type supports thinning operations.
See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.
Definition at line 920 of file AuxElement.h.
The documentation for this class was generated from the following files:
unsigned int unpackEtaIndex() const
Eta coordinates.
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
unsigned int unpackEMf2TOB() const
char data[hepevt_bytes_allocation_ATLAS]
void setjFexNumber(uint8_t jFexNumber)
void setGlobalPhi(uint value)
uint8_t tobLocalEta() const
static AuxTypeRegistry & instance()
Return the singleton registry instance.
unsigned int unpackEMf1TOB() const
TOB EM fraction bits (decoded from TOB, stored for convenience)
const SG::auxid_set_t & getWritableAuxIDs() const
Return a set of identifiers for writable data items in this store.
Base class for elements of a container that can have aux data.
void copyAux(const ConstAuxElement &other)
Copy aux data from another object.
uint getGlobalPhi() const
void setEtEMiso(uint16_t value)
const SG::AuxVectorData * m_container
The container of which this object is an element.
float round(const float toRound, const unsigned int decimals)
int getGlobalEta() const
could add iso, emf1 and emf2 calculated from EtEMiso, EtEM, ETHad1 and EtHad2
uint8_t jFexNumber() const
Additional info (initialization)
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
int globalEta() const
Calculated from Tob.
static const int s_etaMask
static const int s_phiMask
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
uint8_t tobLocalPhi() const
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
static const std::vector< int > s_FWD_EtaPosition
void setEtHad1(uint16_t value)
Exception — Non-const operation performed on const aux data.
void setNoPrivateData()
Record that this element does not have private data.
static const int s_satBit
double resolution[nGasTypes][nParametersResolution]
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
Handle mappings between names and auxid_t.
unsigned int unpackSaturationIndex() const
static const int s_satMask
size_t index() const
Return the index of this element within its container.
void setHadPrivateData()
Record that this element used to have private data.
size_t auxid_t
Identifier for a particular aux data item.
void setTobEMf1(uint8_t value)
static const std::vector< int > s_FCAL_EtaPosition
static const int s_isoMask
void setTobWord(uint32_t tobWord)
Set the "raw" words describing the object candidate, need 27/32 bits.
unsigned int unpackEtTOB() const
TOB ET (decoded from TOB, stored for convenience)
void clearAux()
Clear all aux data associated with this element.
AuxElement()
Default constructor.
void setTobSat(uint8_t value)
bool havePrivateData() const
True if this element currently has private data.
void setIsTOB(char value)
Set the isTOB variable (TOB or xTOB)
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
unsigned int getEtHad1() const
void setTobEMIso(uint8_t value)
unsigned int getEtHad2() const
Internal data container for private store.
static const int s_emf2Mask
bool hasStore() const
Return true if this object has an associated store.
void setResolution(int value)
void setGlobalEta(int value)
static const int s_emf1Bit
void setfpgaNumber(uint8_t fpgaNumber)
static const int s_etaBit
void setTobLocalEta(uint8_t value)
unsigned int getEtEM() const
uint16_t tobEt() const
Decoded from Tob (for convenience)
static const int s_emf2Bit
void setHavePrivateData()
Record that this element currently has private data.
void clearCache()
Clear the cached aux data pointers.
unsigned int unpackPhiIndex() const
Phi coordinates.
void makePrivateStore()
Create a new (empty) private store for this object.
static const int s_isoBit
void setEtHad2(uint16_t value)
static const int s_phiBit
void setIndex(size_t index)
Set the index of this element within its container.
void setTobEt(uint16_t value)
bool clearDecorations() const
Clear all decorations.
static const int s_etMask
Exception — Bad use of private store.
unsigned int getEtEMiso() const
void setTobLocalPhi(uint8_t value)
static const int s_emf1Mask
unsigned int unpackEMIsoTOB() const
TOB Isolation bits (decoded from TOB, stored for convenience)
A set of aux data identifiers.
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate, 27 bit-word used at hardware level.
Manage lookup of vectors of auxiliary data.
#define ATLAS_THREAD_SAFE
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.
const SG::AuxVectorData * container() const
Return the container holding this element.
void setTobEMf2(uint8_t value)
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
void setEtEM(uint16_t value)
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
uint8_t fpgaNumber() const