Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LArTrackPfo Class Reference

lar pfo object More...

#include "LArTrackPfo.h"

Inheritance diagram for lar_content::LArTrackPfo:
Collaboration diagram for lar_content::LArTrackPfo:

Public Member Functions

 LArTrackPfo (const LArTrackPfoParameters &parameters)
 Constructor.
 
const pandora::CartesianVectorGetVertexPosition () const
 Get vertex position.
 
const pandora::CartesianVectorGetEndPosition () const
 Get end position.
 
const pandora::CartesianVectorGetVertexDirection () const
 Get vertex direction.
 
const pandora::CartesianVectorGetEndDirection () const
 Get end direction.
 
int GetParticleId () const
 Get the particle flow object id (PDG code)
 
int GetCharge () const
 Get particle flow object charge.
 
float GetMass () const
 Get particle flow object mass.
 
float GetEnergy () const
 Get the particle flow object energy.
 
const CartesianVectorGetMomentum () const
 Get particle flow object momentum vector.
 
const TrackListGetTrackList () const
 Get the track list.
 
const ClusterListGetClusterList () const
 Get the cluster list.
 
const VertexListGetVertexList () const
 Get the vertex list.
 
TrackAddressList GetTrackAddressList () const
 Get track address list.
 
ClusterAddressList GetClusterAddressList () const
 Get the cluster address list.
 
unsigned int GetNTracks () const
 Get the number of tracks in the particle flow object.
 
unsigned int GetNClusters () const
 Get the number of clusters in the particle flow object.
 
const PfoListGetParentPfoList () const
 Get the parent pfo list.
 
const PfoListGetDaughterPfoList () const
 Get the daughter pfo list.
 
unsigned int GetNParentPfos () const
 Get the number of parent pfos.
 
unsigned int GetNDaughterPfos () const
 Get the number of daughter pfos.
 
const PropertiesMapGetPropertiesMap () const
 Get the map from registered property name to floating point property value.
 
template<>
StatusCode AddToPfo (const Cluster *const pCluster)
 
template<>
StatusCode AddToPfo (const Track *const pTrack)
 
template<>
StatusCode AddToPfo (const Vertex *const pVertex)
 
template<>
StatusCode RemoveFromPfo (const Cluster *const pCluster)
 
template<>
StatusCode RemoveFromPfo (const Track *const pTrack)
 
template<>
StatusCode RemoveFromPfo (const Vertex *const pVertex)
 

Public Attributes

const LArTrackStateVector m_trackStateVector
 The vector of track states.
 

Protected Member Functions

StatusCode AlterMetadata (const object_creation::ParticleFlowObject::Metadata &metadata)
 Alter particle flow object metadata parameters.
 
template<typename T >
StatusCode AddToPfo (const T *const pT)
 Add an object to the particle flow object.
 
template<typename T >
StatusCode RemoveFromPfo (const T *const pT)
 Remove an object from the particle flow object.
 
StatusCode AddParent (const ParticleFlowObject *const pPfo)
 Add a parent pfo to the parent pfo list.
 
StatusCode AddDaughter (const ParticleFlowObject *const pPfo)
 Add a daughter pfo to the daughter pfo list.
 
StatusCode RemoveParent (const ParticleFlowObject *const pPfo)
 Remove a parent pfo from the parent pfo list.
 
StatusCode RemoveDaughter (const ParticleFlowObject *const pPfo)
 Remove a daughter pfo from the daughter pfo list.
 
StatusCode UpdatePropertiesMap (const object_creation::ParticleFlowObject::Metadata &metadata)
 Update the properties map.
 

Protected Attributes

int m_particleId
 The particle flow object id (PDG code)
 
int m_charge
 The particle flow object charge.
 
float m_mass
 The particle flow object mass.
 
float m_energy
 The particle flow object energy.
 
CartesianVector m_momentum
 The particle flow object momentum.
 
TrackList m_trackList
 The track list.
 
ClusterList m_clusterList
 The cluster list.
 
VertexList m_vertexList
 The vertex list.
 
PfoList m_parentPfoList
 The list of parent pfos.
 
PfoList m_daughterPfoList
 The list of daughter pfos.
 
PropertiesMap m_propertiesMap
 The map from registered property name to floating point property value.
 

Detailed Description

lar pfo object

Definition at line 44 of file LArTrackPfo.h.

Constructor & Destructor Documentation

◆ LArTrackPfo()

lar_content::LArTrackPfo::LArTrackPfo ( const LArTrackPfoParameters parameters)

Constructor.

Definition at line 18 of file LArTrackPfo.cc.

Member Function Documentation

◆ AddDaughter()

StatusCode pandora::ParticleFlowObject::AddDaughter ( const ParticleFlowObject *const  pPfo)
protectedinherited

Add a daughter pfo to the daughter pfo list.

Parameters
pPfothe address of the daughter pfo

Definition at line 190 of file ParticleFlowObject.cc.

◆ AddParent()

StatusCode pandora::ParticleFlowObject::AddParent ( const ParticleFlowObject *const  pPfo)
protectedinherited

Add a parent pfo to the parent pfo list.

Parameters
pPfothe address of the parent pfo

Definition at line 176 of file ParticleFlowObject.cc.

◆ AddToPfo() [1/4]

template<>
StatusCode pandora::ParticleFlowObject::AddToPfo ( const Cluster *const  pCluster)
inherited

Definition at line 107 of file ParticleFlowObject.cc.

◆ AddToPfo() [2/4]

template<typename T >
StatusCode pandora::ParticleFlowObject::AddToPfo ( const T *const  pT)
protectedinherited

Add an object to the particle flow object.

Parameters
pTaddress of the object to add

◆ AddToPfo() [3/4]

template<>
StatusCode pandora::ParticleFlowObject::AddToPfo ( const Track *const  pTrack)
inherited

Definition at line 117 of file ParticleFlowObject.cc.

◆ AddToPfo() [4/4]

template<>
StatusCode pandora::ParticleFlowObject::AddToPfo ( const Vertex *const  pVertex)
inherited

Definition at line 127 of file ParticleFlowObject.cc.

◆ AlterMetadata()

StatusCode pandora::ParticleFlowObject::AlterMetadata ( const object_creation::ParticleFlowObject::Metadata metadata)
protectedinherited

Alter particle flow object metadata parameters.

Parameters
metaDatathe new particle flow object metadata (all fields now optional)

Definition at line 42 of file ParticleFlowObject.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCharge()

int pandora::ParticleFlowObject::GetCharge ( ) const
inlineinherited

Get particle flow object charge.

Returns
The particle flow object charge

Definition at line 246 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetClusterAddressList()

ClusterAddressList pandora::ParticleFlowObject::GetClusterAddressList ( ) const
inherited

Get the cluster address list.

Returns
The cluster address list

Definition at line 81 of file ParticleFlowObject.cc.

Here is the call graph for this function:

◆ GetClusterList()

const ClusterList & pandora::ParticleFlowObject::GetClusterList ( ) const
inlineinherited

Get the cluster list.

Returns
The cluster list

Definition at line 281 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetDaughterPfoList()

const PfoList & pandora::ParticleFlowObject::GetDaughterPfoList ( ) const
inlineinherited

Get the daughter pfo list.

Returns
The daughter pfo list

Definition at line 316 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetEndDirection()

const CartesianVector & lar_content::LArTrackPfo::GetEndDirection ( ) const

Get end direction.

Definition at line 56 of file LArTrackPfo.cc.

◆ GetEndPosition()

const CartesianVector & lar_content::LArTrackPfo::GetEndPosition ( ) const

Get end position.

Definition at line 36 of file LArTrackPfo.cc.

◆ GetEnergy()

float pandora::ParticleFlowObject::GetEnergy ( ) const
inlineinherited

Get the particle flow object energy.

Returns
The particle flow object energy

Definition at line 260 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetMass()

float pandora::ParticleFlowObject::GetMass ( ) const
inlineinherited

Get particle flow object mass.

Returns
The particle flow object mass

Definition at line 253 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetMomentum()

const CartesianVector & pandora::ParticleFlowObject::GetMomentum ( ) const
inlineinherited

Get particle flow object momentum vector.

Returns
The particle flow object momentum vector

Definition at line 267 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetNClusters()

unsigned int pandora::ParticleFlowObject::GetNClusters ( ) const
inlineinherited

Get the number of clusters in the particle flow object.

Returns
The number of clusters in the particle flow object

Definition at line 302 of file ParticleFlowObject.h.

◆ GetNDaughterPfos()

unsigned int pandora::ParticleFlowObject::GetNDaughterPfos ( ) const
inlineinherited

Get the number of daughter pfos.

Returns
The number of daughter pfos

Definition at line 330 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetNParentPfos()

unsigned int pandora::ParticleFlowObject::GetNParentPfos ( ) const
inlineinherited

Get the number of parent pfos.

Returns
The number of parent pfos

Definition at line 323 of file ParticleFlowObject.h.

◆ GetNTracks()

unsigned int pandora::ParticleFlowObject::GetNTracks ( ) const
inlineinherited

Get the number of tracks in the particle flow object.

Returns
The number of tracks in the particle flow object

Definition at line 295 of file ParticleFlowObject.h.

◆ GetParentPfoList()

const PfoList & pandora::ParticleFlowObject::GetParentPfoList ( ) const
inlineinherited

Get the parent pfo list.

Returns
The parent pfo list

Definition at line 309 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetParticleId()

int pandora::ParticleFlowObject::GetParticleId ( ) const
inlineinherited

Get the particle flow object id (PDG code)

Returns
The particle flow object id

Definition at line 239 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetPropertiesMap()

const PropertiesMap & pandora::ParticleFlowObject::GetPropertiesMap ( ) const
inlineinherited

Get the map from registered property name to floating point property value.

Returns
The properties map

Definition at line 337 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetTrackAddressList()

TrackAddressList pandora::ParticleFlowObject::GetTrackAddressList ( ) const
inherited

Get track address list.

Returns
The track address list

Definition at line 67 of file ParticleFlowObject.cc.

◆ GetTrackList()

const TrackList & pandora::ParticleFlowObject::GetTrackList ( ) const
inlineinherited

Get the track list.

Returns
The track list

Definition at line 274 of file ParticleFlowObject.h.

◆ GetVertexDirection()

const CartesianVector & lar_content::LArTrackPfo::GetVertexDirection ( ) const

Get vertex direction.

Definition at line 46 of file LArTrackPfo.cc.

Here is the caller graph for this function:

◆ GetVertexList()

const VertexList & pandora::ParticleFlowObject::GetVertexList ( ) const
inlineinherited

Get the vertex list.

Returns
The vertex list

Definition at line 288 of file ParticleFlowObject.h.

Here is the caller graph for this function:

◆ GetVertexPosition()

const CartesianVector & lar_content::LArTrackPfo::GetVertexPosition ( ) const

Get vertex position.

Definition at line 26 of file LArTrackPfo.cc.

Here is the caller graph for this function:

◆ RemoveDaughter()

StatusCode pandora::ParticleFlowObject::RemoveDaughter ( const ParticleFlowObject *const  pPfo)
protectedinherited

Remove a daughter pfo from the daughter pfo list.

Parameters
pPfothe address of the daughter pfo

Definition at line 217 of file ParticleFlowObject.cc.

◆ RemoveFromPfo() [1/4]

template<>
StatusCode pandora::ParticleFlowObject::RemoveFromPfo ( const Cluster *const  pCluster)
inherited

Definition at line 139 of file ParticleFlowObject.cc.

◆ RemoveFromPfo() [2/4]

template<typename T >
StatusCode pandora::ParticleFlowObject::RemoveFromPfo ( const T *const  pT)
protectedinherited

Remove an object from the particle flow object.

Parameters
pTaddress of the object to remove

◆ RemoveFromPfo() [3/4]

template<>
StatusCode pandora::ParticleFlowObject::RemoveFromPfo ( const Track *const  pTrack)
inherited

Definition at line 151 of file ParticleFlowObject.cc.

◆ RemoveFromPfo() [4/4]

template<>
StatusCode pandora::ParticleFlowObject::RemoveFromPfo ( const Vertex *const  pVertex)
inherited

Definition at line 163 of file ParticleFlowObject.cc.

◆ RemoveParent()

StatusCode pandora::ParticleFlowObject::RemoveParent ( const ParticleFlowObject *const  pPfo)
protectedinherited

Remove a parent pfo from the parent pfo list.

Parameters
pPfothe address of the parent pfo

Definition at line 204 of file ParticleFlowObject.cc.

◆ UpdatePropertiesMap()

StatusCode pandora::ParticleFlowObject::UpdatePropertiesMap ( const object_creation::ParticleFlowObject::Metadata metadata)
protectedinherited

Update the properties map.

Parameters
metaDatathe new particle flow object metadata

Definition at line 230 of file ParticleFlowObject.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ m_charge

int pandora::ParticleFlowObject::m_charge
protectedinherited

The particle flow object charge.

Definition at line 219 of file ParticleFlowObject.h.

◆ m_clusterList

ClusterList pandora::ParticleFlowObject::m_clusterList
protectedinherited

The cluster list.

Definition at line 224 of file ParticleFlowObject.h.

◆ m_daughterPfoList

PfoList pandora::ParticleFlowObject::m_daughterPfoList
protectedinherited

The list of daughter pfos.

Definition at line 227 of file ParticleFlowObject.h.

◆ m_energy

float pandora::ParticleFlowObject::m_energy
protectedinherited

The particle flow object energy.

Definition at line 221 of file ParticleFlowObject.h.

◆ m_mass

float pandora::ParticleFlowObject::m_mass
protectedinherited

The particle flow object mass.

Definition at line 220 of file ParticleFlowObject.h.

◆ m_momentum

CartesianVector pandora::ParticleFlowObject::m_momentum
protectedinherited

The particle flow object momentum.

Definition at line 222 of file ParticleFlowObject.h.

◆ m_parentPfoList

PfoList pandora::ParticleFlowObject::m_parentPfoList
protectedinherited

The list of parent pfos.

Definition at line 226 of file ParticleFlowObject.h.

◆ m_particleId

int pandora::ParticleFlowObject::m_particleId
protectedinherited

The particle flow object id (PDG code)

Definition at line 218 of file ParticleFlowObject.h.

◆ m_propertiesMap

PropertiesMap pandora::ParticleFlowObject::m_propertiesMap
protectedinherited

The map from registered property name to floating point property value.

Definition at line 228 of file ParticleFlowObject.h.

◆ m_trackList

TrackList pandora::ParticleFlowObject::m_trackList
protectedinherited

The track list.

Definition at line 223 of file ParticleFlowObject.h.

◆ m_trackStateVector

const LArTrackStateVector lar_content::LArTrackPfo::m_trackStateVector

The vector of track states.

Definition at line 73 of file LArTrackPfo.h.

◆ m_vertexList

VertexList pandora::ParticleFlowObject::m_vertexList
protectedinherited

The vertex list.

Definition at line 225 of file ParticleFlowObject.h.


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