16 using BSVS = BasicSingleVertexState;
19 VertexState(VertexState
const&) =
default;
20 VertexState(VertexState &&) =
default;
21 VertexState &
operator=(
const VertexState&) =
default;
22 VertexState &
operator=(VertexState&&) =
default;
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();
88 bool isValid()
const {
return Base::isValid() &&
data().isValid();}
std::vector< VertexState > components() const
VertexState(const reco::BeamSpot &beamSpot)
GloballyPositioned< float >::GlobalPoint GlobalPoint
GlobalError error() const
bool isValid() const
Make the ReferenceCountingProxy method to check validity public.
ProxyBase & operator=(const ProxyBase &other) noexcept
VertexState(BasicVertexState *p)
static int position[TOTALCHAMBERS][3]
double weightInMixture() const
ROOT::Math::SVector< double, 3 > AlgebraicVector3
ProxyBase< BasicVertexState, CopyUsingClone< BasicVertexState > > Proxy
VertexState(const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0)
VertexState(const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0)
AlgebraicVector3 weightTimesPosition() const
BasicSingleVertexState BSVS
GlobalPoint position() const
GlobalWeight weight() const
VertexState(const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double &weightInMix=1.0)
Unlimited (trivial) bounds.