PandaRoot
BSEmcEnergyCalculationAlgo Class Reference

Helper class to calculate the Energies of a cluster. More...

#include <BSEmcEnergyCalculationAlgo.h>

Public Member Functions

 BSEmcEnergyCalculationAlgo ()
 
virtual ~BSEmcEnergyCalculationAlgo ()
 
void SetNeighbouringRelation (const BSEmcGeoNeighbouringRelationPar *t_neighbouringRelation)
 
Double_t CalculateEnergy (const BSEmcCluster *t_cluster, const std::vector< const BSEmcDigi *> &t_digis) const
 
Double_t CalculateE1 (const BSEmcCluster *t_cluster, const std::vector< const BSEmcDigi *> &t_digis) const
 
Double_t CalculateE9 (const BSEmcCluster *t_cluster, const std::vector< const BSEmcDigi *> &t_digis) const
 
Double_t CalculateE25 (const BSEmcCluster *t_cluster, const std::vector< const BSEmcDigi *> &t_digis) const
 

Detailed Description

Helper class to calculate the Energies of a cluster.

Offers functions to calculate the total Energy of a cluster, the maximum energy (E1), the energy of the 9 central crystals (maximum + 8 neighbours) (E9), or the energy of the 25 most central crystals (central crystal + neighbours and neighbours neighbours).

BSEmcEnergyCalculationAlgo are used in BSEmcClusteringProcess, BSEmcExpClusterSplitting and BSEmcCreateRecoHitProcess

Author
Stephen J. Gowdy Originator
Phil Strother
Helmut Marsiske
Dima Melnichuk, adaption for pandaroot
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 34 of file BSEmcEnergyCalculationAlgo.h.

Constructor & Destructor Documentation

◆ BSEmcEnergyCalculationAlgo()

BSEmcEnergyCalculationAlgo::BSEmcEnergyCalculationAlgo ( )

◆ ~BSEmcEnergyCalculationAlgo()

virtual BSEmcEnergyCalculationAlgo::~BSEmcEnergyCalculationAlgo ( )
virtual

Member Function Documentation

◆ CalculateE1()

Double_t BSEmcEnergyCalculationAlgo::CalculateE1 ( const BSEmcCluster t_cluster,
const std::vector< const BSEmcDigi *> &  t_digis 
) const

Referenced by SetNeighbouringRelation().

◆ CalculateE25()

Double_t BSEmcEnergyCalculationAlgo::CalculateE25 ( const BSEmcCluster t_cluster,
const std::vector< const BSEmcDigi *> &  t_digis 
) const

Referenced by SetNeighbouringRelation().

◆ CalculateE9()

Double_t BSEmcEnergyCalculationAlgo::CalculateE9 ( const BSEmcCluster t_cluster,
const std::vector< const BSEmcDigi *> &  t_digis 
) const

Referenced by SetNeighbouringRelation().

◆ CalculateEnergy()

Double_t BSEmcEnergyCalculationAlgo::CalculateEnergy ( const BSEmcCluster t_cluster,
const std::vector< const BSEmcDigi *> &  t_digis 
) const

Referenced by SetNeighbouringRelation().

◆ SetNeighbouringRelation()

void BSEmcEnergyCalculationAlgo::SetNeighbouringRelation ( const BSEmcGeoNeighbouringRelationPar t_neighbouringRelation)
inline

Definition at line 39 of file BSEmcEnergyCalculationAlgo.h.

References CalculateE1(), CalculateE25(), CalculateE9(), and CalculateEnergy().

39 { fNeighbouringRelationPar = t_neighbouringRelation; }

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