1 #ifndef ParticleFlowReco_PFRecHit_h 2 #define ParticleFlowReco_PFRecHit_h 11 #include "Math/GenVector/PositionVector3D.h" 47 unsigned int size()
const {
return e-
b;}
77 void addNeighbour(
short x,
short y,
short z,
unsigned int);
78 unsigned int getNeighbour(
short x,
short y,
short z)
const;
float energy_
rechit energy
std::vector< unsigned int > neighbours_
indices to existing neighbours (1 common side)
EZArrayFL< GlobalPoint > CornersVec
BaseClass::BasicVectorType BasicVectorType
double pt2() const
rechit momentum transverse to the beam, squared.
unsigned int neighbours4_
float time() const
timing for cleaned hits
unsigned detId() const
rechit detId
RepCorners const & getCornersREP() const
PFRecHit & operator=(const PFRecHit &other)=default
T perp2() const
Squared magnitude of transverse component.
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
void addNeighbour(short x, short y, short z, unsigned int)
unsigned int detId_
cell detid
CaloCellGeometry const * caloCell_
cell geometry
PFLayer::Layer layer_
rechit layer
std::vector< unsigned short > neighbourInfos_
bool operator<=(const PFRecHit &rhs) const
comparison <= operator
unsigned int getNeighbour(short x, short y, short z) const
bool operator<(const PFRecHit &rhs) const
comparison < operator
PositionType const & position() const
rechit cell centre x, y, z
RhoEtaPhi const & repPos() const
unsigned int neighbours8_
int depth() const
depth for segemntation
PFLayer::Layer layer() const
rechit layer
RepCorners const & getCornersREP() const
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Neighbours buildNeighbours(unsigned int n) const
Neighbours neighbours8() const
float energy() const
rechit energy
void setTime(double time)
unsigned int size() const
PFRecHit(CaloCellGeometry const *caloCell, unsigned int detId, PFLayer::Layer layer, float energy)
CaloCellGeometry::RepCorners RepCorners
bool operator>=(const PFRecHit &rhs) const
comparison >= operator
RepCorners REPPointVector
bool operator>(const PFRecHit &rhs) const
comparison > operator
unsigned int const * Pointer
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
~PFRecHit()=default
destructor
void setEnergy(float energy)
CaloCellGeometry const & caloCell() const
calo cell
std::array< RhoEtaPhi, k_cornerSize > RepCorners
Neighbours(Pointer ib, unsigned int n)
const std::vector< unsigned short > & neighbourInfos()
Neighbours neighbours() const
const BasicVectorType & basicVector() const
Neighbours neighbours4() const
RhoEtaPhi const & positionREP() const
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
PFRecHit()
default constructor. Sets energy and position to zero
CornersVec const & getCornersXYZ() const
rechit corners