#include <RealisticCluster.h>
Classes | |
struct | LayerInfo |
Public Member Functions | |
void | addHitAndFraction (unsigned int hit, float fraction) |
Hit3DPosition | getCenterOfGravity (unsigned int layerId) const |
float | getEnergy () const |
float | getExclusiveEnergy () const |
float | getExclusiveEnergyFraction () const |
unsigned int | getLayersNum () const |
float | getMaxEnergy (unsigned int layerId) const |
Hit3DPosition | getMaxEnergyPosition (unsigned int layerId) const |
const std::vector< std::pair< unsigned int, float > > & | hitsIdsAndFractions () const |
void | increaseEnergy (float value) |
void | increaseExclusiveEnergy (float value) |
bool | isVisible () const |
void | modifyFractionByIndex (float fraction, unsigned int index) |
void | modifyFractionForHitId (float fraction, unsigned int hitId) |
RealisticCluster () | |
void | setCenterOfGravity (unsigned int layerId, const Hit3DPosition &position) |
void | setLayersNum (unsigned int numberOfLayers) |
bool | setMaxEnergyHit (unsigned int layerId, float newEnergy, const Hit3DPosition position) |
void | setVisible (bool vis) |
Private Types | |
using | Hit3DPosition = std::array< float, 3 > |
Private Attributes | |
float | exclusiveEnergy |
std::vector< std::pair< unsigned int, float > > | hitIdsAndFractions_ |
std::vector< LayerInfo > | layerInfo_ |
float | totalEnergy |
bool | visible |
Definition at line 8 of file RealisticCluster.h.
|
private |
Definition at line 10 of file RealisticCluster.h.
|
inline |
Definition at line 23 of file RealisticCluster.h.
|
inline |
Definition at line 111 of file RealisticCluster.h.
References hitIdsAndFractions_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 40 of file RealisticCluster.h.
References exclusiveEnergy, f, dedxEstimators_cff::fraction, and totalEnergy.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 129 of file RealisticCluster.h.
References hitIdsAndFractions_.
|
inline |
Definition at line 31 of file RealisticCluster.h.
References totalEnergy, and relativeConstraints::value.
|
inline |
Definition at line 35 of file RealisticCluster.h.
References exclusiveEnergy, and relativeConstraints::value.
|
inline |
Definition at line 59 of file RealisticCluster.h.
References visible.
Referenced by Vispa.Gui.VispaWidget.VispaWidget::setBodyWidget().
|
inline |
Definition at line 124 of file RealisticCluster.h.
References dedxEstimators_cff::fraction, and hitIdsAndFractions_.
|
inline |
Definition at line 116 of file RealisticCluster.h.
References dedxEstimators_cff::fraction, and hitIdsAndFractions_.
|
inline |
|
inline |
|
inline |
Definition at line 79 of file RealisticCluster.h.
References layerInfo_, RealisticCluster::LayerInfo::maxEnergyHitAtLayer_, and position.
|
inline |
|
private |
Definition at line 136 of file RealisticCluster.h.
Referenced by getExclusiveEnergy(), getExclusiveEnergyFraction(), and increaseExclusiveEnergy().
|
private |
Definition at line 132 of file RealisticCluster.h.
Referenced by addHitAndFraction(), hitsIdsAndFractions(), modifyFractionByIndex(), and modifyFractionForHitId().
|
private |
Definition at line 133 of file RealisticCluster.h.
Referenced by getCenterOfGravity(), getLayersNum(), getMaxEnergy(), getMaxEnergyPosition(), setCenterOfGravity(), setLayersNum(), and setMaxEnergyHit().
|
private |
Definition at line 135 of file RealisticCluster.h.
Referenced by getEnergy(), getExclusiveEnergyFraction(), and increaseEnergy().
|
private |
Definition at line 137 of file RealisticCluster.h.
Referenced by isVisible(), and setVisible().