5#ifndef INDET_INDETBEAMSPOTVERTEX_H
6#define INDET_INDETBEAMSPOTVERTEX_H
17#include "CLHEP/Matrix/Vector.h"
18#include "CLHEP/Matrix/SymMatrix.h"
37 const std::string& name,
38 const IInterface* parent);
48 virtual FitStatus fit(std::vector< BeamSpot::VrtHolder >&);
110 double errSigmaXY = sqrt((errRhoXY*errRhoXY) * (sigmaX*sigmaX) * (sigmaY*sigmaY) +
111 (rhoXY*rhoXY) * (errSigmaX*errSigmaX) * (sigmaY*sigmaY) +
112 (rhoXY*rhoXY) * (sigmaX*sigmaX) * (errSigmaY*errSigmaY));
115 CLHEP::HepSymMatrix
getCov(
double z)
const;
119 virtual std::map<std::string,double>
getCovMap()
const;
120 virtual std::map<std::string,double>
getParamMap()
const;
178 bool solveLL(
bool printOut =
false);
189 std::pair<int, std::string> & );
190 void doFit2(TMinuit * ,
bool printOut =
false);
A concrete implementation of IInDetBeamSpotTool, using primary vertex information to determine the po...
double getErrRhoXY() const
bool setOutput(TMinuit *minuit)
CLHEP::HepSymMatrix m_VLL
double getErrX(double z) const
std::atomic< int > m_rCount
double getErrSigmaZ() const
virtual ~InDetBeamSpotVertex()
double getSigmaY(double) const
double getErrY(double z) const
double getSigmaX(double) const
void doFit2(TMinuit *, bool printOut=false)
double getErrTiltX() const
virtual StatusCode finalize()
Standard finalize.
double getX(double z) const
bool solveLL(bool printOut=false)
double getSigmaXY(double z) const
int setInitialPars(TMinuit *minuit)
virtual StatusCode initialize()
Standard initialize.
bool m_doChi2OutlierRemoval
IInDetBeamSpotTool * Clone()
double getErrTiltY() const
virtual FitStatus fit(std::vector< BeamSpot::VrtHolder > &)
Attempt a to find a solution of the beamspot.
virtual std::map< std::string, double > getParamMap() const
bool successfulFit(TMinuit *, std::pair< int, std::string > &)
double getErrSigmaY(double) const
double getErrSigmaXY(double z) const
virtual FitID getFitID() const
A unique ID for the specific fit type.
const CLHEP::HepSymMatrix & getLLcov() const
double getErrSigmaX(double) const
double getY(double z) const
std::vector< BeamSpot::VrtHolder > m_vertexData
virtual std::map< std::string, double > getCovMap() const
bool applyOutlierRemoval()
int setParsFromChi2(TMinuit *minuit)
CLHEP::HepSymMatrix m_cov
CLHEP::HepSymMatrix getCov(double z) const
InDetBeamSpotVertex(const std::string &type, const std::string &name, const IInterface *parent)
const CLHEP::HepVector & getLLpos() const