7 #ifndef BSEMCMERGEPRECLUSTERS_HH 8 #define BSEMCMERGEPRECLUSTERS_HH 15 #include "RtypesCore.h" 35 class TMemberInspector;
61 std::vector<BSEmcCluster *>
MergePreclusters(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcPrecluster *> &t_preclusterCont);
90 std::vector<Int_t>
ClusterNeigbours(
const std::vector<Int_t> &t_neighbours,
const std::vector<BSEmcPrecluster *> &t_preclusterCont);
92 std::vector<BSEmcCluster *>
MergePreclustersIntoCluster(
const std::vector<Int_t> &t_clusterNrForPrecluster,
const std::vector<BSEmcPrecluster *> &t_preclusterCont);
94 virtual void FinishClusters(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcCluster *> &t_clusterCont);
102 std::string fClusteringParName{
""};
103 std::string fClusterPropertiesParName{
""};
104 std::string fPositionParName{
""};
105 std::string fNeighbouringRelationParName{
""};
117 Int_t fRemovedClusters;
119 Int_t wrongConnection;
Process to merge preclusters into Clusters.
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...
std::vector< BSEmcCluster * > MergePreclusters(const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcPrecluster *> &t_preclusterCont)
std::vector< Int_t > FindNeighbouringPrecluster(const std::vector< BSEmcPrecluster *> &t_preclusterCont)
void SetNeighbouringRelationParName(const std::string &t_parName)
represents an emc precluster, formed in the (virtual) data concentrators
void SetNeighbourMethod(Int_t nbmethod)
void FinishCluster(const std::vector< const BSEmcDigi *> &t_digiCont, BSEmcCluster *tmpcluster)
Helper class to calculate the cluster position.
void SetClusteringParName(const std::string &t_parName)
void SetClusterPropertiesParName(const std::string &t_parName)
void SetPositionParName(const std::string &t_parName)
a cluster (group of neighboring crystals) of hit emc crystals
Parameter for crystal positions.
void SetPositionMethod(Int_t method)
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
represents the reconstructed hit of one emc crystal
virtual ~BSEmcMergePreclusters()
std::vector< BSEmcCluster * > MergePreclustersIntoCluster(const std::vector< Int_t > &t_clusterNrForPrecluster, const std::vector< BSEmcPrecluster *> &t_preclusterCont)
Interface to a datacontainer to be used in PandaROOT.
virtual void SetData(BSEmcClusteringData *t_data)
Pass the data container ptrs to the process, and store pointers in class members. ...
virtual void FinishClusters(const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcCluster *> &t_clusterCont)
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
Neigbouring Relations based on a list of detectorIds.
std::vector< Int_t > ClusterNeigbours(const std::vector< Int_t > &t_neighbours, const std::vector< BSEmcPrecluster *> &t_preclusterCont)
virtual void SetupParameters(const PndParameterRegister *t_paramRegister)
Fetch all parameters from the PndParameterRegister.