#include <FcnBeamSpotFitPV.h>
Public Member Functions | |
FcnBeamSpotFitPV (const std::vector< BeamSpotFitPVData > &data) | |
unsigned int | nrOfVerticesUsed () const |
double | operator() (const std::vector< double > &) const |
void | setLimits (float xmin, float xmax, float ymin, float ymax, float zmin, float zmax) |
double | Up () const |
~FcnBeamSpotFitPV () | |
Private Attributes | |
const std::vector < BeamSpotFitPVData > & | data_ |
double | errorDef_ |
float | lowerLimits_ [3] |
float | upperLimits_ [3] |
LogLH function for 3D beam spot fit from primary vertex data. Assumes a Gaussian resolution function for the vertices provided in the form of a vector of BeamSpotFitPVData and a Gaussian beam profile in 3D: based on a covariance without xz and yz correlations + linearized rotations in the xz and yz planes. Parameters: x, y, z, ex, corrxy, ey, dxdz, dydz, ez, scale x, y, z ...... beamspot position ex, ey, ez ... beamspot width corrxy ....... xy correlation in the system of the beam line dxdz, dydz ... rotations in xz and yz scale ........ scaling factor for vertex errors
Definition at line 22 of file FcnBeamSpotFitPV.h.
FcnBeamSpotFitPV::FcnBeamSpotFitPV | ( | const std::vector< BeamSpotFitPVData > & | data | ) |
Definition at line 12 of file FcnBeamSpotFitPV.cc.
References lowerLimits_, and upperLimits_.
|
inline |
Definition at line 26 of file FcnBeamSpotFitPV.h.
unsigned int FcnBeamSpotFitPV::nrOfVerticesUsed | ( | ) | const |
Definition at line 35 of file FcnBeamSpotFitPV.cc.
References data_, lowerLimits_, and upperLimits_.
double FcnBeamSpotFitPV::operator() | ( | const std::vector< double > & | pars | ) | const |
Definition at line 60 of file FcnBeamSpotFitPV.cc.
References gather_cfg::cout, data_, fff_deletion::log, lowerLimits_, and upperLimits_.
void FcnBeamSpotFitPV::setLimits | ( | float | xmin, |
float | xmax, | ||
float | ymin, | ||
float | ymax, | ||
float | zmin, | ||
float | zmax | ||
) |
Definition at line 22 of file FcnBeamSpotFitPV.cc.
References lowerLimits_, upperLimits_, SiStripMonitorClusterAlca_cfi::xmax, SiStripMonitorClusterAlca_cfi::xmin, SiStripMonitorClusterAlca_cfi::ymax, SiStripMonitorClusterAlca_cfi::ymin, SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
Referenced by PVFitter::runBXFitter(), and PVFitter::runFitter().
|
inline |
|
private |
Definition at line 38 of file FcnBeamSpotFitPV.h.
Referenced by nrOfVerticesUsed(), and operator()().
|
private |
Definition at line 39 of file FcnBeamSpotFitPV.h.
Referenced by Up().
|
private |
Definition at line 41 of file FcnBeamSpotFitPV.h.
Referenced by FcnBeamSpotFitPV(), nrOfVerticesUsed(), operator()(), and setLimits().
|
private |
Definition at line 42 of file FcnBeamSpotFitPV.h.
Referenced by FcnBeamSpotFitPV(), nrOfVerticesUsed(), operator()(), and setLimits().