#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
Definition at line 31 of file BSFitter.h.
BSFitter::BSFitter | ( | ) |
Definition at line 42 of file BSFitter.cc.
References reco::BeamSpot::Unknown.
BSFitter::BSFitter | ( | const std::vector< BSTrkParameters > & | BSvector | ) |
Definition at line 47 of file BSFitter.cc.
References Pi, and mathSSE::sqrt().
|
virtual |
Definition at line 91 of file BSFitter.cc.
|
inline |
reco::BeamSpot BSFitter::Fit | ( | ) |
Definition at line 100 of file BSFitter.cc.
Referenced by BeamFitter::runAllFitter(), BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
reco::BeamSpot BSFitter::Fit | ( | double * | inipar = 0 | ) |
Definition at line 107 of file BSFitter.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::covariance(), reco::BeamSpot::dxdz(), reco::BeamSpot::dydz(), 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 funct::abs(), b, align::BeamSpot, funct::cos(), alignCSCRings::e, g, j, relval_steps::k, makeMuonMisalignmentScenario::matrix, funct::sin(), ntuplemaker::status, and groupFilesInBlocks::temp.
Referenced by BeamFitter::runAllFitter().
reco::BeamSpot BSFitter::Fit_d_likelihood | ( | double * | inipar | ) |
Definition at line 649 of file BSFitter.cc.
References align::BeamSpot, j, relval_steps::k, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_d_z_likelihood | ( | double * | inipar, |
double * | error_par | ||
) |
Definition at line 778 of file BSFitter.cc.
References align::BeamSpot, j, relval_steps::k, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_dres_z_likelihood | ( | double * | inipar | ) |
Definition at line 881 of file BSFitter.cc.
References align::BeamSpot, j, relval_steps::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 341 of file BSFitter.cc.
References align::BeamSpot, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_z_likelihood | ( | double * | inipar | ) |
Definition at line 272 of file BSFitter.cc.
References align::BeamSpot, j, relval_steps::k, and makeMuonMisalignmentScenario::matrix.
|
inline |
|
inline |
|
inline |
Definition at line 85 of file BSFitter.h.
References ff_minimum.
|
inline |
|
inline |
|
inline |
Definition at line 94 of file BSFitter.h.
References fres_c0_err.
|
inline |
|
inline |
Definition at line 97 of file BSFitter.h.
References fres_c1_err.
|
inline |
Definition at line 105 of file BSFitter.h.
References h1z.
Referenced by BeamFitter::runFitterNoTxt().
double BSFitter::scanPDF | ( | double * | init_pars, |
int & | tracksFailed, | ||
int | option | ||
) |
Definition at line 687 of file BSFitter.cc.
References funct::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 640 of file BSFitter.cc.
|
inline |
Definition at line 62 of file BSFitter.h.
References fconvergence.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
void BSFitter::Setd0Cut_d0phi | ( | double | d0cut | ) |
|
inline |
Definition at line 41 of file BSFitter.h.
References ffit_type.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 45 of file BSFitter.h.
References ffit_variable, and mergeVDriftHistosByStation::name.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 66 of file BSFitter.h.
References finputBeamWidth.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
inline |
Definition at line 61 of file BSFitter.h.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
inline |
Definition at line 63 of file BSFitter.h.
References fminNtrks, and gen::n.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
private |
Definition at line 136 of file BSFitter.h.
|
private |
Definition at line 135 of file BSFitter.h.
|
private |
Definition at line 113 of file BSFitter.h.
|
private |
Definition at line 125 of file BSFitter.h.
Referenced by GetData().
|
private |
Definition at line 126 of file BSFitter.h.
|
private |
Definition at line 138 of file BSFitter.h.
|
private |
Definition at line 143 of file BSFitter.h.
Referenced by SetConvergence().
|
private |
Definition at line 137 of file BSFitter.h.
|
staticprivate |
Definition at line 119 of file BSFitter.h.
|
private |
Definition at line 117 of file BSFitter.h.
Referenced by GetMinimum().
|
private |
Definition at line 114 of file BSFitter.h.
Referenced by SetFitType().
|
private |
Definition at line 115 of file BSFitter.h.
Referenced by SetFitVariable().
|
private |
Definition at line 145 of file BSFitter.h.
Referenced by SetInputBeamWidth().
|
private |
Definition at line 142 of file BSFitter.h.
Referenced by SetMaximumZ().
|
private |
Definition at line 144 of file BSFitter.h.
Referenced by SetMinimumNTrks().
|
private |
Definition at line 140 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 121 of file BSFitter.h.
|
private |
Definition at line 130 of file BSFitter.h.
Referenced by GetResPar0Err().
|
private |
Definition at line 131 of file BSFitter.h.
Referenced by GetResPar1Err().
|
private |
Definition at line 132 of file BSFitter.h.
Referenced by GetResMatrix().
|
private |
Definition at line 128 of file BSFitter.h.
Referenced by GetResPar0().
|
private |
Definition at line 129 of file BSFitter.h.
Referenced by GetResPar1().
|
private |
Definition at line 123 of file BSFitter.h.
|
private |
Definition at line 134 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 139 of file BSFitter.h.
Referenced by d0phi_Init(), and GetAcceptedTrks().
|
private |
Definition at line 141 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 146 of file BSFitter.h.
Referenced by GetVzHisto().
|
private |
Definition at line 109 of file BSFitter.h.
|
private |
Definition at line 111 of file BSFitter.h.