#include <BSFitter.h>
Public Member Functions | |
BSFitter () | |
BSFitter (const std::vector< BSTrkParameters > &BSvector) | |
void | d0phi_Init () |
reco::BeamSpot | Fit () |
reco::BeamSpot | Fit (double *inipar) |
reco::BeamSpot | Fit_d0phi () |
reco::BeamSpot | Fit_d_likelihood (double *inipar) |
reco::BeamSpot | Fit_d_z_likelihood (double *inipar, double *error_par) |
reco::BeamSpot | Fit_dres_z_likelihood (double *inipar) |
reco::BeamSpot | Fit_ited0phi () |
reco::BeamSpot | Fit_z (std::string type, double *inipar) |
reco::BeamSpot | Fit_z_chi2 (double *inipar) |
reco::BeamSpot | Fit_z_likelihood (double *inipar) |
int | GetAcceptedTrks () |
std::vector< BSTrkParameters > | GetData () |
double | GetMinimum () |
reco::BeamSpot::ResCovMatrix | GetResMatrix () |
double | GetResPar0 () |
double | GetResPar0Err () |
double | GetResPar1 () |
double | GetResPar1Err () |
TH1F * | GetVzHisto () |
double | scanPDF (double *init_pars, int &tracksFailed, int option) |
void | SetChi2Cut_d0phi (double chi2cut) |
void | SetConvergence (double val) |
void | Setd0Cut_d0phi (double d0cut) |
void | SetFitType (std::string type) |
void | SetFitVariable (std::string name) |
void | SetInputBeamWidth (double val) |
void | SetMaximumZ (double z) |
void | SetMinimumNTrks (int n) |
virtual | ~BSFitter () |
Private Attributes | |
bool | fapplychi2cut |
bool | fapplyd0cut |
reco::BeamSpot::BeamType | fbeamtype |
std::vector< BSTrkParameters > | fBSvector |
std::vector< BSTrkParameters > | fBSvectorBW |
double | fchi2cut |
double | fconvergence |
double | fd0cut |
double | ff_minimum |
std::string | ffit_type |
std::string | ffit_variable |
double | finputBeamWidth |
double | fMaxZ |
int | fminNtrks |
int | fnthite |
std::string | fpar_name [fdim] |
double | fres_c0_err |
double | fres_c1_err |
reco::BeamSpot::ResCovMatrix | fres_matrix |
double | fresolution_c0 |
double | fresolution_c1 |
Double_t | fsqrt2pi |
TMatrixD | ftmp |
int | ftmprow |
bool | goodfit |
TH1F * | h1z |
ROOT::Minuit2::ModularFunctionMinimizer * | theFitter |
BSpdfsFcn * | thePDF |
Static Private Attributes | |
static const int | fdim = 7 |
class: BSFitter.h package: RecoVertex/BeamSpotProducer
author: Francisco Yumiceva, Fermilab (yumic) eva@ fnal. gov
version
Definition at line 32 of file BSFitter.h.
BSFitter::BSFitter | ( | ) |
Definition at line 43 of file BSFitter.cc.
References reco::BeamSpot::Unknown.
BSFitter::BSFitter | ( | const std::vector< BSTrkParameters > & | BSvector | ) |
Definition at line 48 of file BSFitter.cc.
References Pi, and mathSSE::sqrt().
|
virtual |
Definition at line 92 of file BSFitter.cc.
|
inline |
reco::BeamSpot BSFitter::Fit | ( | ) |
Definition at line 101 of file BSFitter.cc.
Referenced by BeamFitter::runAllFitter(), BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
reco::BeamSpot BSFitter::Fit | ( | double * | inipar = 0 | ) |
Definition at line 108 of file BSFitter.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::covariance(), reco::BeamSpot::dxdz(), reco::BeamSpot::dydz(), edm::hlt::Exception, edm::isNotFinite(), makeMuonMisalignmentScenario::matrix, funct::pow(), alignCSCRings::s, reco::BeamSpot::setType(), reco::BeamSpot::sigmaZ(), reco::BeamSpot::Unknown, reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
reco::BeamSpot BSFitter::Fit_d0phi | ( | ) |
Definition at line 448 of file BSFitter.cc.
References abs, b, align::BeamSpot, funct::cos(), alignCSCRings::e, g, j, gen::k, makeMuonMisalignmentScenario::matrix, funct::sin(), mathSSE::sqrt(), and groupFilesInBlocks::temp.
Referenced by BeamFitter::runAllFitter().
reco::BeamSpot BSFitter::Fit_d_likelihood | ( | double * | inipar | ) |
Definition at line 642 of file BSFitter.cc.
References align::BeamSpot, j, gen::k, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_d_z_likelihood | ( | double * | inipar, |
double * | error_par | ||
) |
Definition at line 771 of file BSFitter.cc.
References align::BeamSpot, j, gen::k, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_dres_z_likelihood | ( | double * | inipar | ) |
Definition at line 874 of file BSFitter.cc.
References align::BeamSpot, j, gen::k, makeMuonMisalignmentScenario::matrix, and mathSSE::sqrt().
reco::BeamSpot BSFitter::Fit_ited0phi | ( | ) |
Definition at line 392 of file BSFitter.cc.
References reco::BeamSpot::Fake, reco::BeamSpot::setType(), reco::BeamSpot::Tracker, and reco::BeamSpot::Unknown.
Referenced by BeamFitter::runAllFitter().
reco::BeamSpot BSFitter::Fit_z | ( | std::string | type, |
double * | inipar | ||
) |
reco::BeamSpot BSFitter::Fit_z_chi2 | ( | double * | inipar | ) |
Definition at line 342 of file BSFitter.cc.
References align::BeamSpot, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_z_likelihood | ( | double * | inipar | ) |
Definition at line 273 of file BSFitter.cc.
References align::BeamSpot, j, gen::k, and makeMuonMisalignmentScenario::matrix.
|
inline |
|
inline |
|
inline |
Definition at line 86 of file BSFitter.h.
References ff_minimum.
|
inline |
|
inline |
|
inline |
Definition at line 95 of file BSFitter.h.
References fres_c0_err.
|
inline |
|
inline |
Definition at line 98 of file BSFitter.h.
References fres_c1_err.
|
inline |
Definition at line 106 of file BSFitter.h.
References h1z.
Referenced by BeamFitter::runFitterNoTxt().
double BSFitter::scanPDF | ( | double * | init_pars, |
int & | tracksFailed, | ||
int | option | ||
) |
Definition at line 680 of file BSFitter.cc.
References abs, funct::cos(), alignCSCRings::e, create_public_lumi_plots::exp, create_public_lumi_plots::log, AlCaHLTBitMon_ParallelJobs::p, Pi, funct::sin(), and mathSSE::sqrt().
void BSFitter::SetChi2Cut_d0phi | ( | double | chi2cut | ) |
Definition at line 633 of file BSFitter.cc.
|
inline |
Definition at line 63 of file BSFitter.h.
References fconvergence.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
void BSFitter::Setd0Cut_d0phi | ( | double | d0cut | ) |
|
inline |
Definition at line 42 of file BSFitter.h.
References ffit_type.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 46 of file BSFitter.h.
References ffit_variable, and mergeVDriftHistosByStation::name.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 67 of file BSFitter.h.
References finputBeamWidth.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
inline |
Definition at line 62 of file BSFitter.h.
References fMaxZ, and detailsBasic3DVector::z.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
inline |
Definition at line 64 of file BSFitter.h.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
private |
Definition at line 137 of file BSFitter.h.
|
private |
Definition at line 136 of file BSFitter.h.
|
private |
Definition at line 114 of file BSFitter.h.
|
private |
Definition at line 126 of file BSFitter.h.
Referenced by GetData().
|
private |
Definition at line 127 of file BSFitter.h.
|
private |
Definition at line 139 of file BSFitter.h.
|
private |
Definition at line 144 of file BSFitter.h.
Referenced by SetConvergence().
|
private |
Definition at line 138 of file BSFitter.h.
|
staticprivate |
Definition at line 120 of file BSFitter.h.
|
private |
Definition at line 118 of file BSFitter.h.
Referenced by GetMinimum().
|
private |
Definition at line 115 of file BSFitter.h.
Referenced by SetFitType().
|
private |
Definition at line 116 of file BSFitter.h.
Referenced by SetFitVariable().
|
private |
Definition at line 146 of file BSFitter.h.
Referenced by SetInputBeamWidth().
|
private |
Definition at line 143 of file BSFitter.h.
Referenced by SetMaximumZ().
|
private |
Definition at line 145 of file BSFitter.h.
Referenced by SetMinimumNTrks().
|
private |
Definition at line 141 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 122 of file BSFitter.h.
|
private |
Definition at line 131 of file BSFitter.h.
Referenced by GetResPar0Err().
|
private |
Definition at line 132 of file BSFitter.h.
Referenced by GetResPar1Err().
|
private |
Definition at line 133 of file BSFitter.h.
Referenced by GetResMatrix().
|
private |
Definition at line 129 of file BSFitter.h.
Referenced by GetResPar0().
|
private |
Definition at line 130 of file BSFitter.h.
Referenced by GetResPar1().
|
private |
Definition at line 124 of file BSFitter.h.
|
private |
Definition at line 135 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 140 of file BSFitter.h.
Referenced by d0phi_Init(), and GetAcceptedTrks().
|
private |
Definition at line 142 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 147 of file BSFitter.h.
Referenced by GetVzHisto().
|
private |
Definition at line 110 of file BSFitter.h.
|
private |
Definition at line 112 of file BSFitter.h.