Process to merge preclusters into Clusters.
More...
#include <BSEmcMergePreclusters.h>
Process to merge preclusters into Clusters.
To be run after BSEmcMergePreclusters and before BSEmcLocalMaxFindingProcess
- Author
- Viktor Rodin
-
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de, HISKP Bonn
- Date
- 2021-02
Definition at line 51 of file BSEmcMergePreclusters.h.
◆ BSEmcMergePreclusters()
BSEmcMergePreclusters::BSEmcMergePreclusters |
( |
| ) |
|
◆ ~BSEmcMergePreclusters()
virtual BSEmcMergePreclusters::~BSEmcMergePreclusters |
( |
| ) |
|
|
virtual |
◆ ClusterNeigbours()
std::vector<Int_t> BSEmcMergePreclusters::ClusterNeigbours |
( |
const std::vector< Int_t > & |
t_neighbours, |
|
|
const std::vector< BSEmcPrecluster *> & |
t_preclusterCont |
|
) |
| |
|
protected |
◆ FindNeighbouringPrecluster()
std::vector<Int_t> BSEmcMergePreclusters::FindNeighbouringPrecluster |
( |
const std::vector< BSEmcPrecluster *> & |
t_preclusterCont | ) |
|
|
protected |
◆ FinishCluster()
void BSEmcMergePreclusters::FinishCluster |
( |
const std::vector< const BSEmcDigi *> & |
t_digiCont, |
|
|
BSEmcCluster * |
tmpcluster |
|
) |
| |
|
protected |
◆ FinishClusters()
virtual void BSEmcMergePreclusters::FinishClusters |
( |
const std::vector< const BSEmcDigi *> & |
t_digiCont, |
|
|
const std::vector< BSEmcCluster *> & |
t_clusterCont |
|
) |
| |
|
protectedvirtual |
◆ GetDataContainer()
Pass the container register to the process, and set the processes container requirements.
- Parameters
-
Reimplemented from PndProcess.
◆ MergePreclusters()
std::vector<BSEmcCluster *> BSEmcMergePreclusters::MergePreclusters |
( |
const std::vector< const BSEmcDigi *> & |
t_digiCont, |
|
|
const std::vector< BSEmcPrecluster *> & |
t_preclusterCont |
|
) |
| |
◆ MergePreclustersIntoCluster()
std::vector<BSEmcCluster *> BSEmcMergePreclusters::MergePreclustersIntoCluster |
( |
const std::vector< Int_t > & |
t_clusterNrForPrecluster, |
|
|
const std::vector< BSEmcPrecluster *> & |
t_preclusterCont |
|
) |
| |
|
protected |
◆ Process()
virtual void BSEmcMergePreclusters::Process |
( |
| ) |
|
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess.
◆ RequestDataContainer()
Pass the container register to the process, and get the processes container requirements.
- Parameters
-
Reimplemented from PndProcess.
◆ SetClusterBranchName()
void BSEmcMergePreclusters::SetClusterBranchName |
( |
const TString & |
t_branchname | ) |
|
|
inline |
◆ SetClusteringParName()
void BSEmcMergePreclusters::SetClusteringParName |
( |
const std::string & |
t_parName | ) |
|
|
inline |
Set cluster neighbour nbmethod: 0 = default method (for position, logarithmic weighing; for radius, distance of digi furthest from position) -> use this CIRCLE for neighbour relations), 1 = simplified method (for position, xpos=(xmax+xmin)/2 ypos=(ymax+ymin)/2; for radius, r=max(ysize, xsize) -> use this CIRCLE for neighbour relations), 2 = simplified method (for position, xpos=(xmax+xmin)/2 ypos=(ymax+ymin)/2; for radius, rx=(xmax-xmin)/2, ry=(ymax-ymin)/2 -> use this RECTANGULAR BOX for neighbour relations). 3 = simplified method (for position, xpos=(xmax+xmin)/2 ypos=(ymax+ymin)/2; for radius, r=max(ysize, xsize) -> use this SQUARE BOX for neighbour relations).
Definition at line 84 of file BSEmcMergePreclusters.h.
84 { fClusteringParName = t_parName; }
◆ SetClusterPropertiesParName()
void BSEmcMergePreclusters::SetClusterPropertiesParName |
( |
const std::string & |
t_parName | ) |
|
|
inline |
◆ SetDetectorName()
virtual void BSEmcMergePreclusters::SetDetectorName |
( |
const std::string & |
t_detectorname | ) |
|
|
virtual |
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters)
- Parameters
-
Reimplemented from PndProcess.
◆ SetDigiBranchName()
void BSEmcMergePreclusters::SetDigiBranchName |
( |
const TString & |
t_branchname | ) |
|
|
inline |
◆ SetNeighbouringRelationParName()
void BSEmcMergePreclusters::SetNeighbouringRelationParName |
( |
const std::string & |
t_parName | ) |
|
|
inline |
◆ SetNeighbourMethod()
void BSEmcMergePreclusters::SetNeighbourMethod |
( |
Int_t |
nbmethod | ) |
|
|
inline |
Set cluster position method: 0 = default method (logarithmic weighing), 1 = simplified method (xpos=(xmax+xmin)/2, ypos=(ymax+ymin)/2) using the REAL x,y position, 2 = simplified method (xpos=(xmax+xmin)/2, ypos=(ymax+ymin)/2) using the MAPPED XPad,YPad position, 3 = simplified method using the REAL x,y position of the DIGI WITH HIGHEST ENERGY, 4 = simplified method using the MAPPED XPad,YPad position of the DIGI WITH HIGHEST ENERGY.
Definition at line 74 of file BSEmcMergePreclusters.h.
◆ SetPositionMethod()
void BSEmcMergePreclusters::SetPositionMethod |
( |
Int_t |
method | ) |
|
|
inline |
◆ SetPositionParName()
void BSEmcMergePreclusters::SetPositionParName |
( |
const std::string & |
t_parName | ) |
|
|
inline |
◆ SetPreclusterBranchName()
void BSEmcMergePreclusters::SetPreclusterBranchName |
( |
const TString & |
t_branchname | ) |
|
|
inline |
◆ SetupParameters()
The documentation for this class was generated from the following file: