1 #ifndef RecoTracker_DisplacedRegionalTracking_DisplacedVertexCluster_h 2 #define RecoTracker_DisplacedRegionalTracking_DisplacedVertexCluster_h 49 std::pair<DisplacedVertexClusterItr, DisplacedVertexClusterItr> &
entities() {
return entities_; }
50 const std::pair<DisplacedVertexClusterItr, DisplacedVertexClusterItr> &
entities()
const {
return entities_; }
53 std::pair<DisplacedVertexClusterItr, DisplacedVertexClusterItr>
entities_;
std::vector< const reco::VertexCompositeCandidate * > constituents_
math::XYZVector sumOfCenters_
const math::XYZVector & centerOfMass() const
static constexpr double kInvalidDouble
std::vector< DisplacedVertexCluster >::iterator DisplacedVertexClusterItr
std::pair< DisplacedVertexClusterItr, DisplacedVertexClusterItr > entities_
const std::vector< const reco::VertexCompositeCandidate * > & constituents() const
~DisplacedVertexCluster()=default
const reco::VertexCompositeCandidate * constituent(const unsigned i) const
math::XYZVector centerOfMass_
std::vector< Distance >::iterator DistanceItr
std::pair< DisplacedVertexClusterItr, DisplacedVertexClusterItr > & entities()
Distance(DisplacedVertexClusterItr entity0, DisplacedVertexClusterItr entity1)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
const std::pair< DisplacedVertexClusterItr, DisplacedVertexClusterItr > & entities() const
unsigned nConstituents() const
const math::XYZVector & sumOfCenters() const
void merge(const DisplacedVertexCluster &other)