ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Rec::ParticleCaloAssociation< T > Class Template Reference

class storing calorimeter cell/cluster association with IParticle objects More...

#include <ParticleCaloAssociation.h>

Collaboration diagram for Rec::ParticleCaloAssociation< T >:

Public Types

typedef std::vector< T > Data
 typedef of Cell vector More...
 

Public Member Functions

 ParticleCaloAssociation (const Trk::CaloExtension *caloExtension, Data &&data, float coneSize)
 constructor taking CaloExtension, a vector of cells and a cone size as arguments More...
 
virtual ~ParticleCaloAssociation ()
 
const Trk::CaloExtensioncaloExtension () const
 return calo extension More...
 
const Datadata () const
 return vector of associated objects More...
 
float associationConeSize () const
 return cone-size used for association More...
 
 ParticleCaloAssociation (ParticleCaloAssociation &&other)
 move constructor More...
 
ParticleCaloAssociationoperator= (ParticleCaloAssociation &&other)
 move assignment operator More...
 
void updateData (Data &&data, float coneSize)
 update data More...
 

Private Member Functions

 ParticleCaloAssociation ()=delete
 no default constructor More...
 
 ParticleCaloAssociation (const ParticleCaloAssociation &)=delete
 no copy constructor More...
 
ParticleCaloAssociationoperator= (const ParticleCaloAssociation &)=delete
 no assignment operator More...
 

Private Attributes

const Trk::CaloExtensionm_caloExtension
 CaloExtension. More...
 
Data m_data
 cell information More...
 
float m_associationConeSize
 cone size used for association More...
 

Detailed Description

template<class T>
class Rec::ParticleCaloAssociation< T >

class storing calorimeter cell/cluster association with IParticle objects

Definition at line 16 of file ParticleCaloAssociation.h.

Member Typedef Documentation

◆ Data

template<class T >
typedef std::vector<T> Rec::ParticleCaloAssociation< T >::Data

typedef of Cell vector

Definition at line 19 of file ParticleCaloAssociation.h.

Constructor & Destructor Documentation

◆ ParticleCaloAssociation() [1/4]

template<class T >
Rec::ParticleCaloAssociation< T >::ParticleCaloAssociation ( const Trk::CaloExtension caloExtension,
Data &&  data,
float  coneSize 
)
inline

constructor taking CaloExtension, a vector of cells and a cone size as arguments

Definition at line 89 of file ParticleCaloAssociation.h.

89  :
91  m_data(data),
93  // cppcheck-suppress missingReturn; false positive
94  }

◆ ~ParticleCaloAssociation()

template<class T >
virtual Rec::ParticleCaloAssociation< T >::~ParticleCaloAssociation ( )
inlinevirtual

Definition at line 24 of file ParticleCaloAssociation.h.

24  {
25  delete m_caloExtension;
26  }

◆ ParticleCaloAssociation() [2/4]

move constructor

◆ ParticleCaloAssociation() [3/4]

template<class T >
Rec::ParticleCaloAssociation< T >::ParticleCaloAssociation ( )
privatedelete

no default constructor

◆ ParticleCaloAssociation() [4/4]

template<class T >
Rec::ParticleCaloAssociation< T >::ParticleCaloAssociation ( const ParticleCaloAssociation< T > &  )
privatedelete

no copy constructor

Member Function Documentation

◆ associationConeSize()

template<class T >
float Rec::ParticleCaloAssociation< T >::associationConeSize
inline

return cone-size used for association

Definition at line 68 of file ParticleCaloAssociation.h.

68  {
69  return m_associationConeSize;
70  }

◆ caloExtension()

template<class T >
const Trk::CaloExtension & Rec::ParticleCaloAssociation< T >::caloExtension
inline

return calo extension

Definition at line 73 of file ParticleCaloAssociation.h.

73  {
74  return *m_caloExtension;
75  }

◆ data()

template<class T >
const ParticleCaloAssociation< T >::Data & Rec::ParticleCaloAssociation< T >::data
inline

return vector of associated objects

Definition at line 78 of file ParticleCaloAssociation.h.

78  {
79  return m_data;
80  }

◆ operator=() [1/2]

template<class T >
ParticleCaloAssociation& Rec::ParticleCaloAssociation< T >::operator= ( const ParticleCaloAssociation< T > &  )
privatedelete

no assignment operator

◆ operator=() [2/2]

template<class T >
ParticleCaloAssociation& Rec::ParticleCaloAssociation< T >::operator= ( ParticleCaloAssociation< T > &&  other)

move assignment operator

◆ updateData()

template<class T >
void Rec::ParticleCaloAssociation< T >::updateData ( Data &&  data,
float  coneSize 
)
inline

update data

Definition at line 83 of file ParticleCaloAssociation.h.

83  {
84  m_data = data;
86  }

Member Data Documentation

◆ m_associationConeSize

template<class T >
float Rec::ParticleCaloAssociation< T >::m_associationConeSize
private

cone size used for association

Definition at line 63 of file ParticleCaloAssociation.h.

◆ m_caloExtension

template<class T >
const Trk::CaloExtension* Rec::ParticleCaloAssociation< T >::m_caloExtension
private

CaloExtension.

Definition at line 57 of file ParticleCaloAssociation.h.

◆ m_data

template<class T >
Data Rec::ParticleCaloAssociation< T >::m_data
private

cell information

Definition at line 60 of file ParticleCaloAssociation.h.


The documentation for this class was generated from the following file:
Rec::ParticleCaloAssociation::m_caloExtension
const Trk::CaloExtension * m_caloExtension
CaloExtension.
Definition: ParticleCaloAssociation.h:57
Rec::ParticleCaloAssociation::m_associationConeSize
float m_associationConeSize
cone size used for association
Definition: ParticleCaloAssociation.h:63
Rec::ParticleCaloAssociation::caloExtension
const Trk::CaloExtension & caloExtension() const
return calo extension
Definition: ParticleCaloAssociation.h:73
Rec::ParticleCaloAssociation::m_data
Data m_data
cell information
Definition: ParticleCaloAssociation.h:60
xAOD::Iso::coneSize
float coneSize(IsolationConeSize type)
convert Isolation Size into cone size
Definition: IsolationHelpers.h:27
Rec::ParticleCaloAssociation::data
const Data & data() const
return vector of associated objects
Definition: ParticleCaloAssociation.h:78