DlClusterCharacterisationBaseAlgorithm class.
More...
#include <DlClusterCharacterisationAlgorithm.h>
|
bool | IsClearTrack (const pandora::Cluster *const pCluster) const |
| Whether cluster is identified as a clear track. More...
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
pandora::StatusCode | Run () |
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
DlClusterCharacterisationBaseAlgorithm class.
Definition at line 21 of file DlClusterCharacterisationAlgorithm.h.
lar_dl_content::DlClusterCharacterisationAlgorithm::DlClusterCharacterisationAlgorithm |
( |
| ) |
|
lar_dl_content::DlClusterCharacterisationAlgorithm::~DlClusterCharacterisationAlgorithm |
( |
| ) |
|
bool lar_dl_content::DlClusterCharacterisationAlgorithm::IsClearTrack |
( |
const pandora::Cluster *const |
pCluster | ) |
const |
|
protectedvirtual |
Whether cluster is identified as a clear track.
- Parameters
-
pCluster | address of the relevant cluster |
- Returns
- boolean
Implements lar_content::ClusterCharacterisationBaseAlgorithm.
Definition at line 35 of file DlClusterCharacterisationAlgorithm.cc.
37 const OrderedCaloHitList &orderedCaloHitList{pCluster->GetOrderedCaloHitList()};
39 orderedCaloHitList.FillCaloHitList(caloHits);
40 const CaloHitList &isolatedHits{pCluster->GetIsolatedCaloHitList()};
41 caloHits.insert(caloHits.end(), isolatedHits.begin(), isolatedHits.end());
42 FloatVector trackLikelihoods;
45 for (
const CaloHit *pCaloHit : caloHits)
49 const float pShower{pLArCaloHit->GetShowerProbability()};
50 if ((pTrack + pShower) > std::numeric_limits<float>::epsilon())
51 trackLikelihoods.emplace_back(pTrack / (pTrack + pShower));
54 const unsigned long N{trackLikelihoods.size()};
64 catch (
const StatusCodeException &)
auto end(FixedBins< T, C > const &) noexcept
auto begin(FixedBins< T, C > const &) noexcept
double mean(const std::vector< short > &wf, size_t start, size_t nsample)
process_name largeant stream1 can override from command line with o or output physics producers generator N
float GetTrackProbability() const
Get the probability that the hit is track-like.
StatusCode lar_dl_content::DlClusterCharacterisationAlgorithm::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
protected |
The documentation for this class was generated from the following files: