#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 43 of file BSFitter.cc.
References reco::BeamSpot::Unknown.
BSFitter::BSFitter | ( | const std::vector< BSTrkParameters > & | BSvector | ) |
Definition at line 52 of file BSFitter.cc.
References Pi, and mathSSE::sqrt().
|
virtual |
Definition at line 99 of file BSFitter.cc.
|
inline |
reco::BeamSpot BSFitter::Fit | ( | ) |
Definition at line 108 of file BSFitter.cc.
Referenced by BeamFitter::runAllFitter(), BeamFitter::runBeamWidthFitter(), BeamFitter::runFitterNoTxt(), and SetFitVariable().
reco::BeamSpot BSFitter::Fit | ( | double * | inipar = 0 | ) |
Definition at line 115 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 457 of file BSFitter.cc.
References funct::abs(), b, align::BeamSpot, funct::cos(), MillePedeFileConverter_cfg::e, g, gen::k, makeMuonMisalignmentScenario::matrix, funct::sin(), mps_update::status, and groupFilesInBlocks::temp.
Referenced by BeamFitter::runAllFitter(), and SetFitVariable().
reco::BeamSpot BSFitter::Fit_d_likelihood | ( | double * | inipar | ) |
Definition at line 660 of file BSFitter.cc.
References align::BeamSpot, gen::k, and makeMuonMisalignmentScenario::matrix.
Referenced by GetData().
reco::BeamSpot BSFitter::Fit_d_z_likelihood | ( | double * | inipar, |
double * | error_par | ||
) |
Definition at line 788 of file BSFitter.cc.
References align::BeamSpot, gen::k, and makeMuonMisalignmentScenario::matrix.
Referenced by GetData().
reco::BeamSpot BSFitter::Fit_dres_z_likelihood | ( | double * | inipar | ) |
Definition at line 891 of file BSFitter.cc.
References align::BeamSpot, gen::k, makeMuonMisalignmentScenario::matrix, and mathSSE::sqrt().
Referenced by GetData().
reco::BeamSpot BSFitter::Fit_ited0phi | ( | ) |
Definition at line 401 of file BSFitter.cc.
References reco::BeamSpot::Fake, reco::BeamSpot::setType(), reco::BeamSpot::Tracker, and reco::BeamSpot::Unknown.
Referenced by GetData(), and BeamFitter::runAllFitter().
reco::BeamSpot BSFitter::Fit_z | ( | std::string | type, |
double * | inipar | ||
) |
Referenced by SetFitVariable().
reco::BeamSpot BSFitter::Fit_z_chi2 | ( | double * | inipar | ) |
Definition at line 349 of file BSFitter.cc.
References align::BeamSpot, and makeMuonMisalignmentScenario::matrix.
Referenced by SetFitVariable().
reco::BeamSpot BSFitter::Fit_z_likelihood | ( | double * | inipar | ) |
Definition at line 280 of file BSFitter.cc.
References align::BeamSpot, gen::k, and makeMuonMisalignmentScenario::matrix.
Referenced by SetFitVariable().
|
inline |
|
inline |
Definition at line 75 of file BSFitter.h.
References fBSvector, Fit_d_likelihood(), Fit_d_z_likelihood(), Fit_dres_z_likelihood(), Fit_ited0phi(), TSGForRoadSearch_cfi::option, and scanPDF().
|
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 698 of file BSFitter.cc.
References funct::abs(), funct::cos(), MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, cmsBatch::log, AlCaHLTBitMon_ParallelJobs::p, Pi, funct::sin(), and mathSSE::sqrt().
Referenced by GetData().
void BSFitter::SetChi2Cut_d0phi | ( | double | chi2cut | ) |
Definition at line 651 of file BSFitter.cc.
References trackAssociatorByChi2_cfi::chi2cut.
Referenced by SetMinimumNTrks().
|
inline |
Definition at line 62 of file BSFitter.h.
References fconvergence, and heppy_batch::val.
Referenced by BeamFitter::runBeamWidthFitter(), and BeamFitter::runFitterNoTxt().
void BSFitter::Setd0Cut_d0phi | ( | double | d0cut | ) |
Definition at line 642 of file BSFitter.cc.
Referenced by BeamFitter::runAllFitter(), and SetMinimumNTrks().
|
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, Fit(), Fit_d0phi(), Fit_z(), Fit_z_chi2(), Fit_z_likelihood(), dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by BeamFitter::runAllFitter(), and BeamFitter::runBeamWidthFitter().
|
inline |
Definition at line 66 of file BSFitter.h.
References finputBeamWidth, and heppy_batch::val.
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 trackAssociatorByChi2_cfi::chi2cut, fminNtrks, gen::n, SetChi2Cut_d0phi(), and Setd0Cut_d0phi().
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.