Go to the documentation of this file. 1 #ifndef __RecoParticleFlow_PFClusterProducer_RealisticCluster_H__
2 #define __RecoParticleFlow_PFClusterProducer_RealisticCluster_H__
48 if (newEnergy >
layerInfo_[layerId].maxEnergyHitAtLayer_) {
49 layerInfo_[layerId].maxEnergyHitAtLayer_ = newEnergy;
69 [&hitId](
const std::pair<unsigned int, float>& element) {
return element.first == hitId; });
void setVisible(bool vis)
void setCenterOfGravity(unsigned int layerId, const Hit3DPosition &position)
float getMaxEnergy(unsigned int layerId) const
float getExclusiveEnergyFraction() const
void setLayersNum(unsigned int numberOfLayers)
bool setMaxEnergyHit(unsigned int layerId, float newEnergy, const Hit3DPosition position)
Hit3DPosition centerOfGravityAtLayer_
void increaseEnergy(float value)
std::vector< LayerInfo > layerInfo_
Hit3DPosition getCenterOfGravity(unsigned int layerId) const
void modifyFractionByIndex(float fraction, unsigned int index)
void addHitAndFraction(unsigned int hit, float fraction)
unsigned int getLayersNum() const
Hit3DPosition maxHitPosAtLayer_
void modifyFractionForHitId(float fraction, unsigned int hitId)
static int position[264][3]
float maxEnergyHitAtLayer_
const std::vector< std::pair< unsigned int, float > > & hitsIdsAndFractions() const
void increaseExclusiveEnergy(float value)
std::array< float, 3 > Hit3DPosition
float getExclusiveEnergy() const
const map< TString, int > numberOfLayers(TString Year="2018")
Hit3DPosition getMaxEnergyPosition(unsigned int layerId) const
std::vector< std::pair< unsigned int, float > > hitIdsAndFractions_