1 #ifndef __RecoParticleFlow_PFClusterProducer_RealisticCluster_H__ 2 #define __RecoParticleFlow_PFClusterProducer_RealisticCluster_H__ 76 return layerInfo_[layerId].centerOfGravityAtLayer_ ;
83 layerInfo_[layerId].maxEnergyHitAtLayer_ = newEnergy;
98 return layerInfo_[layerId].maxEnergyHitAtLayer_;
119 [&hitId](
const std::pair<unsigned int, float>& element){
return element.first == hitId;} );
void increaseExclusiveEnergy(float value)
float maxEnergyHitAtLayer_
float getMaxEnergy(unsigned int layerId) const
unsigned int getLayersNum() const
const std::vector< std::pair< unsigned int, float > > & hitsIdsAndFractions() const
std::vector< std::pair< unsigned int, float > > hitIdsAndFractions_
Hit3DPosition centerOfGravityAtLayer_
std::array< float, 3 > Hit3DPosition
Hit3DPosition getMaxEnergyPosition(unsigned int layerId) const
void setCenterOfGravity(unsigned int layerId, const Hit3DPosition &position)
std::vector< LayerInfo > layerInfo_
float getExclusiveEnergy() const
void setVisible(bool vis)
float getExclusiveEnergyFraction() const
void modifyFractionByIndex(float fraction, unsigned int index)
bool setMaxEnergyHit(unsigned int layerId, float newEnergy, const Hit3DPosition position)
void increaseEnergy(float value)
static int position[264][3]
Hit3DPosition getCenterOfGravity(unsigned int layerId) const
void setLayersNum(unsigned int numberOfLayers)
void modifyFractionForHitId(float fraction, unsigned int hitId)
void addHitAndFraction(unsigned int hit, float fraction)
Hit3DPosition maxHitPosAtLayer_