PandaRoot
BSEmcOnlineBumpSplitter Class Reference

old More...

#include <BSEmcOnlineBumpSplitter.h>

Inheritance diagram for BSEmcOnlineBumpSplitter:
PndProcess< BSEmcClusteringData >

Public Member Functions

 BSEmcOnlineBumpSplitter ()
 
virtual ~BSEmcOnlineBumpSplitter ()
 
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 SetData (BSEmcClusteringData *t_data)
 Pass the data container ptrs to the process, and store pointers in class members. More...
 
virtual void SetupParameters (const PndParameterRegister *t_paramRegister)
 Fetch all parameters from the PndParameterRegister. More...
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. 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...
 
std::vector< BSEmcSubCluster * > Subcluster (const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcCluster *> &t_clusterCont)
 
void SetMinimumSeedEnergy (Double_t minE)
 
void SetPositionParName (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 TearDown ()
 Last actions at the end of the run. More...
 

Protected Member Functions

BSEmcSubClusterAddBump ()
 
void SingleBumpCluster (BSEmcCluster *, Int_t, const std::vector< const BSEmcDigi *> &t_digiCont)
 

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

old

splits clusters based on local maxima in the Phi direction for use with Bremstrahlung correction.

copied from Process() function description : Very fast and simple bump splitter, intended for online usage. For each cluster, the two most energetic digis are retrieved. If they are not neighbours, and the energy difference is above a certain threshold, the cluster is split into bumps. Each bump has as location and timestamp that of the retrieved high-energy digis. The cluster energy is divided according to the energy deposition in those digis.

to be run after BSEmcLocalMaxFindingProcess or BSEmcRemoveSplitOffMax

Author
Marcel Tiemens
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 71 of file BSEmcOnlineBumpSplitter.h.

Constructor & Destructor Documentation

◆ BSEmcOnlineBumpSplitter()

BSEmcOnlineBumpSplitter::BSEmcOnlineBumpSplitter ( )

◆ ~BSEmcOnlineBumpSplitter()

virtual BSEmcOnlineBumpSplitter::~BSEmcOnlineBumpSplitter ( )
virtual

Member Function Documentation

◆ AddBump()

BSEmcSubCluster* BSEmcOnlineBumpSplitter::AddBump ( )
protected

◆ PostProcess()

virtual void BSEmcOnlineBumpSplitter::PostProcess ( )
virtual

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()

Reimplemented from PndProcess< BSEmcClusteringData >.

◆ Process()

virtual void BSEmcOnlineBumpSplitter::Process ( )
virtual

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

Implements PndProcess< BSEmcClusteringData >.

◆ SetData()

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

◆ SetMinimumSeedEnergy()

void BSEmcOnlineBumpSplitter::SetMinimumSeedEnergy ( Double_t  minE)
inline

Definition at line 82 of file BSEmcOnlineBumpSplitter.h.

82 { fSeedEnergyThreshold = minE; };

◆ SetNeighbouringRelationParName()

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

Definition at line 85 of file BSEmcOnlineBumpSplitter.h.

References AddBump(), and SingleBumpCluster().

85 { fNeighbouringRelationParName = t_parName; }

◆ SetPositionParName()

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

Definition at line 84 of file BSEmcOnlineBumpSplitter.h.

84 { fPositionParName = t_parName; }

◆ SetupParameters()

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

Fetch all parameters from the PndParameterRegister.

Parameters
t_parameter

Implements PndProcess< BSEmcClusteringData >.

◆ SingleBumpCluster()

void BSEmcOnlineBumpSplitter::SingleBumpCluster ( BSEmcCluster ,
Int_t  ,
const std::vector< const BSEmcDigi *> &  t_digiCont 
)
protected

◆ Subcluster()

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

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