1 #ifndef RecoVertex_VertexPrimitives_VertexState_H 2 #define RecoVertex_VertexPrimitives_VertexState_H 33 GlobalError(beamSpot.rotatedCovariance3D()), 1.0)) {}
38 const double & weightInMix= 1.0) :
39 Base ( new
BSVS (pos, posErr, weightInMix)) {}
43 const double & weightInMix= 1.0) :
44 Base ( new
BSVS (pos, posWeight, weightInMix)) {}
48 const double & weightInMix= 1.0) :
49 Base ( new
BSVS (weightTimesPosition, posWeight, weightInMix)) {}
54 const double & weightInMix = 1.0) :
55 Base ( new
BSVS (pos, time, posTimeErr, weightInMix)) {}
59 const double & weightInMix = 1.0) :
60 Base ( new
BSVS (pos, time, posTimeWeight, weightInMix)) {}
64 const double & weightInMix = 1.0) :
65 Base ( new
BSVS (weightTimesPosition, posTimeWeight, weightInMix)) {}
71 return data().position();
76 return data().error();
82 return data().error4D();
87 return data().weight();
92 return data().weight4D();
100 return data().timeError();
105 return data().weightTimesPosition();
110 return data().weightTimesPosition4D();
115 return data().weightInMixture();
127 return data().components();
VertexState(BasicVertexState *p)
VertexState(const GlobalPoint &pos, const double time, const GlobalError &posTimeErr, const double &weightInMix=1.0)
VertexState(const reco::BeamSpot &beamSpot)
GlobalPoint position() const
GlobalWeight weight4D() const
VertexState(const AlgebraicVector4 &weightTimesPosition, const GlobalWeight &posTimeWeight, const double &weightInMix=1.0)
double weightInMixture() const
AlgebraicVector3 weightTimesPosition() const
ROOT::Math::SVector< double, 3 > AlgebraicVector3
std::vector< VertexState > components() const
VertexState(const GlobalPoint &pos, const double time, const GlobalWeight &posTimeWeight, const double &weightInMix=1.0)
VertexState(const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0)
ProxyBase< BasicVertexState, CopyUsingClone< BasicVertexState > > Proxy
GlobalWeight weight() const
GlobalError error4D() const
bool isValid() const
Make the ReferenceCountingProxy method to check validity public.
AlgebraicVector4 weightTimesPosition4D() const
GlobalError error() const
VertexState(const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0)
VertexState & operator=(const VertexState &)=default
ROOT::Math::SVector< double, 4 > AlgebraicVector4
VertexState(const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double &weightInMix=1.0)