APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
UnassociatedTrackRecoveryAlg.h
Go to the documentation of this file.
1 /*
3  *
4  * UnassociatedTrackRecoveryAlg.h header template automatically generated by a class generator
5  * Creation date : jeu. juil. 7 2016
6  *
7  * This file is part of APRILContent libraries.
8  *
9  * APRILContent is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  * based upon these libraries are permitted. Any copy of these libraries
14  * must include this copyright notice.
15  *
16  * APRILContent is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with APRILContent. If not, see <http://www.gnu.org/licenses/>.
23  *
24  * @author Remi Ete
25  * @copyright CNRS , IPNL
26  */
27 
28 
29 #ifndef UNASSOCIATEDTRACKRECOVERYALG_H
30 #define UNASSOCIATEDTRACKRECOVERYALG_H
31 
32 #include "Pandora/Algorithm.h"
33 #include "Pandora/PandoraInternal.h"
34 #include "Pandora/PandoraInputTypes.h"
35 
36 namespace april_content
37 {
38 
42 class UnassociatedTrackRecoveryAlg : public pandora::Algorithm
43 {
44 public:
48  class Factory : public pandora::AlgorithmFactory
49  {
50  public:
51  pandora::Algorithm *CreateAlgorithm() const;
52  };
53 
54 private:
55  pandora::StatusCode Run();
56  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
57 
63  pandora::StatusCode GetUnassociatedClusters(pandora::ClusterVector &clusterVector) const;
64 
70  pandora::StatusCode GetUnassociatedTracks(pandora::TrackVector &trackVector) const;
71 
78  pandora::StatusCode PerformPossibleTrackClusterAssociations(const pandora::ClusterVector &clusterVector, const pandora::TrackVector &trackVector) const;
79 
80 private:
89 };
90 
91 //------------------------------------------------------------------------------------------------------------------------------------------
92 
93 inline pandora::Algorithm *UnassociatedTrackRecoveryAlg::Factory::CreateAlgorithm() const
94 {
95  return new UnassociatedTrackRecoveryAlg();
96 }
97 
98 }
99 
100 #endif // UNASSOCIATEDTRACKRECOVERYALG_H
pandora::StatusCode PerformPossibleTrackClusterAssociations(const pandora::ClusterVector &clusterVector, const pandora::TrackVector &trackVector) const
Perform possible associations between tracks and clusters.
Definition: UnassociatedTrackRecoveryAlg.cc:132
float m_maxAssociationChi
The max (absolute) chi for a possible track-cluster association.
Definition: UnassociatedTrackRecoveryAlg.h:88
float m_maxEndCapProjectionAngle
The max angle between the track and the endcap (if projected to endcap)
Definition: UnassociatedTrackRecoveryAlg.h:83
float m_minEnergyAtDca
The min energy at dca for an eligible track.
Definition: UnassociatedTrackRecoveryAlg.h:82
float m_trackClusterDistanceCut
The track-cluster distance cut.
Definition: UnassociatedTrackRecoveryAlg.h:86
float m_trackClusterDistanceCut2
The track-cluster distance cut if energy improved.
Definition: UnassociatedTrackRecoveryAlg.h:87
Factory class for instantiating algorithm.
Definition: UnassociatedTrackRecoveryAlg.h:48
pandora::StatusCode GetUnassociatedTracks(pandora::TrackVector &trackVector) const
Get the list of un-associated and eligible tracks.
Definition: UnassociatedTrackRecoveryAlg.cc:80
pandora::StatusCode GetUnassociatedClusters(pandora::ClusterVector &clusterVector) const
Get the list of un-associated and eligible clusters.
Definition: UnassociatedTrackRecoveryAlg.cc:50
UnassociatedTrackRecoveryAlg class.
Definition: UnassociatedTrackRecoveryAlg.h:42
float m_maxTrackClusterDistance
The max track-cluster distance for distance evaluation.
Definition: UnassociatedTrackRecoveryAlg.h:85
unsigned int m_maxClusterInnerPseudoLayer
The max inner pseudo layer for an eligible cluster.
Definition: UnassociatedTrackRecoveryAlg.h:84
float m_maxOmegaTrack
The max omega for an eligible track.
Definition: UnassociatedTrackRecoveryAlg.h:81