Go to the documentation of this file.00001 #include "RecoVertex/VertexPrimitives/interface/BasicSingleVertexState.h"
00002 #include "RecoVertex/VertexPrimitives/interface/VertexState.h"
00003
00004 typedef BasicSingleVertexState BSVS;
00005
00006 VertexState::VertexState():
00007 Base ( new BSVS ()) {}
00008
00009 VertexState::VertexState(BasicVertexState* p) :
00010 Base(p) {}
00011
00012 VertexState::VertexState(const GlobalPoint & pos,
00013 const GlobalError & posErr, const double & weightInMix) :
00014 Base ( new BSVS (pos, posErr, weightInMix)) {}
00015
00016 VertexState::VertexState(const GlobalPoint & pos,
00017 const GlobalWeight & posWeight, const double & weightInMix) :
00018 Base ( new BSVS (pos, posWeight, weightInMix)) {}
00019
00020 VertexState::VertexState(const AlgebraicVector3 & weightTimesPosition,
00021 const GlobalWeight & posWeight, const double & weightInMix) :
00022 Base ( new BSVS (weightTimesPosition, posWeight, weightInMix)) {}
00023
00024 VertexState::VertexState(const reco::BeamSpot& beamSpot) :
00025 Base ( new BSVS ( GlobalPoint(Basic3DVector<float> (beamSpot.position())),
00026 GlobalError(beamSpot.rotatedCovariance3D()), 1.0)) {}