35 #ifndef BSEMCLOCALMAXFINDINGPROCESS_HH 36 #define BSEMCLOCALMAXFINDINGPROCESS_HH 41 #include "RtypesCore.h" 53 class FairParGenericSet;
59 class TMemberInspector;
60 struct BSEmcClusteringData;
87 void FindLocalMaxima(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
96 std::vector<const BSEmcDigi *>
97 GetNeigboursOf(
const std::vector<const BSEmcDigi *> &t_digiCont,
const BSEmcDigiInfo_t &t_digi,
const std::vector<BSEmcDigiInfo_t> &t_potentialneighbours)
const;
100 std::string fClusteringParName{
""};
101 std::string fNeighbouringRelationParName{
""};
103 TString fDigiBranchname{
""};
104 TString fClusterBranchname{
""};
108 Double_t fMaximumsEnergyThreshold{-1};
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Container for clustering parameter.
std::vector< const BSEmcDigi * > GetNeigboursOf(const std::vector< const BSEmcDigi *> &t_digiCont, const BSEmcDigiInfo_t &t_digi, const std::vector< BSEmcDigiInfo_t > &t_potentialneighbours) const
virtual ~BSEmcLocalMaxFindingProcess()
Process to find all local maxima within a cluster.
virtual void SetDetectorName(const std::string &t_detectorName)
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to b...
void SetClusteringParName(const std::string &t_parName)
void SetNeighbouringRelationParName(const std::string &t_parName)
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
void SetClusterBranchName(const TString &t_branchname)
a cluster (group of neighboring crystals) of hit emc crystals
represents the reconstructed hit of one emc crystal
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetch all parameters from the PndParameterRegister.
Interface to a datacontainer to be used in PandaROOT.
BSEmcLocalMaxFindingProcess()
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
Neigbouring Relations based on a list of detectorIds.
void FindLocalMaxima(const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcCluster *> &t_clusterCont)
void SetDigiBranchName(const TString &t_branchname)
simple Struct used in Cluster classes to index crystal. Includes the weight of the crystal on the cur...
Bool_t IsLocalMaximum(const BSEmcDigi *t_digi, const std::vector< const BSEmcDigi *> &t_neighbours) const