APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
ConnectorPlusTool.h
Go to the documentation of this file.
1 /*
3  *
4  * ConnectorPlusTool.h header template automatically generated by a class generator
5  * Creation date : mar. d�c. 8 2015
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 CONNECTORPLUSTOOL_H
30 #define CONNECTORPLUSTOOL_H
31 
33 
34 namespace april_content
35 {
36 
37 class CaloHit;
38 class Connector;
39 
44 {
45 public:
49  class Factory : public pandora::AlgorithmToolFactory
50  {
51  public:
52  pandora::AlgorithmTool *CreateAlgorithmTool() const;
53  };
54 
61  pandora::StatusCode Process(const pandora::Algorithm &algorithm, const pandora::CaloHitList *const pCaloHitList = nullptr);
62 
68  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
69 
70 private:
71  unsigned int m_maxBackLayer;
72  float m_hitSearchRange;
73  float m_maxConnectionAngleFine;
74  float m_maxConnectionAngleCoarse;
75  float m_maxTransverseDistanceFine;
76  float m_maxTransverseDistanceCoarse;
77  unsigned int m_maxPseudoLayerConnection;
78  bool m_connectOnlyAvailable;
79  bool m_shouldUseIsolatedHits;
80  bool m_shouldDiscriminateConnectedHits;
81 };
82 
83 //------------------------------------------------------------------------------------------------------------------------------------------
84 
85 inline pandora::AlgorithmTool *ConnectorPlusTool::Factory::CreateAlgorithmTool() const
86 {
87  return new ConnectorPlusTool();
88 }
89 
90 }
91 
92 #endif
pandora::StatusCode Process(const pandora::Algorithm &algorithm, const pandora::CaloHitList *const pCaloHitList=nullptr)
Seed connectors from the calo hit list.
Definition: ConnectorPlusTool.cc:42
ConnectorPlusTool class.
Definition: ConnectorPlusTool.h:43
ConnectorAlgorithmTool class.
Definition: ConnectorAlgorithmTool.h:41
Factory class for instantiating algorithm tool.
Definition: ConnectorPlusTool.h:49
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read settings from the xml handle.
Definition: ConnectorPlusTool.cc:279