All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CheatingCosmicRayShowerMatchingAlg.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArCheating/CheatingCosmicRayShowerMatchingAlg.h
3  *
4  * @brief Header file for the cosmic ray shower matching cheater class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_CHEATING_COSMIC_RAY_SHOWER_MATCHING_ALG_H
9 #define LAR_CHEATING_COSMIC_RAY_SHOWER_MATCHING_ALG_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief CheatingCosmicRayShowerMatchingAlg class
18  */
19 class CheatingCosmicRayShowerMatchingAlg : public pandora::Algorithm
20 {
21 private:
22  pandora::StatusCode Run();
23 
24  /**
25  * @brief Get the list of candidate clusters for matching with existing pfos
26  *
27  * @param candidateClusterList to receive the list of candidate clusters
28  */
29  void GetCandidateClusters(pandora::ClusterList &candidateClusterList) const;
30 
31  /**
32  * @brief Perform cosmic ray shower matching for a specific cluster in a pfo
33  *
34  * @param pPfo the pfo of interest
35  * @param pPfoCluster the pfo cluster of interest
36  * @param candidateClusterList the list of candidate clusters
37  */
38  void CosmicRayShowerMatching(const pandora::ParticleFlowObject *const pPfo, const pandora::Cluster *const pPfoCluster,
39  const pandora::ClusterList &candidateClusterList) const;
40 
41  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
42 
43  std::string m_inputPfoListName; ///< The input pfo list name
44  pandora::StringVector m_inputClusterListNames; ///< The input cluster list names
45 };
46 
47 } // namespace lar_content
48 
49 #endif // #ifndef LAR_CHEATING_COSMIC_RAY_SHOWER_MATCHING_ALG_H
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
pandora::StringVector m_inputClusterListNames
The input cluster list names.
void GetCandidateClusters(pandora::ClusterList &candidateClusterList) const
Get the list of candidate clusters for matching with existing pfos.
void CosmicRayShowerMatching(const pandora::ParticleFlowObject *const pPfo, const pandora::Cluster *const pPfoCluster, const pandora::ClusterList &candidateClusterList) const
Perform cosmic ray shower matching for a specific cluster in a pfo.