1 #ifndef RecoParticleFlow_PFAlgo_PFBlock_h
2 #define RecoParticleFlow_PFAlgo_PFBlock_h
46 typedef std::map< unsigned int, Link >
LinkData;
88 std::multimap<double, unsigned>& sortedAssociates,
98 return dist(ie1,ie2,linkData);
102 double dist(
unsigned ie1,
Abstract base class for a PFBlock element (track, cluster...)
edm::OwnVector< reco::PFBlockElement >::const_iterator IE
std::map< unsigned int, Link > LinkData
const edm::OwnVector< reco::PFBlockElement > & elements() const
unsigned linkDataSize() const
const LinkData & linkData() const
void setLink(unsigned i1, unsigned i2, double dist, LinkData &linkData, LinkTest test=LINKTEST_RECHIT) const
std::ostream & operator<<(std::ostream &, BeamSpot beam)
void addElement(reco::PFBlockElement *element)
edm::OwnVector< reco::PFBlockElement > elements_
all elements
void associatedElements(unsigned i, const LinkData &linkData, std::multimap< double, unsigned > &sortedAssociates, reco::PFBlockElement::Type type=PFBlockElement::NONE, LinkTest test=LINKTEST_RECHIT) const
bool matrix2vector(unsigned i, unsigned j, unsigned &index) const
double dist(unsigned ie1, unsigned ie2, const LinkData &linkData, LinkTest test) const
LinkData linkData_
link data (permanent)