1 #ifndef BSEMCCLUSTERINGPROCESS_HH 2 #define BSEMCCLUSTERINGPROCESS_HH 10 #include "RtypesCore.h" 29 class TMemberInspector;
61 virtual void SetDetectorName(
const std::string &t_detectorName) ;
64 virtual void Process() ;
65 std::vector<BSEmcCluster *> Clustering(
const std::vector<const BSEmcDigi *> &t_digis);
73 std::string fClusteringParName{
""};
74 std::string fClusterPropertiesParName{
""};
75 std::string fPositionParName{
""};
76 std::string fNeighbouringRelationParName{
""};
77 std::string fDigiBranchName{
""};
78 Double_t fClusterActiveTime{-1};
79 Double_t fDigiEnergyThreshold{-1};
84 std::vector<DigiClusteringCandidate> fDigiCandidates{};
86 Int_t fNDigisPassed{-1};
87 std::vector<std::pair<Int_t, Int_t>> fClusterNumbersForSameCluster{};
93 void CreateClusterableDigiCandidates(
const std::vector<const BSEmcDigi *> &t_digis);
94 void FindNeighboursOfEveryDigi();
95 Bool_t AreDigisNeighbours(Int_t t_digi1, Int_t t_digi2)
const;
96 void PrimaryClustering();
97 void SecondaryClustering();
98 void CleanUpClusterNumbering();
99 std::vector<BSEmcCluster *> CreateEmcCluster();
Container for clustering parameter.
void SetClusteringParName(const std::string &t_parName)
Helper class to calculate the cluster position.
void SetNeighbouringRelationParName(const std::string &t_parName)
std::vector< Int_t > Neighbours
a cluster (group of neighboring crystals) of hit emc crystals
void SetPositionParName(const std::string &t_parName)
void SetClusterPropertiesParName(const std::string &t_parName)
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
represents the reconstructed hit of one emc crystal
Interface to a datacontainer to be used in PandaROOT.
Helper class to calculate the Energies of a cluster.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
Neigbouring Relations based on a list of detectorIds.
represents a reconstructed (splitted) emc cluster
Rewritten version of old PndEmcMakeCluster algorithm for easier understanding and debugging...