PandaRoot
BSEmcRemoveSplitOffMax Class Reference

Process to be run after BSEmcLocalMaxFindingProcess to remove maxima from cluster that match certain criteria. More...

#include <BSEmcRemoveSplitOffMax.h>

Inheritance diagram for BSEmcRemoveSplitOffMax:
PndProcess< BSEmcClusteringData >

Public Member Functions

 BSEmcRemoveSplitOffMax ()
 
virtual ~BSEmcRemoveSplitOffMax ()
 
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_parameterRegister)
 Fetch all parameters from the PndParameterRegister. More...
 
virtual void SetData (BSEmcClusteringData *t_pdata)
 Pass the data container ptrs to the process, and store pointers in class members. More...
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. More...
 
void RemoveSplitOffMax (const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcCluster *> &t_clusterCont)
 
void SetClusteringParName (const std::string &t_parName)
 
void SetNeighbouringRelationParName (const std::string &t_parName)
 
- Public Member Functions inherited from PndProcess< BSEmcClusteringData >
 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...
 

Protected Member Functions

Bool_t IsSplitOffOrHadron (const BSEmcDigi *t_digi, const std::vector< const BSEmcDigi *> &t_neighbours) const
 
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
 

Additional Inherited Members

- Protected Attributes inherited from PndProcess< BSEmcClusteringData >
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
 Name of current PndProcess (for debugging) More...
 
TStopwatch fTimer
 Timer to monitor Process() time. More...
 
Double_t fTotalTime
 Time taken by this Process' Process() More...
 
ProcInfo_t fProcInfo
 Helper to access cpu process Memory Info. More...
 
Long_t fLastMemSize
 

Detailed Description

Process to be run after BSEmcLocalMaxFindingProcess to remove maxima from cluster that match certain criteria.

To be run after

Author
Phil Strother
Helmut Schmuecker Ruhr-Uni Bochum
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 64 of file BSEmcRemoveSplitOffMax.h.

Constructor & Destructor Documentation

◆ BSEmcRemoveSplitOffMax()

BSEmcRemoveSplitOffMax::BSEmcRemoveSplitOffMax ( )

◆ ~BSEmcRemoveSplitOffMax()

virtual BSEmcRemoveSplitOffMax::~BSEmcRemoveSplitOffMax ( )
virtual

Member Function Documentation

◆ GetNeigboursOf()

std::vector<const BSEmcDigi *> BSEmcRemoveSplitOffMax::GetNeigboursOf ( const std::vector< const BSEmcDigi *> &  t_digiCont,
const BSEmcDigiInfo_t t_digi,
const std::vector< BSEmcDigiInfo_t > &  t_potentialneighbours 
) const
protected

◆ IsSplitOffOrHadron()

Bool_t BSEmcRemoveSplitOffMax::IsSplitOffOrHadron ( const BSEmcDigi t_digi,
const std::vector< const BSEmcDigi *> &  t_neighbours 
) const
protected

◆ Process()

virtual void BSEmcRemoveSplitOffMax::Process ( )
virtual

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

Implements PndProcess< BSEmcClusteringData >.

◆ RemoveSplitOffMax()

void BSEmcRemoveSplitOffMax::RemoveSplitOffMax ( const std::vector< const BSEmcDigi *> &  t_digiCont,
const std::vector< BSEmcCluster *> &  t_clusterCont 
)

◆ SetClusteringParName()

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

Definition at line 74 of file BSEmcRemoveSplitOffMax.h.

74 { fClusteringParName = t_parName; }

◆ SetData()

virtual void BSEmcRemoveSplitOffMax::SetData ( BSEmcClusteringData t_data)
virtual

Pass the data container ptrs to the process, and store pointers in class members.

Parameters
t_data

Implements PndProcess< BSEmcClusteringData >.

◆ SetDetectorName()

virtual void BSEmcRemoveSplitOffMax::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< BSEmcClusteringData >.

◆ SetNeighbouringRelationParName()

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

Definition at line 75 of file BSEmcRemoveSplitOffMax.h.

References GetNeigboursOf(), and IsSplitOffOrHadron().

75 { fNeighbouringRelationParName = t_parName; }

◆ SetupParameters()

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

Fetch all parameters from the PndParameterRegister.

Parameters
t_parameter

Implements PndProcess< BSEmcClusteringData >.


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