|
ATLAS Offline Software
|
Description of JGTower_v1.
More...
#include <JGTower_v1.h>
|
| JGTower_v1 () |
| Default constructor. More...
|
|
| JGTower_v1 (const JGTower_v1 &other) |
| Copy constructor. More...
|
|
JGTower_v1 & | operator= (const JGTower_v1 &other) |
| Assignment operator. More...
|
|
virtual | ~JGTower_v1 () |
| Default desturctor. 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 >::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 bool | isAvailableWritable (const std::string &name, const std::string &clsname="") |
| Check if an aux variable is available for writing. More...
|
|
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 >::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 | 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...
|
|
Description of JGTower_v1.
- Author
- John Morris john..nosp@m.morr.nosp@m.is@ce.nosp@m.rn.c.nosp@m.h
- Revision
- 652807
- Date
- 2015-03-09 22:52:07 +0100 (Mon, 09 Mar 2015)
Trigger towers are the inputs to all other parts of the calorimeter trigger. They are formed by analogue summation of cells (represented in simulation by LArTTL1 and TileTTL1 objects). The L1Calo PreProcessor digitizes these, performs Bunch-Crossing IDentification, final calibration and reduction to 8 bit words.
The TriggerTower class represents the output of the PreProcessor.
For each tower, the TriggerTower contains the final ET (LUT output) as well as a vector of ADC data (at 25ns intervals) from which it was formed, plus error flags and raw BCID output. As the PreProcessor readout can read variable numbers of slices of all of these data, the internal storage is in std::vectors, and methods exist to return all slices as well as just the data corresponding to the triggered crossing.
The JGTower_v1 class inherits from IParticle in order to assist The Level 1.5 jet HLT algorithm
Definition at line 45 of file JGTower_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>>
◆ FourMom_t
Definition of the 4-momentum type.
Definition at line 109 of file JGTower_v1.h.
◆ TypelessConstAccessor
◆ PrivateStoreState
The current private data state.
Enumerator |
---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE | |
Definition at line 131 of file IAuxElement.h.
◆ JGTower_v1() [1/2]
xAOD::JGTower_v1::JGTower_v1 |
( |
| ) |
|
◆ JGTower_v1() [2/2]
◆ ~JGTower_v1()
virtual xAOD::JGTower_v1::~JGTower_v1 |
( |
| ) |
|
|
inlinevirtual |
◆ 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]
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
- Parameters
-
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
- Returns
- A modifiable reference to the decoration
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ auxdata() [4/4]
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
- Parameters
-
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
- Returns
- A constant reference to the decoration
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ 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);
◆ deta()
double xAOD::JGTower_v1::deta |
( |
| ) |
const |
|
finalvirtual |
The pseudorapidity ( \(\eta\)) of the particle.
Definition at line 85 of file JGTower_v1.cxx.
◆ dphi()
double xAOD::JGTower_v1::dphi |
( |
| ) |
const |
|
finalvirtual |
The azimuthal angle ( \(\phi\)) of the particle.
Definition at line 97 of file JGTower_v1.cxx.
◆ e()
double xAOD::JGTower_v1::e |
( |
| ) |
const |
|
finalvirtual |
◆ et()
double xAOD::JGTower_v1::et |
( |
| ) |
const |
|
finalvirtual |
◆ eta()
double xAOD::JGTower_v1::eta |
( |
| ) |
const |
|
finalvirtual |
◆ 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.
◆ 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
◆ 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.
◆ Id()
int xAOD::JGTower_v1::Id |
( |
| ) |
const |
|
finalvirtual |
◆ 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() [1/2]
◆ initialize() [2/2]
◆ isAvailable()
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
- Parameters
-
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
- Returns
- Whether the decoration exists or not
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ isAvailableWritable() [1/2]
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.
◆ isAvailableWritable() [2/2]
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
- Parameters
-
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
- Returns
- Whether the decoration is possible to set
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ 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.
◆ m()
double xAOD::JGTower_v1::m |
( |
| ) |
const |
|
finalvirtual |
◆ 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.
◆ noPrivateData()
bool SG::IAuxElement::noPrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element has no private data.
◆ operator=()
◆ p4()
The full 4-momentum of the particle as a TLoretzVector.
Implements xAOD::IParticle.
Definition at line 166 of file JGTower_v1.cxx.
169 double PT = (
pt() > 0) ? 1000. *
static_cast< double >(
pt() ) : 0.01;
170 p4.SetPtEtaPhiM(
PT ,
eta() ,
phi() ,
m() );
◆ phi()
double xAOD::JGTower_v1::phi |
( |
| ) |
const |
|
finalvirtual |
◆ pt()
double xAOD::JGTower_v1::pt |
( |
| ) |
const |
|
finalvirtual |
◆ rapidity()
double xAOD::JGTower_v1::rapidity |
( |
| ) |
const |
|
finalvirtual |
◆ 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
◆ sampling()
int xAOD::JGTower_v1::sampling |
( |
| ) |
const |
|
finalvirtual |
◆ SCIndex()
const std::vector<int>& xAOD::JGTower_v1::SCIndex |
( |
| ) |
const |
◆ setConstStore()
Synonym for setStore
with IConstAuxStore
.
- Parameters
-
◆ setdEta()
void xAOD::JGTower_v1::setdEta |
( |
float |
deta | ) |
|
◆ setdPhi()
void xAOD::JGTower_v1::setdPhi |
( |
float |
dphi | ) |
|
◆ setEt()
void xAOD::JGTower_v1::setEt |
( |
float |
et | ) |
|
◆ setEta()
void xAOD::JGTower_v1::setEta |
( |
float |
eta | ) |
|
◆ 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.
◆ setId()
void xAOD::JGTower_v1::setId |
( |
int |
Id | ) |
|
◆ 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.");
◆ 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::JGTower_v1::setPhi |
( |
float |
phi | ) |
|
◆ setSampling()
void xAOD::JGTower_v1::setSampling |
( |
int |
sampling | ) |
|
◆ setSCIndex()
void xAOD::JGTower_v1::setSCIndex |
( |
const std::vector< int > & |
| ) |
|
◆ 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.");
◆ setTileIndex()
void xAOD::JGTower_v1::setTileIndex |
( |
const std::vector< int > & |
| ) |
|
◆ TileIndex()
const std::vector<int>& xAOD::JGTower_v1::TileIndex |
( |
| ) |
const |
◆ 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.
◆ type()
◆ 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
◆ 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:
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.
char data[hepevt_bytes_allocation_ATLAS]
static AuxTypeRegistry & instance()
Return the singleton registry instance.
virtual int Id() const final
get coolId
const SG::auxid_set_t & getWritableAuxIDs() const
Return a set of identifiers for writable data items in this store.
void copyAux(const ConstAuxElement &other)
Copy aux data from another object.
const SG::AuxVectorData * m_container
The container of which this object is an element.
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
virtual double eta() const final
The pseudorapidity ( ) of the particle.
Exception — Non-const operation performed on const aux data.
void setNoPrivateData()
Record that this element does not have private data.
virtual double et() const final
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
virtual double phi() const final
The azimuthal angle ( ) of the particle.
Handle mappings between names and auxid_t.
virtual FourMom_t p4() const final
The full 4-momentum of the particle as a TLoretzVector.
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 clearAux()
Clear all aux data associated with this element.
AuxElement()
Default constructor.
virtual double dphi() const final
The azimuthal angle ( ) of the particle.
bool havePrivateData() const
True if this element currently has private data.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
virtual double deta() const final
The pseudorapidity ( ) of the particle.
Internal data container for private store.
bool hasStore() const
Return true if this object has an associated store.
void setHavePrivateData()
Record that this element currently has private data.
void clearCache()
Clear the cached aux data pointers.
virtual double m() const final
The invariant mass of the particle.
void makePrivateStore()
Create a new (empty) private store for this object.
bool hasStore() const
Return true if this object has an associated store.
void setIndex(size_t index)
Set the index of this element within its container.
bool clearDecorations() const
Clear all decorations.
Exception — Bad use of private store.
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
virtual double pt() const final
The transverse momentum ( ) of the particle.
A set of aux data identifiers.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
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.
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
IParticle & operator=(const IParticle &)=default
Jet_v1 Jet
Definition of the current "jet version".
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
virtual int sampling() const final
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.