ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimHit Class Reference

#include <FPGATrackSimHit.h>

Inheritance diagram for FPGATrackSimHit:
Collaboration diagram for FPGATrackSimHit:

Public Types

using TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor
template<class T, class ALLOC = AuxAllocator_t<T>>
using ConstAccessor = SG::ConstAccessor<T, ALLOC>
template<class T, class ALLOC = AuxAllocator_t<T>>
using Accessor = SG::Accessor<T, ALLOC>
template<class T, class ALLOC = AuxAllocator_t<T>>
using Decorator = SG::Decorator<T, ALLOC>

Public Member Functions

 FPGATrackSimHit ()=default
virtual ~FPGATrackSimHit ()=default
void setHitType (HitType type)
void setDetType (SiliconTech detType)
void setDetectorZone (DetectorZone detZone)
HitType getHitType () const
SiliconTech getDetType () const
DetectorZone getDetectorZone () const
bool isMapped () const
bool isClustered () const
bool isReal () const
bool isPixel () const
bool isStrip () const
bool isBarrel () const
unsigned getDim () const
int getRoadID () const
void setIdentifier (unsigned int v)
void setIdentifierHash (unsigned v)
void setRdoIdentifier (Identifier::value_type v)
void setLayerDisk (unsigned v)
void setSide (unsigned v)
void setPhysLayer (unsigned v)
void setEtaModule (int v)
void setPhiModule (unsigned v)
void setEtaWidth (unsigned v)
void setPhiWidth (unsigned v)
unsigned int getIdentifier () const
unsigned getIdentifierHash () const
Identifier::value_type getRdoIdentifier () const
unsigned getLayerDisk (bool old=false) const
unsigned getSide () const
unsigned getPhysLayer (bool old=false) const
unsigned getEtaWidth () const
unsigned getPhiWidth () const
int getEtaModule (bool old=false) const
unsigned getPhiModule () const
void setLayer (unsigned v)
void setSection (unsigned v)
int getLayer () const
unsigned getSection () const
void setRoadID (int roadID)
void setPhiIndex (unsigned v)
void setEtaIndex (unsigned v)
void setCentroidPhiIndex (float v)
void setCentroidEtaIndex (float v)
void setPhiCoord (float v)
void setEtaCoord (float v)
unsigned getPhiIndex () const
unsigned getEtaIndex () const
float getCentroidPhiIndex () const
float getCentroidEtaIndex () const
float getPhiCoord () const
float getEtaCoord () const
void setMaxPhiIndex (int v)
void setMinPhiIndex (int v)
void setMaxEtaIndex (int v)
void setMinEtaIndex (int v)
int getMaxPhiIndex () const
int getMinPhiIndex () const
int getMaxEtaIndex () const
int getMinEtaIndex () const
float getPhiWindow () const
void makeSpacepoint (float x, float y, float z, float window, FPGATrackSimHit &other, FPGATrackSimMultiTruth &new_truth)
const FPGATrackSimHit getOriginalHit () const
int getPairedEtaModule () const
unsigned getPairedPhiModule () const
unsigned getPairedSection () const
unsigned getPairedLayer () const
unsigned getPairedPhysLayer () const
DetectorZone getPairedDetZone () const
SiliconTech getPairedDetType () const
void setPairedLayer (unsigned v)
void setPairedSection (unsigned v)
void setX (float v)
void setY (float v)
void setZ (float v)
float getX () const
float getY () const
float getZ () const
float getR () const
float getGPhi () const
float getGCotTheta () const
void setToT (unsigned v)
void setBarcode (const HepMcParticleLink::barcode_type &v)
void setUniqueID (const HepMcParticleLink::barcode_type &v)
void setBarcodePt (float v)
void setEventIndex (long v)
void setParentageMask (unsigned long v)
void setTruth (const FPGATrackSimMultiTruth &v)
unsigned getToT () const
HepMcParticleLink::barcode_type getBarcode () const
HepMcParticleLink::barcode_type getUniqueID () const
long getEventIndex () const
float getBarcodePt () const
unsigned long getParentageMask () const
const FPGATrackSimMultiTruthgetTruth () const
bool isValidForITkHit () const
int getStripRowIDForITk () const
int getStripChipIDForITk () const
int getStripHitMapForITk () const
void setisValidForITkHit (bool v)
void setStripRowIDForITk (int v)
void setStripChipIDForITk (int v)
void setStripHitMapForITk (int v)
int getCluster1ID () const
void setCluster1ID (int v)
int getCluster2ID () const
void setCluster2ID (int v)
const std::vector< int > & getPhiIndexVec () const
const std::vector< int > & getEtaIndexVec () const
const std::vector< unsigned > & getIDHashVec () const
void addPhiIndexToVec (int phi)
void addEtaIndexToVec (int eta)
void addIDHashToVec (unsigned id)
bool isRemapped () const
void setRemap ()
void assign (const AuxElement &other, bool warnUnlocked=false)
 Assignment.
const SG::AuxVectorDatacontainer () const
 Return the container holding this element.
SG::AuxVectorDatacontainer ()
 Return the container holding this element.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
void makePrivateStore ()
 Create a new (empty) private store for this object.
template<class U1>
void makePrivateStore (const U1 &other, bool warnUnlocked=false)
 Create a new private store for this object and copy aux data.
template<class U1>
void makePrivateStore (const U1 *other, bool warnUnlocked=false)
 Create a new private store for this object and copy aux data.
void releasePrivateStore ()
 Release and free any private store associated with this object.
void setStore (const SG::IConstAuxStore *store)
 Set the store associated with this object.
void setStore (SG::IAuxStore *store)
 Set the store associated with this object.
void setStore (const DataLink< SG::IConstAuxStore > &store)
 Set the store associated with this object.
void setConstStore (const SG::IConstAuxStore *store)
 Synonym for setStore with IConstAuxStore.
void setNonConstStore (SG::IAuxStore *store)
 Synonym for setStore with IAuxStore.
bool usingPrivateStore () const
 Test to see if this object is currently using a private store.
bool usingStandaloneStore () const
 Test to see if this object is currently using a standalone store.
const SG::IConstAuxStoregetConstStore () const
 Return the current store, as a const interface.
SG::IAuxStoregetStore () const
 Return the current store, as a non-const interface.
void clearCache ()
 Clear the cached aux data pointers.
const SG::auxid_set_tgetAuxIDs () const
 Return a set of identifiers for existing data items for this object.
const SG::auxid_set_tgetDecorIDs () const
 Return a set of identifiers for decorations for this object.
bool hasStore () const
 Return true if this object has an associated store.
bool hasNonConstStore () const
 Return true if this object has an associated non-const store.
bool clearDecorations () const
 Clear all decorations.
bool trackIndices () const
 Return true if index tracking is enabled for this object.
size_t index () const
 Return the index of this element within its container.

Static Public Attributes

static constexpr bool supportsThinning = true
 Mark that this type supports thinning operations.

Protected Member Functions

 ClassDefNV (FPGATrackSimHit, 15)
bool noPrivateData () const
 True if this element has no private data.
bool havePrivateData () const
 True if this element currently has private data.
bool hadPrivateData () const
 True if this element had private data before it was added to its current container.

Protected Attributes

HitType m_hitType = HitType::undefined
DetectorZone m_detectorZone = DetectorZone::undefined
SiliconTech m_detType = SiliconTech::undefined
unsigned int m_identifier = 0
unsigned m_identifierHash = 0
Identifier::value_type m_rdoIdentifier = 0
unsigned m_layer_disk = 0
unsigned m_layer_disk_old = 0
unsigned m_side = 0
unsigned m_side_old = 0
int m_etaModule = 0
int m_etaModule_old = 0
unsigned m_phiModule = 0
unsigned m_etaWidth = 0
unsigned m_phiWidth = 0
int m_layer = -1
int m_section = -1
bool m_isRemapped = false
int m_phiIndex = -1
int m_etaIndex = -1
float m_centroidPhiIndex = -1
float m_centroidEtaIndex = -1
float m_phiCoord = -999
float m_etaCoord = -999
int m_maxPhiIndex = std::numeric_limits<int>::min()
int m_minPhiIndex = std::numeric_limits<int>::max()
int m_maxEtaIndex = std::numeric_limits<int>::min()
int m_minEtaIndex = std::numeric_limits<int>::max()
float m_x = 0
float m_y = 0
float m_z = 0
float m_originalX = 0
float m_originalY = 0
float m_originalZ = 0
float m_phiWindow = 0
unsigned m_pairedPhiModule = -1
int m_pairedEtaModule = -1
DetectorZone m_pairedDetZone = DetectorZone::undefined
SiliconTech m_pairedDetType = SiliconTech::undefined
unsigned m_pairedPhysLayer = 0
unsigned m_pairedSection = 0
unsigned m_pairedLayer = 0
unsigned m_hw_word = 0
unsigned m_ToT = 0
long m_eventindex = 0
HepMcParticleLink::barcode_type m_barcode = 0
HepMcParticleLink::barcode_type m_uniqueID = 0
float m_barcode_pt = 0
unsigned long m_parentage_mask = 0
FPGATrackSimMultiTruth m_truth
int m_clusterIndex1ForFPGA = -1
int m_clusterIndex2ForFPGA = -1
bool m_isValidForITK = false
int m_stripRowinITKEDM = -1
int m_stripChipinITKEDM = -1
int m_stripHitMapinITKEDM = -1
int m_roadID = 0
std::vector< unsigned > m_IDhashVec
std::vector< int > m_PhiIndexVec
std::vector< int > m_EtaIndexVec

Private Types

enum class  PrivateStoreState : uint8_t { NO_PRIVATE = 0 , HAVE_PRIVATE = 1 , HAD_PRIVATE = 2 }
 The current private data state. More...

Private Member Functions

void releasePrivateStoreForDtor ()
 Out-of-line portion of destructor.
void setIndex (size_t index, SG::AuxVectorData *container)
 Set the index/container for this element.
bool setIndexPrivate (size_t index, SG::AuxVectorData *container)
 Set the index/container for this element.
void makePrivateStore1 (const void *other, bool warnUnlocked)
 Create a new private store for this object and copy aux data.
void makePrivateStore1 (const AuxElement *other, bool warnUnlocked)
 Create a new private store for this object and copy aux data.
AuxElementStandaloneData * setStore1 (const SG::IConstAuxStore *store)
 Set the store associated with this object.
void clearAux ()
 Clear all aux data associated with this element.
void copyAux (const ConstAuxElement &other, bool warnUnlocked=false)
 Copy aux data from another object.
void setNoPrivateData ()
 Record that this element does not have private data.
void setHavePrivateData ()
 Record that this element currently has private data.
void setHadPrivateData ()
 Record that this element used to have private data.

Static Private Member Functions

static void clearAuxHelper (AuxVectorData &container, size_t index)
 Clear all aux data associated with an element.
static void copyAuxHelper (AuxVectorData &container, size_t index, const ConstAuxElement &other, bool warnUnlocked)
 Copy aux data from another object.

Private Attributes

const SG::AuxVectorDatam_container
 The container of which this object is an element.
size_t m_index
 The index of this element within its container.
PrivateStoreState m_privateStoreState

Friends

std::ostream & operator<< (std::ostream &out, const FPGATrackSimHit &hit)

Detailed Description

Definition at line 41 of file FPGATrackSimHit.h.

Member Typedef Documentation

◆ Accessor

template<class T, class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Accessor = SG::Accessor<T, ALLOC>
inherited

Definition at line 573 of file AuxElement.h.

◆ ConstAccessor

template<class T, class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::ConstAccessor = SG::ConstAccessor<T, ALLOC>
inherited

Definition at line 570 of file AuxElement.h.

◆ Decorator

template<class T, class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Decorator = SG::Decorator<T, ALLOC>
inherited

Definition at line 576 of file AuxElement.h.

◆ TypelessConstAccessor

using SG::AuxElement::TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor
inherited

Definition at line 567 of file AuxElement.h.

Member Enumeration Documentation

◆ PrivateStoreState

enum class SG::IAuxElement::PrivateStoreState : uint8_t
strongprivateinherited

The current private data state.

Enumerator
NO_PRIVATE 
HAVE_PRIVATE 
HAD_PRIVATE 

Definition at line 131 of file IAuxElement.h.

132 {
133 NO_PRIVATE = 0,
134 HAVE_PRIVATE = 1,
135 HAD_PRIVATE = 2,
136 };

Constructor & Destructor Documentation

◆ FPGATrackSimHit()

FPGATrackSimHit::FPGATrackSimHit ( )
default

◆ ~FPGATrackSimHit()

virtual FPGATrackSimHit::~FPGATrackSimHit ( )
virtualdefault

Member Function Documentation

◆ addEtaIndexToVec()

void FPGATrackSimHit::addEtaIndexToVec ( int eta)
inline

Definition at line 205 of file FPGATrackSimHit.h.

205{m_EtaIndexVec.push_back(eta);}
Scalar eta() const
pseudorapidity method
std::vector< int > m_EtaIndexVec

◆ addIDHashToVec()

void FPGATrackSimHit::addIDHashToVec ( unsigned id)
inline

Definition at line 206 of file FPGATrackSimHit.h.

206{m_IDhashVec.push_back(id);}
std::vector< unsigned > m_IDhashVec

◆ addPhiIndexToVec()

void FPGATrackSimHit::addPhiIndexToVec ( int phi)
inline

Definition at line 204 of file FPGATrackSimHit.h.

204{m_PhiIndexVec.push_back(phi);}
Scalar phi() const
phi method
std::vector< int > m_PhiIndexVec

◆ assign()

void SG::AuxElement::assign ( const AuxElement & other,
bool warnUnlocked = false )
inherited

Assignment.

Parameters
otherThe object from which we're assigning.
warnUnlockedIf true, then warn when we skip unlocked decorations.

We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.

◆ auxdata() [1/4]

template<class T, class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type SG::AuxElement::auxdata ( const std::string & name)
inherited

Fetch an aux data variable, as a non-const reference.

Parameters
nameName 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>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type SG::AuxElement::auxdata ( const std::string & name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName 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>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type SG::AuxElement::auxdata ( const std::string & name,
const std::string & clsname )
inherited

Fetch an aux data variable, as a non-const reference.

Parameters
nameName of the aux variable.
clsnameThe 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>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type SG::AuxElement::auxdata ( const std::string & name,
const std::string & clsname ) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe 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>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type SG::AuxElement::auxdataConst ( const std::string & name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName 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>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type SG::AuxElement::auxdataConst ( const std::string & name,
const std::string & clsname ) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe 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>>
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type SG::AuxElement::auxdecor ( const std::string & name) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName 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>>
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type SG::AuxElement::auxdecor ( const std::string & name,
const std::string & clsname ) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ ClassDefNV()

FPGATrackSimHit::ClassDefNV ( FPGATrackSimHit ,
15  )
protected

◆ 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 580 of file AuxElement.cxx.

581{
582 if (!m_container) return;
584}
static void clearAuxHelper(AuxVectorData &container, size_t index)
Clear all aux data associated with an element.
const SG::AuxVectorData * container() const
Return the container holding this element.
size_t index() const
Return the index of this element within its container.
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition AuxElement.h:335

◆ clearAuxHelper()

void SG::AuxElement::clearAuxHelper ( AuxVectorData & container,
size_t index )
staticprivateinherited

Clear all aux data associated with an element.

Parameters
containerContainer of the element.
indexIndex of this element within the container.

If the associated aux data is const, this throws ExcConstAuxData.

Definition at line 639 of file AuxElement.cxx.

640{
641 if (!container.hasStore()) return;
642 if (!container.hasNonConstStore()) {
643 throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
644 }
645
646 SG::AuxTypeRegistry& r = SG::AuxTypeRegistry::instance();
647 for (SG::auxid_t auxid : container.getWritableAuxIDs()) {
648 r.clear (auxid, container, index, 1);
649 }
650}
static AuxTypeRegistry & instance()
Return the singleton registry instance.
int r
Definition globals.cxx:22
static const auxid_t null_auxid
To signal no aux data item.
Definition AuxTypes.h:30
size_t auxid_t
Identifier for a particular aux data item.
Definition AuxTypes.h:27

◆ 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 339 of file AuxElement.cxx.

340{
341 if (container())
343}
void clearCache()
Clear the cached aux data pointers.

◆ 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 428 of file AuxElement.cxx.

429{
430 if (havePrivateData())
431 return m_container->clearDecorations();
432 return false;
433}
bool havePrivateData() const
True if this element currently has private data.

◆ container() [1/2]

SG::AuxVectorData * SG::AuxElement::container ( )
inherited

Return the container holding this element.

◆ container() [2/2]

const SG::AuxVectorData * SG::AuxElement::container ( ) const
inherited

Return the container holding this element.

◆ copyAux()

void SG::AuxElement::copyAux ( const ConstAuxElement & other,
bool warnUnlocked = false )
privateinherited

Copy aux data from another object.

Parameters
otherThe object from which to copy.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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 600 of file AuxElement.cxx.

602{
603 if (!m_container) return;
604 copyAuxHelper (*container(), index(), other, warnUnlocked);
605}
static void copyAuxHelper(AuxVectorData &container, size_t index, const ConstAuxElement &other, bool warnUnlocked)
Copy aux data from another object.

◆ copyAuxHelper()

void SG::AuxElement::copyAuxHelper ( AuxVectorData & container,
size_t index,
const ConstAuxElement & other,
bool warnUnlocked )
staticprivateinherited

Copy aux data from another object.

Parameters
containerContainer of the element.
indexIndex of this element within the container.
otherThe object from which to copy.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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 667 of file AuxElement.cxx.

671{
672 if (!container.hasStore()) return;
673 if (!container.hasNonConstStore())
674 throw SG::ExcConstAuxData ("copyAux");
675
676 const SG::AuxVectorData* ocont = other.container();
677
678 if (!ocont || !ocont->hasStore()) {
680 return;
681 }
682
683#ifndef XAOD_STANDALONE
684 const SG::auxid_set_t& other_decors = ocont->getDecorIDs();
685#endif
686 SG::auxid_set_t other_ids = ocont->getAuxIDs();
687
688 size_t oindex = other.index();
689 SG::AuxTypeRegistry& r = SG::AuxTypeRegistry::instance();
690
691 for (SG::auxid_t auxid : other_ids) {
692#ifndef XAOD_STANDALONE
693 if (other_decors.test (auxid)) {
694 // Don't copy decorations --- another thread may be modifying them.
695 other_ids.reset (auxid);
696 // Warn if we skip a decoration (except for mcEventWeights,
697 // for which this is expected).
698 if (warnUnlocked && r.getName(auxid) != "mcEventWeights") {
699 std::ostringstream ss;
700 ss << "skipped unlocked decoration " << r.getName(auxid)
701 << " (" << auxid << ")";
702 ATHCONTAINERS_WARNING("copyAux", ss.str());
703 }
704 }
705 else
706#endif
707 if (!r.isLinked (auxid)) {
708 r.copy (auxid, container, index, *ocont, oindex, 1);
709 }
710 }
711
712 for (SG::auxid_t auxid : container.getWritableAuxIDs()) {
713 if (!other_ids.test (auxid)) {
714 r.clear (auxid, container, index, 1);
715 }
716 }
717}
static Double_t ss
bool test(bit_t bit) const
Test to see if a bit is set.
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
bool hasStore() const
Return true if this object has an associated store.
#define ATHCONTAINERS_WARNING(ctx, msg)
Definition error.h:57

◆ getAuxIDs()

const SG::auxid_set_t & SG::AuxElement::getAuxIDs ( ) const
inherited

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 355 of file AuxElement.cxx.

356{
357#ifdef ATHCONTAINERS_R21_COMPAT
358 if (havePrivateData())
359 return m_container->getConstStore()->getAuxIDs();
360 if (container())
361 return container()->getAuxIDs();
362 static const SG::auxid_set_t null_set;
363 return null_set;
364#else
366#endif
367}
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.

◆ getBarcode()

HepMcParticleLink::barcode_type FPGATrackSimHit::getBarcode ( ) const
inline

Definition at line 168 of file FPGATrackSimHit.h.

168{ return m_barcode; }
HepMcParticleLink::barcode_type m_barcode

◆ getBarcodePt()

float FPGATrackSimHit::getBarcodePt ( ) const
inline

Definition at line 171 of file FPGATrackSimHit.h.

171{ return m_barcode_pt; }

◆ getCentroidEtaIndex()

float FPGATrackSimHit::getCentroidEtaIndex ( ) const
inline

Definition at line 113 of file FPGATrackSimHit.h.

113{ return m_centroidEtaIndex; }

◆ getCentroidPhiIndex()

float FPGATrackSimHit::getCentroidPhiIndex ( ) const
inline

Definition at line 112 of file FPGATrackSimHit.h.

112{ return m_centroidPhiIndex; }

◆ getCluster1ID()

int FPGATrackSimHit::getCluster1ID ( ) const
inline

Definition at line 193 of file FPGATrackSimHit.h.

◆ getCluster2ID()

int FPGATrackSimHit::getCluster2ID ( ) const
inline

Definition at line 196 of file FPGATrackSimHit.h.

◆ getConstStore()

const SG::IConstAuxStore * SG::AuxElement::getConstStore ( ) const
inherited

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 304 of file AuxElement.cxx.

305{
306 if (havePrivateData()) {
307 return m_container->getConstStore();
308 }
309 return 0;
310}

◆ getDecorIDs()

const SG::auxid_set_t & SG::AuxElement::getDecorIDs ( ) const
inherited

Return a set of identifiers for decorations 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 378 of file AuxElement.cxx.

379{
380#ifdef ATHCONTAINERS_R21_COMPAT
381 if (havePrivateData())
382 return m_container->getConstStore()->getDecorIDs();
383 if (container())
384 return container()->getDecorIDs();
385 static const SG::auxid_set_t null_set;
386 return null_set;
387#else
389#endif
390}
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.

◆ getDetectorZone()

DetectorZone FPGATrackSimHit::getDetectorZone ( ) const
inline

Definition at line 60 of file FPGATrackSimHit.h.

60{ return m_detectorZone; }
DetectorZone m_detectorZone

◆ getDetType()

SiliconTech FPGATrackSimHit::getDetType ( ) const
inline

Definition at line 59 of file FPGATrackSimHit.h.

59{ return m_detType; }
SiliconTech m_detType

◆ getDim()

unsigned FPGATrackSimHit::getDim ( ) const
inline

Definition at line 68 of file FPGATrackSimHit.h.

68{ return isPixel() ? 2 : 1; } // TODO all calls of this should be replaced with a call to plane map
bool isPixel() const

◆ getEtaCoord()

float FPGATrackSimHit::getEtaCoord ( ) const
inline

Definition at line 115 of file FPGATrackSimHit.h.

115{ return m_etaCoord; }

◆ getEtaIndex()

unsigned FPGATrackSimHit::getEtaIndex ( ) const
inline

Definition at line 111 of file FPGATrackSimHit.h.

111{ return m_etaIndex; }

◆ getEtaIndexVec()

const std::vector< int > & FPGATrackSimHit::getEtaIndexVec ( ) const
inline

Definition at line 201 of file FPGATrackSimHit.h.

201{ return m_EtaIndexVec;}

◆ getEtaModule()

int FPGATrackSimHit::getEtaModule ( bool old = false) const
inline

Definition at line 90 of file FPGATrackSimHit.h.

90{ if (old && isRemapped()) return m_etaModule_old; else return m_etaModule; }
bool isRemapped() const

◆ getEtaWidth()

unsigned FPGATrackSimHit::getEtaWidth ( ) const
inline

Definition at line 88 of file FPGATrackSimHit.h.

88{ return m_etaWidth; }

◆ getEventIndex()

long FPGATrackSimHit::getEventIndex ( ) const
inline

Definition at line 170 of file FPGATrackSimHit.h.

170{ return m_eventindex; }

◆ getGCotTheta()

float FPGATrackSimHit::getGCotTheta ( ) const
inline

Definition at line 157 of file FPGATrackSimHit.h.

157{ return m_z / getR(); } // cot(theta) = z/r
float getR() const

◆ getGPhi()

float FPGATrackSimHit::getGPhi ( ) const
inline

Definition at line 156 of file FPGATrackSimHit.h.

156{ return TMath::ATan2(m_y, m_x); }

◆ getHitType()

HitType FPGATrackSimHit::getHitType ( ) const
inline

Definition at line 58 of file FPGATrackSimHit.h.

58{ return m_hitType; }

◆ getIdentifier()

unsigned int FPGATrackSimHit::getIdentifier ( ) const
inline

Definition at line 82 of file FPGATrackSimHit.h.

82{ return m_identifier; } // 32 bit (short) module identifier
unsigned int m_identifier

◆ getIdentifierHash()

unsigned FPGATrackSimHit::getIdentifierHash ( ) const
inline

Definition at line 83 of file FPGATrackSimHit.h.

83{ return m_identifierHash; } // TODO note this might break things in the same way as getSide() a few lines below. If so, recomment.
unsigned m_identifierHash

◆ getIDHashVec()

const std::vector< unsigned > & FPGATrackSimHit::getIDHashVec ( ) const
inline

Definition at line 202 of file FPGATrackSimHit.h.

202{ return m_IDhashVec;}

◆ getLayer()

int FPGATrackSimHit::getLayer ( ) const

Definition at line 87 of file FPGATrackSimHit.cxx.

88{
89 return m_layer;
90}

◆ getLayerDisk()

unsigned FPGATrackSimHit::getLayerDisk ( bool old = false) const
inline

Definition at line 85 of file FPGATrackSimHit.h.

85{ if (old && isRemapped()) return m_layer_disk_old; else return m_layer_disk;} // ITk layer number
unsigned m_layer_disk_old

◆ getMaxEtaIndex()

int FPGATrackSimHit::getMaxEtaIndex ( ) const
inline

Definition at line 123 of file FPGATrackSimHit.h.

123{ return m_maxEtaIndex; }

◆ getMaxPhiIndex()

int FPGATrackSimHit::getMaxPhiIndex ( ) const
inline

Definition at line 121 of file FPGATrackSimHit.h.

121{ return m_maxPhiIndex; }

◆ getMinEtaIndex()

int FPGATrackSimHit::getMinEtaIndex ( ) const
inline

Definition at line 124 of file FPGATrackSimHit.h.

124{ return m_minEtaIndex; }

◆ getMinPhiIndex()

int FPGATrackSimHit::getMinPhiIndex ( ) const
inline

Definition at line 122 of file FPGATrackSimHit.h.

122{ return m_minPhiIndex; }

◆ getOriginalHit()

const FPGATrackSimHit FPGATrackSimHit::getOriginalHit ( ) const

Definition at line 131 of file FPGATrackSimHit.cxx.

131 {
132 // Only works for spacepoints. TODO: subclass...
133 FPGATrackSimHit original = *(this);
135 return *this;
136 }
137
138 // Restore the x/y/z coordinates. That should be all we have to do!
139 original.setX(m_originalX);
140 original.setY(m_originalY);
141 original.setZ(m_originalZ);
142
143 // Change the type... is "clustered" the right type?
145
146 // Technically, we could also restore the original truth.
147
148 return original;
149}
void setHitType(HitType type)
void setZ(float v)
FPGATrackSimHit()=default
void setX(float v)
void setY(float v)
HitType getHitType() const

◆ getPairedDetType()

SiliconTech FPGATrackSimHit::getPairedDetType ( ) const
inline

Definition at line 142 of file FPGATrackSimHit.h.

142{ return m_pairedDetType; }
SiliconTech m_pairedDetType

◆ getPairedDetZone()

DetectorZone FPGATrackSimHit::getPairedDetZone ( ) const
inline

Definition at line 141 of file FPGATrackSimHit.h.

141{ return m_pairedDetZone; }
DetectorZone m_pairedDetZone

◆ getPairedEtaModule()

int FPGATrackSimHit::getPairedEtaModule ( ) const
inline

Definition at line 136 of file FPGATrackSimHit.h.

136{ return m_pairedEtaModule; }

◆ getPairedLayer()

unsigned FPGATrackSimHit::getPairedLayer ( ) const
inline

Definition at line 139 of file FPGATrackSimHit.h.

139{ return m_pairedLayer; }

◆ getPairedPhiModule()

unsigned FPGATrackSimHit::getPairedPhiModule ( ) const
inline

Definition at line 137 of file FPGATrackSimHit.h.

137{ return m_pairedPhiModule; }
unsigned m_pairedPhiModule

◆ getPairedPhysLayer()

unsigned FPGATrackSimHit::getPairedPhysLayer ( ) const
inline

Definition at line 140 of file FPGATrackSimHit.h.

140{ return m_pairedPhysLayer; }
unsigned m_pairedPhysLayer

◆ getPairedSection()

unsigned FPGATrackSimHit::getPairedSection ( ) const
inline

Definition at line 138 of file FPGATrackSimHit.h.

138{ return m_pairedSection; }

◆ getParentageMask()

unsigned long FPGATrackSimHit::getParentageMask ( ) const
inline

Definition at line 172 of file FPGATrackSimHit.h.

172{ return m_parentage_mask; }
unsigned long m_parentage_mask

◆ getPhiCoord()

float FPGATrackSimHit::getPhiCoord ( ) const
inline

Definition at line 114 of file FPGATrackSimHit.h.

114{ return m_phiCoord; }

◆ getPhiIndex()

unsigned FPGATrackSimHit::getPhiIndex ( ) const
inline

Definition at line 110 of file FPGATrackSimHit.h.

110{ return m_phiIndex; }

◆ getPhiIndexVec()

const std::vector< int > & FPGATrackSimHit::getPhiIndexVec ( ) const
inline

Definition at line 200 of file FPGATrackSimHit.h.

200{ return m_PhiIndexVec;}

◆ getPhiModule()

unsigned FPGATrackSimHit::getPhiModule ( ) const
inline

Definition at line 91 of file FPGATrackSimHit.h.

91{ return m_phiModule; }

◆ getPhiWidth()

unsigned FPGATrackSimHit::getPhiWidth ( ) const
inline

Definition at line 89 of file FPGATrackSimHit.h.

89{ return m_phiWidth; }

◆ getPhiWindow()

float FPGATrackSimHit::getPhiWindow ( ) const
inline

Definition at line 126 of file FPGATrackSimHit.h.

126{ return m_phiWindow; }

◆ getPhysLayer()

unsigned FPGATrackSimHit::getPhysLayer ( bool old = false) const

Definition at line 72 of file FPGATrackSimHit.cxx.

73{
74 if (old && isRemapped()) {
76 return 2 * m_layer_disk_old + m_side_old;
77 return m_layer_disk_old;
78 }
79 else {
81 return 2 * m_layer_disk + m_side;
82 return m_layer_disk;
83 }
84}

◆ getR()

float FPGATrackSimHit::getR ( ) const
inline

Definition at line 155 of file FPGATrackSimHit.h.

155{ return TMath::Sqrt(m_x * m_x + m_y * m_y); } // This is cylindrical radius

◆ getRdoIdentifier()

Identifier::value_type FPGATrackSimHit::getRdoIdentifier ( ) const
inline

Definition at line 84 of file FPGATrackSimHit.h.

84{ return m_rdoIdentifier; } // this returns the entire 64 bit hit identifier. TODO instead of storing it, calculate it based on the module ID and eta/phi index
Identifier::value_type m_rdoIdentifier

◆ getRoadID()

int FPGATrackSimHit::getRoadID ( ) const
inline

Definition at line 69 of file FPGATrackSimHit.h.

69{ return m_roadID; }

◆ getSection()

unsigned FPGATrackSimHit::getSection ( ) const

Definition at line 92 of file FPGATrackSimHit.cxx.

93{
94 if (isMapped()) return m_section;
95 throw std::domain_error("FPGATrackSimHit::getSection() called on a hit with invalid type");
96}
bool isMapped() const

◆ getSide()

unsigned FPGATrackSimHit::getSide ( ) const
inline

Definition at line 86 of file FPGATrackSimHit.h.

86{ return m_side; } // strip side TODO note this has been uncommented on 4/20/21. If wrappers suddenly break, recomment this. Same for getIdentifierHash above.

◆ getStore()

SG::IAuxStore * SG::AuxElement::getStore ( ) const
inherited

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 319 of file AuxElement.cxx.

320{
321 if (havePrivateData()) {
322#ifdef ATHCONTAINERS_R21_COMPAT
323 SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = m_container;
324#else
325 SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = const_cast<SG::AuxVectorData*>(container());
326#endif
327 return container_nc->getStore();
328 }
329 return 0;
330}
#define ATLAS_THREAD_SAFE

◆ getStripChipIDForITk()

int FPGATrackSimHit::getStripChipIDForITk ( ) const
inline

Definition at line 185 of file FPGATrackSimHit.h.

◆ getStripHitMapForITk()

int FPGATrackSimHit::getStripHitMapForITk ( ) const
inline

Definition at line 186 of file FPGATrackSimHit.h.

◆ getStripRowIDForITk()

int FPGATrackSimHit::getStripRowIDForITk ( ) const
inline

Definition at line 184 of file FPGATrackSimHit.h.

◆ getToT()

unsigned FPGATrackSimHit::getToT ( ) const
inline

Definition at line 167 of file FPGATrackSimHit.h.

167{ return m_ToT ;}

◆ getTruth()

const FPGATrackSimMultiTruth & FPGATrackSimHit::getTruth ( ) const
inline

Definition at line 173 of file FPGATrackSimHit.h.

173{ return m_truth; }
FPGATrackSimMultiTruth m_truth

◆ getUniqueID()

HepMcParticleLink::barcode_type FPGATrackSimHit::getUniqueID ( ) const
inline

Definition at line 169 of file FPGATrackSimHit.h.

169{ return m_uniqueID; }
HepMcParticleLink::barcode_type m_uniqueID

◆ getX()

float FPGATrackSimHit::getX ( ) const
inline

Definition at line 152 of file FPGATrackSimHit.h.

152{ return m_x; }

◆ getY()

float FPGATrackSimHit::getY ( ) const
inline

Definition at line 153 of file FPGATrackSimHit.h.

153{ return m_y; }

◆ getZ()

float FPGATrackSimHit::getZ ( ) const
inline

Definition at line 154 of file FPGATrackSimHit.h.

154{ return m_z; }

◆ 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 411 of file AuxElement.cxx.

412{
413 if (havePrivateData())
414 return m_container->hasNonConstStore();
415 return false;
416}

◆ 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 398 of file AuxElement.cxx.

399{
400 if (havePrivateData())
401 return m_container->hasStore();
402 return false;
403}

◆ havePrivateData()

bool SG::IAuxElement::havePrivateData ( ) const
protectedinherited

True if this element currently has private data.

◆ index()

size_t SG::IAuxElement::index ( ) const
inherited

Return the index of this element within its container.

Inherited from IAuxElement.

◆ isAvailable()

template<class T, class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailable ( const std::string & name,
const std::string & clsname = "" ) const
inherited

Check if an aux variable is available for reading.

Parameters
nameName of the aux variable.
clsnameThe 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>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritable ( const std::string & name,
const std::string & clsname = "" )
inherited

Check if an aux variable is available for writing.

Parameters
nameName of the aux variable.
clsnameThe 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>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritableAsDecoration ( const std::string & name,
const std::string & clsname = "" ) const
inherited

Check if an aux variable is available for writing as a decoration.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ isBarrel()

bool FPGATrackSimHit::isBarrel ( ) const
inline

Definition at line 67 of file FPGATrackSimHit.h.

◆ isClustered()

bool FPGATrackSimHit::isClustered ( ) const

Definition at line 28 of file FPGATrackSimHit.cxx.

29{
30 switch (m_hitType)
31 {
32 case HitType::clustered: // TODO do wildcard and guessed hits have cluster info too?
34 return true;
35 default:
36 return false;
37 }
38}

◆ isMapped()

bool FPGATrackSimHit::isMapped ( ) const

Definition at line 13 of file FPGATrackSimHit.cxx.

14{
15 if(m_layer>=0){
16 return true;
17 }
18 return false;
19}

◆ isPixel()

bool FPGATrackSimHit::isPixel ( ) const
inline

Definition at line 65 of file FPGATrackSimHit.h.

◆ isReal()

bool FPGATrackSimHit::isReal ( ) const

Definition at line 40 of file FPGATrackSimHit.cxx.

41{
42 switch (m_hitType)
43 {
45 case HitType::mapped:
48 return true;
49 default:
50 return false;
51 }
52}

◆ isRemapped()

bool FPGATrackSimHit::isRemapped ( ) const

Definition at line 20 of file FPGATrackSimHit.cxx.

21{
22 return m_isRemapped;
23}

◆ isStrip()

bool FPGATrackSimHit::isStrip ( ) const
inline

Definition at line 66 of file FPGATrackSimHit.h.

66{ return m_detType == SiliconTech::strip; }

◆ isValidForITkHit()

bool FPGATrackSimHit::isValidForITkHit ( ) const
inline

Definition at line 183 of file FPGATrackSimHit.h.

183{return m_isValidForITK;}

◆ 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 192 of file AuxElement.cxx.

193{
194 if (m_container) {
195 throw SG::ExcBadPrivateStore ("store already exists");
196 }
197
198 m_container = new SG::AuxElementPrivateData;
201}
void setIndex(size_t index)
Set the index of this element within its container.
void setHavePrivateData()
Record that this element currently has private data.

◆ makePrivateStore() [2/3]

template<class U1>
void SG::AuxElement::makePrivateStore ( const U1 & other,
bool warnUnlocked = false )
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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,
bool warnUnlocked = false )
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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]

void SG::AuxElement::makePrivateStore1 ( const AuxElement * other,
bool warnUnlocked )
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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 565 of file AuxElement.cxx.

567{
569 if (other)
570 this->copyAux (*other, warnUnlocked);
571}
void makePrivateStore()
Create a new (empty) private store for this object.
void copyAux(const ConstAuxElement &other, bool warnUnlocked=false)
Copy aux data from another object.

◆ makePrivateStore1() [2/2]

void SG::AuxElement::makePrivateStore1 ( const void * other,
bool warnUnlocked )
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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.

◆ makeSpacepoint()

void FPGATrackSimHit::makeSpacepoint ( float x,
float y,
float z,
float window,
FPGATrackSimHit & other,
FPGATrackSimMultiTruth & new_truth )

Definition at line 98 of file FPGATrackSimHit.cxx.

98 {
99 // Update coordinates. This keeps a copy of the old ones.
100 setX(x);
101 setY(y);
102 setZ(z);
103
104 // Store the phi window.
105 m_phiWindow = window;
106
107 // Update the truth, so we can do truth matching.
108 setTruth(new_truth);
109
110 // Store the local coordinates of the inner hit.
111 // the need for a subclass in the futer should be considered.
112 const FPGATrackSimHit* inner = ((getPhysLayer() % 2) == 0) ? this : &other;
115
116 // If the hit is unmapped we need to store the physical
117 // layer coordinates, and when the hit *becomes* mapped, update the paired logical layer too.
118 if (isMapped()) {
119 m_pairedSection = inner->getSection();
120 m_pairedLayer = inner->getLayer();
121 }
122 if ( m_hitType == HitType::spacepoint) m_layer = inner->getLayer();
124 m_pairedDetType = inner->getDetType();
126
127 // Update the type.
129}
#define y
#define x
#define z
int getEtaModule(bool old=false) const
unsigned getPhiModule() const
unsigned getPhysLayer(bool old=false) const
SiliconTech getDetType() const
DetectorZone getDetectorZone() const
unsigned getSection() const
void setTruth(const FPGATrackSimMultiTruth &v)

◆ noPrivateData()

bool SG::IAuxElement::noPrivateData ( ) const
protectedinherited

True if this element has no private data.

◆ 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 210 of file AuxElement.cxx.

211{
212 if (hadPrivateData()) {
213 // We had a private store, but it was released because this object
214 // was added to a container. Just forget about it.
216 return;
217 }
218
219 if (!havePrivateData() ||
220 !m_container ||
221 typeid(*m_container) != typeid(AuxElementPrivateData))
222 {
223 throw SG::ExcBadPrivateStore ("no private store exists");
224 }
225
228 delete m_container;
229 m_container = 0;
230}
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
void setNoPrivateData()
Record that this element does not have private data.

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 441 of file AuxElement.cxx.

442{
443#ifdef ATHCONTAINERS_R21_COMPAT
444 if (havePrivateData()) {
445 delete m_container;
446 }
447#else
449#endif
450}
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.

◆ setBarcode()

void FPGATrackSimHit::setBarcode ( const HepMcParticleLink::barcode_type & v)
inline

Definition at line 161 of file FPGATrackSimHit.h.

◆ setBarcodePt()

void FPGATrackSimHit::setBarcodePt ( float v)
inline

Definition at line 163 of file FPGATrackSimHit.h.

163{ m_barcode_pt = v; }

◆ setCentroidEtaIndex()

void FPGATrackSimHit::setCentroidEtaIndex ( float v)
inline

Definition at line 107 of file FPGATrackSimHit.h.

◆ setCentroidPhiIndex()

void FPGATrackSimHit::setCentroidPhiIndex ( float v)
inline

Definition at line 106 of file FPGATrackSimHit.h.

◆ setCluster1ID()

void FPGATrackSimHit::setCluster1ID ( int v)
inline

Definition at line 194 of file FPGATrackSimHit.h.

◆ setCluster2ID()

void FPGATrackSimHit::setCluster2ID ( int v)
inline

Definition at line 197 of file FPGATrackSimHit.h.

◆ setConstStore()

void SG::AuxElement::setConstStore ( const SG::IConstAuxStore * store)
inherited

Synonym for setStore with IConstAuxStore.

Parameters
storeThe new store.

◆ setDetectorZone()

void FPGATrackSimHit::setDetectorZone ( DetectorZone detZone)
inline

Definition at line 57 of file FPGATrackSimHit.h.

57{ m_detectorZone = detZone; }

◆ setDetType()

void FPGATrackSimHit::setDetType ( SiliconTech detType)
inline

Definition at line 56 of file FPGATrackSimHit.h.

56{ m_detType = detType; }

◆ setEtaCoord()

void FPGATrackSimHit::setEtaCoord ( float v)
inline

Definition at line 109 of file FPGATrackSimHit.h.

109{ m_etaCoord = v; }

◆ setEtaIndex()

void FPGATrackSimHit::setEtaIndex ( unsigned v)
inline

Definition at line 105 of file FPGATrackSimHit.h.

105{ m_etaIndex = v; }

◆ setEtaModule()

void FPGATrackSimHit::setEtaModule ( int v)
inline

Definition at line 78 of file FPGATrackSimHit.h.

◆ setEtaWidth()

void FPGATrackSimHit::setEtaWidth ( unsigned v)
inline

Definition at line 80 of file FPGATrackSimHit.h.

80{ m_etaWidth = v; }

◆ setEventIndex()

void FPGATrackSimHit::setEventIndex ( long v)
inline

Definition at line 164 of file FPGATrackSimHit.h.

164{ m_eventindex = v; }

◆ 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.

◆ setHitType()

void FPGATrackSimHit::setHitType ( HitType type)
inline

◆ setIdentifier()

void FPGATrackSimHit::setIdentifier ( unsigned int v)
inline

Definition at line 72 of file FPGATrackSimHit.h.

72{ m_identifier = v; } // 32 bit (short) module identifier

◆ setIdentifierHash()

void FPGATrackSimHit::setIdentifierHash ( unsigned v)
inline

Definition at line 73 of file FPGATrackSimHit.h.

◆ setIndex()

void SG::AuxElement::setIndex ( size_t index,
SG::AuxVectorData * container )
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe 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()

bool SG::AuxElement::setIndexPrivate ( size_t index,
SG::AuxVectorData * container )
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe 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 505 of file AuxElement.cxx.

506{
507#ifdef ATHCONTAINERS_R21_COMPAT
508 if (hadPrivateData()) {
509 // We had a private store, but it was released because we were added
510 // to a container.
511
512 if (container == 0) {
513 // We're being moved out of the container. Make a new private
514 // store, copy the data, and switch to it.
515 auto privateData = new SG::AuxElementPrivateData;
516 AuxElement to (privateData, 0);
517 to.copyAux (*this);
520 m_container = privateData;
521 return true;
522 }
523 }
524 else if (havePrivateData() &&
525 typeid(*m_container) == typeid(AuxElementPrivateData))
526 {
527 // We currently have a private store.
528
529 if (container != 0 && container != m_container) {
530 // We're being added to a container.
531 // Aux data has already been copied.
532 // Release private store.
535 delete m_container;
537 return false;
538 }
539 }
540 else {
541 // We have a standalone store.
542 throw SG::ExcBadPrivateStore ("Attempt to add/remove a standalone object "
543 "from a container.");
544 }
545
548 return false;
549#else
551#endif
552}
AuxElement()
Default constructor.
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
void setHadPrivateData()
Record that this element used to have private data.
CONT to(RANGE &&r)
Definition ranges.h:39

◆ setisValidForITkHit()

void FPGATrackSimHit::setisValidForITkHit ( bool v)
inline

Definition at line 188 of file FPGATrackSimHit.h.

188{ m_isValidForITK = v;}

◆ setLayer()

void FPGATrackSimHit::setLayer ( unsigned v)
inline

Definition at line 95 of file FPGATrackSimHit.h.

95{ m_layer = v; } // This is the logical layer

◆ setLayerDisk()

void FPGATrackSimHit::setLayerDisk ( unsigned v)
inline

Definition at line 75 of file FPGATrackSimHit.h.

75{ m_layer_disk = v; } // ITk layer number

◆ setMaxEtaIndex()

void FPGATrackSimHit::setMaxEtaIndex ( int v)
inline

Definition at line 119 of file FPGATrackSimHit.h.

119{ m_maxEtaIndex = v; }

◆ setMaxPhiIndex()

void FPGATrackSimHit::setMaxPhiIndex ( int v)
inline

Definition at line 117 of file FPGATrackSimHit.h.

117{ m_maxPhiIndex = v; }

◆ setMinEtaIndex()

void FPGATrackSimHit::setMinEtaIndex ( int v)
inline

Definition at line 120 of file FPGATrackSimHit.h.

120{ m_minEtaIndex = v; }

◆ setMinPhiIndex()

void FPGATrackSimHit::setMinPhiIndex ( int v)
inline

Definition at line 118 of file FPGATrackSimHit.h.

118{ m_minPhiIndex = v; }

◆ setNonConstStore()

void SG::AuxElement::setNonConstStore ( SG::IAuxStore * store)
inherited

Synonym for setStore with IAuxStore.

Parameters
storeThe new store.

◆ setNoPrivateData()

void SG::IAuxElement::setNoPrivateData ( )
privateinherited

Record that this element does not have private data.

◆ setPairedLayer()

void FPGATrackSimHit::setPairedLayer ( unsigned v)
inline

Definition at line 145 of file FPGATrackSimHit.h.

145{ m_pairedLayer = v; }

◆ setPairedSection()

void FPGATrackSimHit::setPairedSection ( unsigned v)
inline

Definition at line 146 of file FPGATrackSimHit.h.

146{ m_pairedSection = v; }

◆ setParentageMask()

void FPGATrackSimHit::setParentageMask ( unsigned long v)
inline

Definition at line 165 of file FPGATrackSimHit.h.

165{ m_parentage_mask = v; }

◆ setPhiCoord()

void FPGATrackSimHit::setPhiCoord ( float v)
inline

Definition at line 108 of file FPGATrackSimHit.h.

108{ m_phiCoord = v; }

◆ setPhiIndex()

void FPGATrackSimHit::setPhiIndex ( unsigned v)
inline

Definition at line 104 of file FPGATrackSimHit.h.

104{ m_phiIndex = v; }

◆ setPhiModule()

void FPGATrackSimHit::setPhiModule ( unsigned v)
inline

Definition at line 79 of file FPGATrackSimHit.h.

79{ m_phiModule = v; }

◆ setPhiWidth()

void FPGATrackSimHit::setPhiWidth ( unsigned v)
inline

Definition at line 81 of file FPGATrackSimHit.h.

81{ m_phiWidth = v; }

◆ setPhysLayer()

void FPGATrackSimHit::setPhysLayer ( unsigned v)

Definition at line 55 of file FPGATrackSimHit.cxx.

56{
58 {
61 m_layer_disk = v / 2;
62 m_side = v % 2;
63 }
64 else
65 {
68 }
69}

◆ setRdoIdentifier()

void FPGATrackSimHit::setRdoIdentifier ( Identifier::value_type v)
inline

Definition at line 74 of file FPGATrackSimHit.h.

74{ m_rdoIdentifier = v; } // this stores the entire 64 bit hit identifier

◆ setRemap()

void FPGATrackSimHit::setRemap ( )

Definition at line 24 of file FPGATrackSimHit.cxx.

25{
26 m_isRemapped=true;
27}

◆ setRoadID()

void FPGATrackSimHit::setRoadID ( int roadID)
inline

Definition at line 99 of file FPGATrackSimHit.h.

99{ m_roadID = roadID; }

◆ setSection()

void FPGATrackSimHit::setSection ( unsigned v)
inline

Definition at line 96 of file FPGATrackSimHit.h.

96{ m_section = v; }

◆ setSide()

void FPGATrackSimHit::setSide ( unsigned v)
inline

Definition at line 76 of file FPGATrackSimHit.h.

76{ m_side = v; }

◆ setStore() [1/3]

void SG::AuxElement::setStore ( const DataLink< SG::IConstAuxStore > & store)
inherited

Set the store associated with this object.

Parameters
storeThe new store.

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
storeLink to the new store.

Definition at line 269 of file AuxElement.cxx.

270{
271 AuxElementStandaloneData* data = setStore1 (store);
272 if (store)
273 data->setStore (store);
274}
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.

◆ setStore() [2/3]

void SG::AuxElement::setStore ( const SG::IConstAuxStore * store)
inherited

Set the store associated with this object.

Parameters
storeThe new store.

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 241 of file AuxElement.cxx.

242{
243 AuxElementStandaloneData* data = setStore1 (store);
244 if (store)
245 data->setStore (store);
246}

◆ setStore() [3/3]

void SG::AuxElement::setStore ( SG::IAuxStore * store)
inherited

Set the store associated with this object.

Parameters
storeThe new store.

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 257 of file AuxElement.cxx.

258{
259 AuxElementStandaloneData* data = setStore1 (store);
260 if (store)
261 data->setStore (store);
262}

◆ setStore1()

AuxElementStandaloneData * SG::AuxElement::setStore1 ( const SG::IConstAuxStore * store)
privateinherited

Set the store associated with this object.

Parameters
storeThe new store.

Helper for setStore. Creates the AuxElementStandaloneData object if needed and returns it.

Parameters
storeThe new store.

Helper for setStore. Creates the @x AuxElementStandaloneData object if needed and returns it.

Definition at line 461 of file AuxElement.cxx.

462{
463 if (store) {
464 // Want this object be standalone.
465 if (!m_container) {
466 // Not in a container (and no private store). Make a new object.
467 AuxElementStandaloneData* data = new AuxElementStandaloneData;
470 return data;
471 }
472 if (usingStandaloneStore()) {
473 // Standalone --- return existing object.
474 return static_cast<AuxElementStandaloneData*> (container());
475 }
476 // Otherwise, it's an error.
477 throw ExcBadPrivateStore ("Attempt to attach a standalone store to an "
478 "object in a container or with a private store.");
479 }
480
481 else {
482 // Getting rid of a standalone store.
483 if (usingStandaloneStore()) {
485 delete m_container;
486 m_container = 0;
487 }
488 else if (m_container != 0)
489 throw ExcBadPrivateStore ("Attempt to remove a standalone store from an "
490 "object in a container or with a private store.");
491 return 0;
492 }
493}
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.

◆ setStripChipIDForITk()

void FPGATrackSimHit::setStripChipIDForITk ( int v)
inline

Definition at line 190 of file FPGATrackSimHit.h.

◆ setStripHitMapForITk()

void FPGATrackSimHit::setStripHitMapForITk ( int v)
inline

Definition at line 191 of file FPGATrackSimHit.h.

◆ setStripRowIDForITk()

void FPGATrackSimHit::setStripRowIDForITk ( int v)
inline

Definition at line 189 of file FPGATrackSimHit.h.

◆ setToT()

void FPGATrackSimHit::setToT ( unsigned v)
inline

Definition at line 160 of file FPGATrackSimHit.h.

160{ m_ToT = v; }

◆ setTruth()

void FPGATrackSimHit::setTruth ( const FPGATrackSimMultiTruth & v)
inline

Definition at line 166 of file FPGATrackSimHit.h.

166{ m_truth = v; }

◆ setUniqueID()

void FPGATrackSimHit::setUniqueID ( const HepMcParticleLink::barcode_type & v)
inline

Definition at line 162 of file FPGATrackSimHit.h.

162{ m_uniqueID = v; }

◆ setX()

void FPGATrackSimHit::setX ( float v)
inline

Definition at line 149 of file FPGATrackSimHit.h.

149{ m_originalX = m_x; m_x = v; }

◆ setY()

void FPGATrackSimHit::setY ( float v)
inline

Definition at line 150 of file FPGATrackSimHit.h.

150{ m_originalY = m_y; m_y = v; }

◆ setZ()

void FPGATrackSimHit::setZ ( float v)
inline

Definition at line 151 of file FPGATrackSimHit.h.

151{ m_originalZ = m_z; m_z = v; }

◆ 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.

◆ usingPrivateStore()

bool SG::AuxElement::usingPrivateStore ( ) const
inherited

Test to see if this object is currently using a private store.

Definition at line 280 of file AuxElement.cxx.

281{
282 return havePrivateData() &&
283 typeid(*m_container) == typeid(AuxElementPrivateData);
284}

◆ 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 290 of file AuxElement.cxx.

291{
292 return havePrivateData() &&
293 typeid(*m_container) == typeid(AuxElementStandaloneData);
294}

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const FPGATrackSimHit & hit )
friend

Definition at line 151 of file FPGATrackSimHit.cxx.

152{
153 out << "type=" << hit.m_hitType
154 << " tech=" << hit.m_detType
155 << " zone=" << hit.m_detectorZone
156 << " etamod=" << hit.getEtaModule()
157 << " phimod=" << hit.getPhiModule()
158 << " physLayer=" << hit.getPhysLayer()
159 << " eta=" << hit.getEtaCoord()
160 << " phi=" << hit.getPhiCoord();
161
162 return out;
163}
float getPhiCoord() const
float getEtaCoord() const

Member Data Documentation

◆ m_barcode

HepMcParticleLink::barcode_type FPGATrackSimHit::m_barcode = 0
protected

Definition at line 288 of file FPGATrackSimHit.h.

◆ m_barcode_pt

float FPGATrackSimHit::m_barcode_pt = 0
protected

Definition at line 290 of file FPGATrackSimHit.h.

◆ m_centroidEtaIndex

float FPGATrackSimHit::m_centroidEtaIndex = -1
protected

Definition at line 248 of file FPGATrackSimHit.h.

◆ m_centroidPhiIndex

float FPGATrackSimHit::m_centroidPhiIndex = -1
protected

Definition at line 247 of file FPGATrackSimHit.h.

◆ m_clusterIndex1ForFPGA

int FPGATrackSimHit::m_clusterIndex1ForFPGA = -1
protected

Definition at line 300 of file FPGATrackSimHit.h.

◆ m_clusterIndex2ForFPGA

int FPGATrackSimHit::m_clusterIndex2ForFPGA = -1
protected

Definition at line 301 of file FPGATrackSimHit.h.

◆ m_container

const SG::AuxVectorData* SG::ConstAuxElement::m_container
privateinherited

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 335 of file AuxElement.h.

◆ m_detectorZone

DetectorZone FPGATrackSimHit::m_detectorZone = DetectorZone::undefined
protected

Definition at line 220 of file FPGATrackSimHit.h.

◆ m_detType

SiliconTech FPGATrackSimHit::m_detType = SiliconTech::undefined
protected

Definition at line 221 of file FPGATrackSimHit.h.

◆ m_etaCoord

float FPGATrackSimHit::m_etaCoord = -999
protected

Definition at line 250 of file FPGATrackSimHit.h.

◆ m_etaIndex

int FPGATrackSimHit::m_etaIndex = -1
protected

Definition at line 246 of file FPGATrackSimHit.h.

◆ m_EtaIndexVec

std::vector<int> FPGATrackSimHit::m_EtaIndexVec
protected

Definition at line 313 of file FPGATrackSimHit.h.

◆ m_etaModule

int FPGATrackSimHit::m_etaModule = 0
protected

Definition at line 231 of file FPGATrackSimHit.h.

◆ m_etaModule_old

int FPGATrackSimHit::m_etaModule_old = 0
protected

Definition at line 232 of file FPGATrackSimHit.h.

◆ m_etaWidth

unsigned FPGATrackSimHit::m_etaWidth = 0
protected

Definition at line 234 of file FPGATrackSimHit.h.

◆ m_eventindex

long FPGATrackSimHit::m_eventindex = 0
protected

Definition at line 287 of file FPGATrackSimHit.h.

◆ m_hitType

HitType FPGATrackSimHit::m_hitType = HitType::undefined
protected

Definition at line 219 of file FPGATrackSimHit.h.

◆ m_hw_word

unsigned FPGATrackSimHit::m_hw_word = 0
protected

Definition at line 285 of file FPGATrackSimHit.h.

◆ m_identifier

unsigned int FPGATrackSimHit::m_identifier = 0
protected

Definition at line 224 of file FPGATrackSimHit.h.

◆ m_identifierHash

unsigned FPGATrackSimHit::m_identifierHash = 0
protected

Definition at line 225 of file FPGATrackSimHit.h.

◆ m_IDhashVec

std::vector<unsigned> FPGATrackSimHit::m_IDhashVec
protected

Definition at line 311 of file FPGATrackSimHit.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_isRemapped

bool FPGATrackSimHit::m_isRemapped = false
protected

Definition at line 243 of file FPGATrackSimHit.h.

◆ m_isValidForITK

bool FPGATrackSimHit::m_isValidForITK = false
protected

Definition at line 303 of file FPGATrackSimHit.h.

◆ m_layer

int FPGATrackSimHit::m_layer = -1
protected

Definition at line 239 of file FPGATrackSimHit.h.

◆ m_layer_disk

unsigned FPGATrackSimHit::m_layer_disk = 0
protected

Definition at line 227 of file FPGATrackSimHit.h.

◆ m_layer_disk_old

unsigned FPGATrackSimHit::m_layer_disk_old = 0
protected

Definition at line 228 of file FPGATrackSimHit.h.

◆ m_maxEtaIndex

int FPGATrackSimHit::m_maxEtaIndex = std::numeric_limits<int>::min()
protected

Definition at line 255 of file FPGATrackSimHit.h.

◆ m_maxPhiIndex

int FPGATrackSimHit::m_maxPhiIndex = std::numeric_limits<int>::min()
protected

Definition at line 253 of file FPGATrackSimHit.h.

◆ m_minEtaIndex

int FPGATrackSimHit::m_minEtaIndex = std::numeric_limits<int>::max()
protected

Definition at line 256 of file FPGATrackSimHit.h.

◆ m_minPhiIndex

int FPGATrackSimHit::m_minPhiIndex = std::numeric_limits<int>::max()
protected

Definition at line 254 of file FPGATrackSimHit.h.

◆ m_originalX

float FPGATrackSimHit::m_originalX = 0
protected

Definition at line 264 of file FPGATrackSimHit.h.

◆ m_originalY

float FPGATrackSimHit::m_originalY = 0
protected

Definition at line 265 of file FPGATrackSimHit.h.

◆ m_originalZ

float FPGATrackSimHit::m_originalZ = 0
protected

Definition at line 266 of file FPGATrackSimHit.h.

◆ m_pairedDetType

SiliconTech FPGATrackSimHit::m_pairedDetType = SiliconTech::undefined
protected

Definition at line 277 of file FPGATrackSimHit.h.

◆ m_pairedDetZone

DetectorZone FPGATrackSimHit::m_pairedDetZone = DetectorZone::undefined
protected

Definition at line 276 of file FPGATrackSimHit.h.

◆ m_pairedEtaModule

int FPGATrackSimHit::m_pairedEtaModule = -1
protected

Definition at line 273 of file FPGATrackSimHit.h.

◆ m_pairedLayer

unsigned FPGATrackSimHit::m_pairedLayer = 0
protected

Definition at line 282 of file FPGATrackSimHit.h.

◆ m_pairedPhiModule

unsigned FPGATrackSimHit::m_pairedPhiModule = -1
protected

Definition at line 272 of file FPGATrackSimHit.h.

◆ m_pairedPhysLayer

unsigned FPGATrackSimHit::m_pairedPhysLayer = 0
protected

Definition at line 278 of file FPGATrackSimHit.h.

◆ m_pairedSection

unsigned FPGATrackSimHit::m_pairedSection = 0
protected

Definition at line 281 of file FPGATrackSimHit.h.

◆ m_parentage_mask

unsigned long FPGATrackSimHit::m_parentage_mask = 0
protected

Definition at line 292 of file FPGATrackSimHit.h.

◆ m_phiCoord

float FPGATrackSimHit::m_phiCoord = -999
protected

Definition at line 249 of file FPGATrackSimHit.h.

◆ m_phiIndex

int FPGATrackSimHit::m_phiIndex = -1
protected

Definition at line 245 of file FPGATrackSimHit.h.

◆ m_PhiIndexVec

std::vector<int> FPGATrackSimHit::m_PhiIndexVec
protected

Definition at line 312 of file FPGATrackSimHit.h.

◆ m_phiModule

unsigned FPGATrackSimHit::m_phiModule = 0
protected

Definition at line 233 of file FPGATrackSimHit.h.

◆ m_phiWidth

unsigned FPGATrackSimHit::m_phiWidth = 0
protected

Definition at line 235 of file FPGATrackSimHit.h.

◆ m_phiWindow

float FPGATrackSimHit::m_phiWindow = 0
protected

Definition at line 269 of file FPGATrackSimHit.h.

◆ m_privateStoreState

PrivateStoreState SG::IAuxElement::m_privateStoreState
privateinherited

Definition at line 137 of file IAuxElement.h.

◆ m_rdoIdentifier

Identifier::value_type FPGATrackSimHit::m_rdoIdentifier = 0
protected

Definition at line 226 of file FPGATrackSimHit.h.

◆ m_roadID

int FPGATrackSimHit::m_roadID = 0
protected

Definition at line 309 of file FPGATrackSimHit.h.

◆ m_section

int FPGATrackSimHit::m_section = -1
protected

Definition at line 240 of file FPGATrackSimHit.h.

◆ m_side

unsigned FPGATrackSimHit::m_side = 0
protected

Definition at line 229 of file FPGATrackSimHit.h.

◆ m_side_old

unsigned FPGATrackSimHit::m_side_old = 0
protected

Definition at line 230 of file FPGATrackSimHit.h.

◆ m_stripChipinITKEDM

int FPGATrackSimHit::m_stripChipinITKEDM = -1
protected

Definition at line 305 of file FPGATrackSimHit.h.

◆ m_stripHitMapinITKEDM

int FPGATrackSimHit::m_stripHitMapinITKEDM = -1
protected

Definition at line 306 of file FPGATrackSimHit.h.

◆ m_stripRowinITKEDM

int FPGATrackSimHit::m_stripRowinITKEDM = -1
protected

Definition at line 304 of file FPGATrackSimHit.h.

◆ m_ToT

unsigned FPGATrackSimHit::m_ToT = 0
protected

Definition at line 286 of file FPGATrackSimHit.h.

◆ m_truth

FPGATrackSimMultiTruth FPGATrackSimHit::m_truth
protected

Definition at line 294 of file FPGATrackSimHit.h.

◆ m_uniqueID

HepMcParticleLink::barcode_type FPGATrackSimHit::m_uniqueID = 0
protected

Definition at line 289 of file FPGATrackSimHit.h.

◆ m_x

float FPGATrackSimHit::m_x = 0
protected

Definition at line 259 of file FPGATrackSimHit.h.

◆ m_y

float FPGATrackSimHit::m_y = 0
protected

Definition at line 260 of file FPGATrackSimHit.h.

◆ m_z

float FPGATrackSimHit::m_z = 0
protected

Definition at line 261 of file FPGATrackSimHit.h.

◆ supportsThinning

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 960 of file AuxElement.h.


The documentation for this class was generated from the following files: