22 #ifndef BSEMCREMOVESPLITOFFMAX_HH 23 #define BSEMCREMOVESPLITOFFMAX_HH 28 #include "RtypesCore.h" 45 class TMemberInspector;
46 struct BSEmcClusteringData;
73 void RemoveSplitOffMax(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
83 std::vector<const BSEmcDigi *>
84 GetNeigboursOf(
const std::vector<const BSEmcDigi *> &t_digiCont,
const BSEmcDigiInfo_t &t_digi,
const std::vector<BSEmcDigiInfo_t> &t_potentialneighbours)
const;
87 std::string fClusteringParName{
""};
88 std::string fNeighbouringRelationParName{
""};
90 TString fDigiBranchname{
""};
91 TString fClusterBranchname{
""};
95 Double_t fCutSlope{-1};
96 Double_t fCutOffset{-1};
97 Double_t fERatioCorr{-1};
98 Double_t fNeighbourECut{-1};
99 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