DlPfoCharacterisationAlgorithm class.
More...
#include <DlPfoCharacterisationAlgorithm.h>
|
bool | IsClearTrack (const pandora::Cluster *const pCluster) const |
| Whether cluster is identified as a clear track. More...
|
|
bool | IsClearTrack (const pandora::ParticleFlowObject *const pPfo) const |
| Whether pfo is identified as a clear track. More...
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
lar_dl_content::DlPfoCharacterisationAlgorithm::DlPfoCharacterisationAlgorithm |
( |
| ) |
|
bool lar_dl_content::DlPfoCharacterisationAlgorithm::IsClearTrack |
( |
const pandora::Cluster *const |
pCluster | ) |
const |
|
privatevirtual |
bool lar_dl_content::DlPfoCharacterisationAlgorithm::IsClearTrack |
( |
const pandora::ParticleFlowObject *const |
pPfo | ) |
const |
|
privatevirtual |
Whether pfo is identified as a clear track.
- Parameters
-
pPfo | address of the relevant pfo |
- Returns
- boolean
Implements lar_content::PfoCharacterisationBaseAlgorithm.
Definition at line 68 of file DlPfoCharacterisationAlgorithm.cc.
70 ClusterList allClusters;
71 LArPfoHelper::GetTwoDClusterList(pPfo, allClusters);
73 for (
const Cluster *pCluster : allClusters)
75 const OrderedCaloHitList &orderedCaloHitList{pCluster->GetOrderedCaloHitList()};
77 orderedCaloHitList.FillCaloHitList(caloHits);
78 const CaloHitList &isolatedHits{pCluster->GetIsolatedCaloHitList()};
79 caloHits.insert(caloHits.end(), isolatedHits.begin(), isolatedHits.end());
82 for (
const CaloHit *pCaloHit : caloHits)
86 const float pShower{pLArCaloHit->GetShowerProbability()};
87 if ((pTrack + pShower) > std::numeric_limits<float>::epsilon())
88 trackLikelihoods.emplace_back(pTrack / (pTrack + pShower));
91 catch (
const StatusCodeException &)
96 const unsigned long N{trackLikelihoods.size()};
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Dft::FloatVector FloatVector
double mean(sqlite3 *db, std::string const &table_name, std::string const &column_name)
float GetTrackProbability() const
Get the probability that the hit is track-like.
StatusCode lar_dl_content::DlPfoCharacterisationAlgorithm::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
private |
The documentation for this class was generated from the following files: