#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 |
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 29 of file BSFitter.h.
BSFitter::BSFitter | ( | ) |
Definition at line 40 of file BSFitter.cc.
References reco::BeamSpot::Unknown.
BSFitter::BSFitter | ( | const std::vector< BSTrkParameters > & | BSvector | ) |
Definition at line 49 of file BSFitter.cc.
References Pi, and mathSSE::sqrt().
|
virtual |
Definition at line 89 of file BSFitter.cc.
|
inline |
reco::BeamSpot BSFitter::Fit | ( | ) |
Definition at line 95 of file BSFitter.cc.
Referenced by BeamFitter::runAllFitter(), BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
reco::BeamSpot BSFitter::Fit | ( | double * | inipar = nullptr | ) |
Definition at line 98 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 402 of file BSFitter.cc.
References funct::abs(), b, align::BeamSpot, funct::cos(), MillePedeFileConverter_cfg::e, g, dqmiolumiharvest::j, isotrackApplyRegressor::k, makeMuonMisalignmentScenario::matrix, funct::sin(), mps_update::status, and groupFilesInBlocks::temp.
Referenced by BeamFitter::runAllFitter().
reco::BeamSpot BSFitter::Fit_d_likelihood | ( | double * | inipar | ) |
Definition at line 584 of file BSFitter.cc.
References align::BeamSpot, dqmiolumiharvest::j, isotrackApplyRegressor::k, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_d_z_likelihood | ( | double * | inipar, |
double * | error_par | ||
) |
Definition at line 710 of file BSFitter.cc.
References align::BeamSpot, dqmiolumiharvest::j, isotrackApplyRegressor::k, makeMuonMisalignmentScenario::matrix, and testing.
reco::BeamSpot BSFitter::Fit_dres_z_likelihood | ( | double * | inipar | ) |
Definition at line 801 of file BSFitter.cc.
References align::BeamSpot, dqmiolumiharvest::j, isotrackApplyRegressor::k, makeMuonMisalignmentScenario::matrix, and mathSSE::sqrt().
reco::BeamSpot BSFitter::Fit_ited0phi | ( | ) |
Definition at line 352 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 313 of file BSFitter.cc.
References align::BeamSpot, and makeMuonMisalignmentScenario::matrix.
reco::BeamSpot BSFitter::Fit_z_likelihood | ( | double * | inipar | ) |
Definition at line 248 of file BSFitter.cc.
References align::BeamSpot, submitPVResolutionJobs::err, dqmiolumiharvest::j, isotrackApplyRegressor::k, and makeMuonMisalignmentScenario::matrix.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 86 of file BSFitter.h.
References h1z.
Referenced by BeamFitter::runFitterNoTxt().
double BSFitter::scanPDF | ( | double * | init_pars, |
int & | tracksFailed, | ||
int | option | ||
) |
Definition at line 617 of file BSFitter.cc.
References funct::abs(), funct::cos(), MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, CrabHelper::log, fileinputsource_cfi::option, AlCaHLTBitMon_ParallelJobs::p, Pi, funct::sin(), and mathSSE::sqrt().
void BSFitter::SetChi2Cut_d0phi | ( | double | chi2cut | ) |
|
inline |
Definition at line 55 of file BSFitter.h.
References fconvergence, and heppy_batch::val.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
void BSFitter::Setd0Cut_d0phi | ( | double | d0cut | ) |
|
inline |
Definition at line 38 of file BSFitter.h.
References ffit_type.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 40 of file BSFitter.h.
References ffit_variable, and mergeVDriftHistosByStation::name.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 59 of file BSFitter.h.
References finputBeamWidth, and heppy_batch::val.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
inline |
Definition at line 54 of file BSFitter.h.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
inline |
Definition at line 56 of file BSFitter.h.
References fminNtrks, and create_idmaps::n.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
|
private |
Definition at line 115 of file BSFitter.h.
|
private |
Definition at line 114 of file BSFitter.h.
|
private |
Definition at line 92 of file BSFitter.h.
|
private |
Definition at line 104 of file BSFitter.h.
Referenced by GetData().
|
private |
Definition at line 105 of file BSFitter.h.
|
private |
Definition at line 117 of file BSFitter.h.
|
private |
Definition at line 122 of file BSFitter.h.
Referenced by SetConvergence().
|
private |
Definition at line 116 of file BSFitter.h.
|
staticprivate |
Definition at line 98 of file BSFitter.h.
|
private |
Definition at line 96 of file BSFitter.h.
Referenced by GetMinimum().
|
private |
Definition at line 93 of file BSFitter.h.
Referenced by SetFitType().
|
private |
Definition at line 94 of file BSFitter.h.
Referenced by SetFitVariable().
|
private |
Definition at line 124 of file BSFitter.h.
Referenced by SetInputBeamWidth().
|
private |
Definition at line 121 of file BSFitter.h.
Referenced by SetMaximumZ().
|
private |
Definition at line 123 of file BSFitter.h.
Referenced by SetMinimumNTrks().
|
private |
Definition at line 119 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 100 of file BSFitter.h.
|
private |
Definition at line 109 of file BSFitter.h.
Referenced by GetResPar0Err().
|
private |
Definition at line 110 of file BSFitter.h.
Referenced by GetResPar1Err().
|
private |
Definition at line 111 of file BSFitter.h.
Referenced by GetResMatrix().
|
private |
Definition at line 107 of file BSFitter.h.
Referenced by GetResPar0().
|
private |
Definition at line 108 of file BSFitter.h.
Referenced by GetResPar1().
|
private |
Definition at line 102 of file BSFitter.h.
|
private |
Definition at line 113 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 118 of file BSFitter.h.
Referenced by d0phi_Init(), and GetAcceptedTrks().
|
private |
Definition at line 120 of file BSFitter.h.
Referenced by d0phi_Init().
|
private |
Definition at line 125 of file BSFitter.h.
Referenced by GetVzHisto().
|
private |
Definition at line 90 of file BSFitter.h.