CMS 3D CMS Logo

VertexState.cc

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

Generated on Tue Jun 9 17:46:13 2009 for CMSSW by  doxygen 1.5.4