1 #ifndef RecoTracker_DisplacedRegionalTracking_DisplacedVertexCluster_h 2 #define RecoTracker_DisplacedRegionalTracking_DisplacedVertexCluster_h 18 static constexpr
double kInvalidDouble = std::numeric_limits<double>::quiet_NaN();
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::list< Distance >::iterator DistanceItr
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::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
std::list< DisplacedVertexCluster >::iterator DisplacedVertexClusterItr
void merge(const DisplacedVertexCluster &other)