33 GlobalError(beamSpot.rotatedCovariance3D()), 1.0)) {}
37 const GlobalError & posErr,
const double & weightInMix= 1.0) :
38 Base ( new
BSVS (pos, posErr, weightInMix)) {}
41 const GlobalWeight & posWeight,
const double & weightInMix= 1.0) :
42 Base ( new
BSVS (pos, posWeight, weightInMix)) {}
45 const GlobalWeight & posWeight,
const double & weightInMix= 1.0) :
46 Base ( new
BSVS (weightTimesPosition, posWeight, weightInMix)) {}
52 return data().position();
57 return data().error();
62 return data().weight();
67 return data().weightTimesPosition();
72 return data().weightInMixture();
84 return data().components();
VertexState(BasicVertexState *p)
VertexState(const reco::BeamSpot &beamSpot)
GlobalPoint position() const
double weightInMixture() const
AlgebraicVector3 weightTimesPosition() const
ROOT::Math::SVector< double, 3 > AlgebraicVector3
std::vector< VertexState > components() const
VertexState(const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0)
ProxyBase< BasicVertexState, CopyUsingClone< BasicVertexState > > Proxy
GlobalWeight weight() const
bool isValid() const
Make the ReferenceCountingProxy method to check validity public.
GlobalError error() const
VertexState(const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0)
VertexState & operator=(const VertexState &)=default
VertexState(const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double &weightInMix=1.0)