34 #ifndef BSEMCREMOVESPLITOFFMAX_HH 35 #define BSEMCREMOVESPLITOFFMAX_HH 40 #include "RtypesCore.h" 57 class TMemberInspector;
58 struct BSEmcClusteringData;
85 void RemoveSplitOffMax(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
95 std::vector<const BSEmcDigi *>
96 GetNeigboursOf(
const std::vector<const BSEmcDigi *> &t_digiCont,
const BSEmcDigiInfo_t &t_digi,
const std::vector<BSEmcDigiInfo_t> &t_potentialneighbours)
const;
99 std::string fClusteringParName{
""};
100 std::string fNeighbouringRelationParName{
""};
102 TString fDigiBranchname{
""};
103 TString fClusterBranchname{
""};
107 Double_t fCutSlope{-1};
108 Double_t fCutOffset{-1};
109 Double_t fERatioCorr{-1};
110 Double_t fNeighbourECut{-1};
111 Double_t fMaximumsEnergyThreshold{-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 GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
void SetClusterBranchName(const TString &t_branchname)
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.
a cluster (group of neighboring crystals) of hit emc crystals
void SetDigiBranchName(const TString &t_branchname)
void SetNeighbouringRelationParName(const std::string &t_parName)
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.
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
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