23 #ifndef BSEMCLOCALMAXFINDINGPROCESS_HH 24 #define BSEMCLOCALMAXFINDINGPROCESS_HH 29 #include "RtypesCore.h" 41 class FairParGenericSet;
47 class TMemberInspector;
48 struct BSEmcClusteringData;
75 void FindLocalMaxima(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
84 std::vector<const BSEmcDigi *>
85 GetNeigboursOf(
const std::vector<const BSEmcDigi *> &t_digiCont,
const BSEmcDigiInfo_t &t_digi,
const std::vector<BSEmcDigiInfo_t> &t_potentialneighbours)
const;
88 std::string fClusteringParName{
""};
89 std::string fNeighbouringRelationParName{
""};
91 TString fDigiBranchname{
""};
92 TString fClusterBranchname{
""};
96 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