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());
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 &)
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::DlClusterCharacterisationAlgorithm::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
protected |
The documentation for this class was generated from the following files: