Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
LArParticleIdPlugins.h
Go to the documentation of this file.
1
8#ifndef LAR_PARTICLE_ID_PLUGINS_H
9#define LAR_PARTICLE_ID_PLUGINS_H 1
10
12
13namespace lar_content
14{
15
16class TwoDSlidingFitResult;
17
18//------------------------------------------------------------------------------------------------------------------------------------------
19
24{
25public:
30 {
31 public:
35 LArMuonId();
36
37 bool IsMatch(const pandora::Cluster *const pCluster) const;
38 bool IsMatch(const pandora::ParticleFlowObject *const pPfo) const;
39
40 private:
48 float GetMuonTrackWidth(const TwoDSlidingFitResult &twoDSlidingFitResult) const;
49
51
52 unsigned int m_layerFitHalfWindow;
57 };
58};
59
60} // namespace lar_content
61
62#endif // #ifndef LAR_PARTICLE_ID_PLUGINS_H
Header file for the particle id plugin class.
unsigned int m_minClustersPassingId
Match pfo if at sufficient clusters in pfo pass the cluster particle id logic.
bool IsMatch(const pandora::Cluster *const pCluster) const
Whether the cluster matches the specific particle hypothesis.
float m_maxTrackWidth
Max muon track width estimator for muon identification.
float GetMuonTrackWidth(const TwoDSlidingFitResult &twoDSlidingFitResult) const
Get the muon track width estimator for a provided sliding fit result.
unsigned int m_layerFitHalfWindow
Layer fit half window, used for calculating sliding muon track width.
float m_minLayerOccupancy
Min layer occupancy for for muon identification.
float m_trackResidualQuantile
Track residual quantile, used for calculating muon track width.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Cluster class.
Definition Cluster.h:31
ParticleFlowObject class.
ParticleIdPlugin class.
StatusCode
The StatusCode enum.