22 #ifndef BSEMCREMOVESPLITOFFMAX_HH 23 #define BSEMCREMOVESPLITOFFMAX_HH 28 #include "RtypesCore.h" 45 class TMemberInspector;
72 void RemoveSplitOffMax(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
79 std::vector<const BSEmcDigi *>
80 GetNeigboursOf(
const std::vector<const BSEmcDigi *> &t_digiCont,
const BSEmcDigiInfo_t &t_digi,
const std::vector<BSEmcDigiInfo_t> &t_potentialneighbours)
const;
83 std::string fClusteringParName{
""};
84 std::string fNeighbouringRelationParName{
""};
87 Double_t fCutSlope{-1};
88 Double_t fCutOffset{-1};
89 Double_t fERatioCorr{-1};
90 Double_t fNeighbourECut{-1};
Process to be run after BSEmcLocalMaxFindingProcess to remove maxima from cluster that match certain ...
Container for clustering parameter.
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetch all parameters from the PndParameterRegister.
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...
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void SetData(BSEmcClusteringData *t_pdata)
Pass the data container ptrs to the process, and store pointers in class members. ...
a cluster (group of neighboring crystals) of hit emc crystals
void SetNeighbouringRelationParName(const std::string &t_parName)
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
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
represents the reconstructed hit of one emc crystal
Interface to a datacontainer to be used in PandaROOT.
void RemoveSplitOffMax(const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcCluster *> &t_clusterCont)
void SetClusteringParName(const std::string &t_parName)
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
virtual ~BSEmcRemoveSplitOffMax()
Neigbouring Relations based on a list of detectorIds.
simple Struct used in Cluster classes to index crystal. Includes the weight of the crystal on the cur...
Bool_t IsSplitOffOrHadron(const BSEmcDigi *t_digi, const std::vector< const BSEmcDigi *> &t_neighbours) const