1 #ifndef BSEMCCLUSTERINGPROCESS_HH 2 #define BSEMCCLUSTERINGPROCESS_HH 10 #include "RtypesCore.h" 28 class TMemberInspector;
29 struct BSEmcClusteringData;
60 virtual void SetDetectorName(
const std::string &t_detectorName) ;
64 virtual void Process() ;
65 std::vector<BSEmcCluster *> Clustering(
const std::vector<const BSEmcDigi *> &t_digis);
76 std::string fClusteringParName{
""};
77 std::string fClusterPropertiesParName{
""};
78 std::string fPositionParName{
""};
79 std::string fNeighbouringRelationParName{
""};
80 std::string fDigiBranchName{
""};
81 Double_t fClusterActiveTime{-1};
82 Double_t fDigiEnergyThreshold{-1};
84 TString fDigiBranchname{
""};
85 TString fClusterBranchname{
""};
90 std::vector<DigiClusteringCandidate> fDigiCandidates{};
92 Int_t fNDigisPassed{-1};
93 std::vector<std::pair<Int_t, Int_t>> fClusterNumbersForSameCluster{};
99 void CreateClusterableDigiCandidates(
const std::vector<const BSEmcDigi *> &t_digis);
100 void FindNeighboursOfEveryDigi();
101 Bool_t AreDigisNeighbours(Int_t t_digi1, Int_t t_digi2)
const;
102 void PrimaryClustering();
103 void SecondaryClustering();
104 void CleanUpClusterNumbering();
105 std::vector<BSEmcCluster *> CreateEmcCluster();
Container for clustering parameter.
void SetClusteringParName(const std::string &t_parName)
void SetDigiBranchName(const TString &t_branchname)
void SetClusterBranchName(const TString &t_branchname)
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)
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...