PandaRoot
BSEmcExpClusterSplittingProcess Class Reference

splits clusters on the basis of exponential distance from the subCluster centroid More...

#include <BSEmcExpClusterSplittingProcess.h>

Inheritance diagram for BSEmcExpClusterSplittingProcess:
PndProcess

Public Member Functions

 BSEmcExpClusterSplittingProcess ()
 
virtual ~BSEmcExpClusterSplittingProcess ()
 
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 be fetched (each Emc Subdetector has its own set of parameters) More...
 
virtual void SetupParameters (const PndParameterRegister *t_paramRegister)
 Fetch all parameters from the PndParameterRegister. More...
 
virtual void RequestDataContainer (PndContainerRegister *t_register)
 Pass the container register to the process, and get the processes container requirements. More...
 
virtual void GetDataContainer (PndContainerRegister *t_register)
 Pass the container register to the process, and set the processes container requirements. More...
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. More...
 
std::vector< BSEmcSubCluster * > SubClustering (const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcCluster *> &t_clusterCont)
 
void SetClusteringParName (const std::string &t_parName)
 
void SetClusterPropertiesParName (const std::string &t_parName)
 
void SetPositionParName (const std::string &t_parName)
 
void SetNeighbouringRelationParName (const std::string &t_parName)
 
void SetDigiBranchName (const TString &t_branchname)
 
void SetClusterBranchName (const TString &t_branchname)
 
void SetSubClusterBranchName (const TString &t_branchname)
 
- Public Member Functions inherited from PndProcess
 PndProcess ()
 
 PndProcess (const std::string &t_processname)
 
virtual ~PndProcess ()
 
const std::vector< std::string > & GetListOfRequiredParameters () const
 Get the List Of Required Parameters. More...
 
virtual void PreProcess ()
 PreProcess() is called before the actual Process() call in each event. More...
 
virtual void PostProcess ()
 Immediately after calling Process() PostProcess() is called for cleanup of internal process data, or if not needed, to end the time and memory increase measurement started by PreProcess() More...
 
virtual void TearDown ()
 Last actions at the end of the run. More...
 

Additional Inherited Members

- Protected Attributes inherited from PndProcess
std::vector< std::string > fParameterList {}
 Parameter names required by this PndProcess. Needs to be populated in derived class. More...
 
std::string fDetectorName {""}
 Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch right parameters. More...
 
std::string fProcessName {"PndProcess"}
 Name of current PndProcess (for debugging) More...
 
TStopwatch fTimer {}
 Timer to monitor Process() time. More...
 
Double_t fTotalTime {0}
 Time taken by this Process' Process() More...
 
ProcInfo_t fProcInfo
 Helper to access cpu process Memory Info. More...
 
Long_t fLastMemSize
 

Detailed Description

splits clusters on the basis of exponential distance from the subCluster centroid

to be run after BSEmcLocalMaxFindingProcess or BSEmcRemoveSplitOffMax

Author
Phil Strother
M. Babai
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 79 of file BSEmcExpClusterSplittingProcess.h.

Constructor & Destructor Documentation

◆ BSEmcExpClusterSplittingProcess()

BSEmcExpClusterSplittingProcess::BSEmcExpClusterSplittingProcess ( )

◆ ~BSEmcExpClusterSplittingProcess()

virtual BSEmcExpClusterSplittingProcess::~BSEmcExpClusterSplittingProcess ( )
virtual

Member Function Documentation

◆ GetDataContainer()

virtual void BSEmcExpClusterSplittingProcess::GetDataContainer ( PndContainerRegister )
virtual

Pass the container register to the process, and set the processes container requirements.

Parameters
t_register

Reimplemented from PndProcess.

◆ Process()

virtual void BSEmcExpClusterSplittingProcess::Process ( )
virtual

The actual data transformation (digitizing, clustering, etc.) should be defined here.

Implements PndProcess.

◆ RequestDataContainer()

virtual void BSEmcExpClusterSplittingProcess::RequestDataContainer ( PndContainerRegister )
virtual

Pass the container register to the process, and get the processes container requirements.

Parameters
t_register

Reimplemented from PndProcess.

◆ SetClusterBranchName()

void BSEmcExpClusterSplittingProcess::SetClusterBranchName ( const TString &  t_branchname)
inline

Definition at line 98 of file BSEmcExpClusterSplittingProcess.h.

98 { fClusterBranchname = t_branchname; }

◆ SetClusteringParName()

void BSEmcExpClusterSplittingProcess::SetClusteringParName ( const std::string &  t_parName)
inline

Definition at line 92 of file BSEmcExpClusterSplittingProcess.h.

92 { fClusteringParName = t_parName; }

◆ SetClusterPropertiesParName()

void BSEmcExpClusterSplittingProcess::SetClusterPropertiesParName ( const std::string &  t_parName)
inline

Definition at line 93 of file BSEmcExpClusterSplittingProcess.h.

93 { fClusterPropertiesParName = t_parName; }

◆ SetDetectorName()

virtual void BSEmcExpClusterSplittingProcess::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
t_detectorname

Reimplemented from PndProcess.

◆ SetDigiBranchName()

void BSEmcExpClusterSplittingProcess::SetDigiBranchName ( const TString &  t_branchname)
inline

Definition at line 97 of file BSEmcExpClusterSplittingProcess.h.

97 { fDigiBranchname = t_branchname; }

◆ SetNeighbouringRelationParName()

void BSEmcExpClusterSplittingProcess::SetNeighbouringRelationParName ( const std::string &  t_parName)
inline

Definition at line 95 of file BSEmcExpClusterSplittingProcess.h.

95 { fNeighbouringRelationParName = t_parName; }

◆ SetPositionParName()

void BSEmcExpClusterSplittingProcess::SetPositionParName ( const std::string &  t_parName)
inline

Definition at line 94 of file BSEmcExpClusterSplittingProcess.h.

94 { fPositionParName = t_parName; }

◆ SetSubClusterBranchName()

void BSEmcExpClusterSplittingProcess::SetSubClusterBranchName ( const TString &  t_branchname)
inline

Definition at line 99 of file BSEmcExpClusterSplittingProcess.h.

99 { fSubClusterBranchname = t_branchname; }

◆ SetupParameters()

virtual void BSEmcExpClusterSplittingProcess::SetupParameters ( const PndParameterRegister t_parameter)
virtual

Fetch all parameters from the PndParameterRegister.

Parameters
t_parameter

Implements PndProcess.

◆ SubClustering()

std::vector<BSEmcSubCluster *> BSEmcExpClusterSplittingProcess::SubClustering ( const std::vector< const BSEmcDigi *> &  t_digiCont,
const std::vector< BSEmcCluster *> &  t_clusterCont 
)

The documentation for this class was generated from the following file: