#include <RealisticCluster.h>
Definition at line 8 of file RealisticCluster.h.
RealisticCluster::RealisticCluster |
( |
| ) |
|
|
inline |
void RealisticCluster::addHitAndFraction |
( |
unsigned int |
hit, |
|
|
float |
fraction |
|
) |
| |
|
inline |
Hit3DPosition RealisticCluster::getCenterOfGravity |
( |
unsigned int |
layerId | ) |
const |
|
inline |
float RealisticCluster::getEnergy |
( |
| ) |
const |
|
inline |
float RealisticCluster::getExclusiveEnergy |
( |
| ) |
const |
|
inline |
float RealisticCluster::getExclusiveEnergyFraction |
( |
| ) |
const |
|
inline |
unsigned int RealisticCluster::getLayersNum |
( |
| ) |
const |
|
inline |
float RealisticCluster::getMaxEnergy |
( |
unsigned int |
layerId | ) |
const |
|
inline |
Hit3DPosition RealisticCluster::getMaxEnergyPosition |
( |
unsigned int |
layerId | ) |
const |
|
inline |
const std::vector<std::pair<unsigned int, float> >& RealisticCluster::hitsIdsAndFractions |
( |
| ) |
const |
|
inline |
void RealisticCluster::increaseEnergy |
( |
float |
value | ) |
|
|
inline |
void RealisticCluster::increaseExclusiveEnergy |
( |
float |
value | ) |
|
|
inline |
bool RealisticCluster::isVisible |
( |
| ) |
const |
|
inline |
void RealisticCluster::modifyFractionByIndex |
( |
float |
fraction, |
|
|
unsigned int |
index |
|
) |
| |
|
inline |
void RealisticCluster::modifyFractionForHitId |
( |
float |
fraction, |
|
|
unsigned int |
hitId |
|
) |
| |
|
inline |
void RealisticCluster::setCenterOfGravity |
( |
unsigned int |
layerId, |
|
|
const Hit3DPosition & |
position |
|
) |
| |
|
inline |
void RealisticCluster::setLayersNum |
( |
unsigned int |
numberOfLayers | ) |
|
|
inline |
Definition at line 60 of file RealisticCluster.h.
References layerInfo_.
const map< TString, int > numberOfLayers(TString Year="2018")
std::vector< LayerInfo > layerInfo_
bool RealisticCluster::setMaxEnergyHit |
( |
unsigned int |
layerId, |
|
|
float |
newEnergy, |
|
|
const Hit3DPosition |
position |
|
) |
| |
|
inline |
void RealisticCluster::setVisible |
( |
bool |
vis | ) |
|
|
inline |
float RealisticCluster::exclusiveEnergy |
|
private |
std::vector<std::pair<unsigned int, float> > RealisticCluster::hitIdsAndFractions_ |
|
private |
std::vector<LayerInfo> RealisticCluster::layerInfo_ |
|
private |
float RealisticCluster::totalEnergy |
|
private |
bool RealisticCluster::visible |
|
private |