LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ShowerHierarchyMopUpAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef LAR_SHOWER_HIERARCHY_MOP_UP_ALGORITHM_H
9 #define LAR_SHOWER_HIERARCHY_MOP_UP_ALGORITHM_H 1
10 
12 
13 namespace lar_content
14 {
15 
20 {
21 private:
22  pandora::StatusCode Run();
23 
30  void FindParentShowerPfos(const pandora::PfoList *const pLeadingPfoList, pandora::PfoList &parentShowerPfos) const;
31 
38  void FindParentShowerPfos(const pandora::Pfo *const pLeadiPfo, pandora::PfoList &parentShowerPfos) const;
39 
45  void PerformPfoMerges(const pandora::PfoList &parentShowerPfos) const;
46 
47  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
48 
49  std::string m_leadingPfoListName;
50 };
51 
52 } // namespace lar_content
53 
54 #endif // #ifndef LAR_SHOWER_HIERARCHY_MOP_UP_ALGORITHM_H
std::string m_leadingPfoListName
The input leading pfo list name (e.g. list of neutrino or testbeam pfos)
void PerformPfoMerges(const pandora::PfoList &parentShowerPfos) const
For each parent shower pfo, merge all downstream pfos back into the parent shower.
PfoMopUpBaseAlgorithm class.
void FindParentShowerPfos(const pandora::PfoList *const pLeadingPfoList, pandora::PfoList &parentShowerPfos) const
Starting with provided leading pfos, find all shower pfos that themselves have daughter pfos...
Header file for the pfo mop up algorithm base class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)