PfoCreationAlgorithm class.
More...
#include <PfoCreationAlgorithm.h>
|
typedef
PandoraContentApi::ParticleFlowObject::Parameters | PfoParameters |
|
|
pandora::StatusCode | Run () |
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
pandora::StatusCode | CreateTrackBasedPfos () const |
| Create particle flow objects starting from tracks in the main tracker. The pfos will account for associated daughter/sibling tracks and associated calorimeter clusters.
|
|
pandora::StatusCode | PopulateTrackBasedPfo (const pandora::Track *const pTrack, PfoParameters &pfoParameters, const bool readSiblingInfo=true) const |
| Add relevant tracks and clusters to a track-based pfo. More...
|
|
pandora::StatusCode | SetTrackBasedPfoParameters (const pandora::Track *const pTrack, PfoParameters &pfoParameters) const |
| Set the basic parameters for a track-based pfo. More...
|
|
pandora::StatusCode | SetSiblingTrackBasedPfoParameters (const pandora::Track *const pTrack, PfoParameters &pfoParameters) const |
| Set the parameters for a track-based pfo, where pfo target consists of two or more sibling tracks. More...
|
|
pandora::StatusCode | SetDaughterTrackBasedPfoParameters (const pandora::Track *const pTrack, PfoParameters &pfoParameters) const |
| Set the parameters for a track-based pfo, where the pfo target has one or more daughter tracks. More...
|
|
pandora::StatusCode | SetSimpleTrackBasedPfoParameters (const pandora::Track *const pTrack, PfoParameters &pfoParameters) const |
| Set the parameters for a simple track-based pfo, where the track has no associations with other tracks. More...
|
|
pandora::StatusCode | CreateNeutralPfos () const |
| Create particle flow objects corresponding to neutral particles, These pfos consist only of clusters that have no associated tracks.
|
|
const pandora::CartesianVector | GetEnergyWeightedCentroid (const pandora::Cluster *const pCluster, const unsigned int innerPseudoLayer, const unsigned int outerPseudoLayer) const |
| Get the energy-weighted centroid for a specified cluster, calculated over a particular pseudo layer range. More...
|
|
const CartesianVector april_content::PfoCreationAlgorithm::GetEnergyWeightedCentroid |
( |
const pandora::Cluster *const |
pCluster, |
|
|
const unsigned int |
innerPseudoLayer, |
|
|
const unsigned int |
outerPseudoLayer |
|
) |
| const |
|
private |
Get the energy-weighted centroid for a specified cluster, calculated over a particular pseudo layer range.
- Parameters
-
pCluster | address of the cluster to consider |
pseudoLayer | the inner pseudo layer of interest |
pseudoLayer | the outer pseudo layer of interest |
- Returns
- The energy-weighted centroid, returned by value
StatusCode april_content::PfoCreationAlgorithm::PopulateTrackBasedPfo |
( |
const pandora::Track *const |
pTrack, |
|
|
PfoParameters & |
pfoParameters, |
|
|
const bool |
readSiblingInfo = true |
|
) |
| const |
|
private |
Add relevant tracks and clusters to a track-based pfo.
- Parameters
-
pTrack | address of the track to consider |
pfoParameters | the pfo parameters to populate |
readSiblingInfo | whether to read sibling track information (set to false to avoid multiple counting) |
StatusCode april_content::PfoCreationAlgorithm::SetDaughterTrackBasedPfoParameters |
( |
const pandora::Track *const |
pTrack, |
|
|
PfoParameters & |
pfoParameters |
|
) |
| const |
|
private |
Set the parameters for a track-based pfo, where the pfo target has one or more daughter tracks.
- Parameters
-
pTrack | address of the track to consider |
pfoParameters | the pfo parameters to populate |
StatusCode april_content::PfoCreationAlgorithm::SetSiblingTrackBasedPfoParameters |
( |
const pandora::Track *const |
pTrack, |
|
|
PfoParameters & |
pfoParameters |
|
) |
| const |
|
private |
Set the parameters for a track-based pfo, where pfo target consists of two or more sibling tracks.
- Parameters
-
pTrack | address of the track to consider |
pfoParameters | the pfo parameters to populate |
StatusCode april_content::PfoCreationAlgorithm::SetSimpleTrackBasedPfoParameters |
( |
const pandora::Track *const |
pTrack, |
|
|
PfoParameters & |
pfoParameters |
|
) |
| const |
|
private |
Set the parameters for a simple track-based pfo, where the track has no associations with other tracks.
- Parameters
-
pTrack | address of the track to consider |
pfoParameters | the pfo parameters to populate |
StatusCode april_content::PfoCreationAlgorithm::SetTrackBasedPfoParameters |
( |
const pandora::Track *const |
pTrack, |
|
|
PfoParameters & |
pfoParameters |
|
) |
| const |
|
private |
Set the basic parameters for a track-based pfo.
- Parameters
-
pTrack | address of the track to consider |
pfoParameters | the pfo parameters to populate |
The documentation for this class was generated from the following files: