23 #ifndef BSEMCLOCALMAXFINDINGPROCESS_HH 24 #define BSEMCLOCALMAXFINDINGPROCESS_HH 29 #include "RtypesCore.h" 41 class FairParGenericSet;
47 class TMemberInspector;
74 void FindLocalMaxima(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
80 std::vector<const BSEmcDigi *>
81 GetNeigboursOf(
const std::vector<const BSEmcDigi *> &t_digiCont,
const BSEmcDigiInfo_t &t_digi,
const std::vector<BSEmcDigiInfo_t> &t_potentialneighbours)
const;
84 std::string fClusteringParName{
""};
85 std::string fNeighbouringRelationParName{
""};
88 Double_t fMaximumsEnergyThreshold{-1};
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Container for clustering parameter.
virtual void SetData(BSEmcClusteringData *t_pdata)
Pass the data container ptrs to the process, and store pointers in class members. ...
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)
a cluster (group of neighboring crystals) of hit emc crystals
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
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()
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)
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