![]() |
PandaRoot
|
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 |
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
Definition at line 34 of file BSEmcEnergyCalculationAlgo.h.
BSEmcEnergyCalculationAlgo::BSEmcEnergyCalculationAlgo | ( | ) |
|
virtual |
Double_t BSEmcEnergyCalculationAlgo::CalculateE1 | ( | const BSEmcCluster * | t_cluster, |
const std::vector< const BSEmcDigi *> & | t_digis | ||
) | const |
Referenced by SetNeighbouringRelation().
Double_t BSEmcEnergyCalculationAlgo::CalculateE25 | ( | const BSEmcCluster * | t_cluster, |
const std::vector< const BSEmcDigi *> & | t_digis | ||
) | const |
Referenced by SetNeighbouringRelation().
Double_t BSEmcEnergyCalculationAlgo::CalculateE9 | ( | const BSEmcCluster * | t_cluster, |
const std::vector< const BSEmcDigi *> & | t_digis | ||
) | const |
Referenced by SetNeighbouringRelation().
Double_t BSEmcEnergyCalculationAlgo::CalculateEnergy | ( | const BSEmcCluster * | t_cluster, |
const std::vector< const BSEmcDigi *> & | t_digis | ||
) | const |
Referenced by SetNeighbouringRelation().
|
inline |
Definition at line 39 of file BSEmcEnergyCalculationAlgo.h.
References CalculateE1(), CalculateE25(), CalculateE9(), and CalculateEnergy().