APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
april_content::TrackPreparationAlgorithm Class Reference

TrackPreparationAlgorithm class. More...

#include <TrackPreparationAlgorithm.h>

Inheritance diagram for april_content::TrackPreparationAlgorithm:

Classes

class  Factory
 Factory class for instantiating algorithm. More...
 

Public Member Functions

 TrackPreparationAlgorithm ()
 Default constructor.
 

Private Member Functions

pandora::StatusCode Run ()
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 
pandora::StatusCode CreatePfoTrackList (const pandora::TrackList &inputTrackList, pandora::TrackList &pfoTrackList) const
 Create list of parent tracks to be used in construction of charged pfos. More...
 
bool HasAssociatedClusters (const pandora::Track *const pTrack, const bool readSiblingInfo=true) const
 Whether a track, or any of its daughters or siblings has an associated cluster. More...
 

Private Attributes

pandora::StringVector m_candidateListNames
 The list of track list names to use.
 
std::string m_mergedCandidateListName
 The name under which to save the full, merged, list of candidate tracks.
 
bool m_shouldMakeAssociations
 Whether to re-make track-cluster associations for candidate tracks.
 
pandora::StringVector m_associationAlgorithms
 The ordered list of track-cluster associations algorithm to run.
 
bool m_shouldMakePfoTrackList
 Whether to make pfo track list, containing parent tracks of charged pfos.
 
std::string m_pfoTrackListName
 The name of the pfo track list, containing parent tracks of charged pfos.
 

Detailed Description

TrackPreparationAlgorithm class.

Member Function Documentation

StatusCode april_content::TrackPreparationAlgorithm::CreatePfoTrackList ( const pandora::TrackList &  inputTrackList,
pandora::TrackList &  pfoTrackList 
) const
private

Create list of parent tracks to be used in construction of charged pfos.

Parameters
inputTrackListthe input track list
pfoTrackListto receive the list of parent tracks to be used in construction of charged pfos
bool april_content::TrackPreparationAlgorithm::HasAssociatedClusters ( const pandora::Track *const  pTrack,
const bool  readSiblingInfo = true 
) const
private

Whether a track, or any of its daughters or siblings has an associated cluster.

Parameters
pTrackaddress of the track
readSiblingInfowhether to read sibling track information (set to false to avoid multiple counting)
Returns
boolean

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