#include <MuonResidualsPositionFitter.h>
Public Types | |
enum | { kPosition = 0, kZpos, kPhiz, kScattering, kSigma, kGamma, kNPar } |
enum | { kResidual = 0, kAngleError, kTrackAngle, kTrackPosition, kNData } |
Public Types inherited from MuonResidualsFitter | |
enum | { kPureGaussian, kPowerLawTails, kROOTVoigt, kGaussPowerTails, kPureGaussian2D } |
enum | { k1DOF, k5DOF, k6DOF, k6DOFrphi, kPositionFitter, kAngleFitter, kAngleBfieldFitter } |
enum | { k1111, k1110, k1100, k1010, k0010 } |
Public Member Functions | |
bool | fit (Alignable *ali) |
MuonResidualsPositionFitter (int residualsModel, int minHits, int useResiduals, bool weightAlignment=true) | |
int | ndata () |
int | npar () |
double | plot (std::string name, TFileDirectory *dir, Alignable *ali) |
double | sumofweights () |
int | type () const |
Public Member Functions inherited from MuonResidualsFitter | |
void | computeHistogramRangeAndBinning (int which, int &nbins, double &a, double &b) |
virtual void | correctBField ()=0 |
virtual void | correctBField (int idx_momentum, int idx_q) |
TMatrixDSym | correlationMatrix () |
double | covarianceElement (int parNum1, int parNum2) |
TMatrixDSym | covarianceMatrix () |
void | eraseNotSelectedResiduals () |
double | errorerror (int parNum) |
void | fill (double *residual) |
void | fix (int parNum, bool val=true) |
bool | fixed (int parNum) |
void | histogramChi2GaussianFit (int which, double &fit_mean, double &fit_sigma) |
double | loglikelihood () |
MuonResidualsFitter (int residualsModel, int minHits, int useResiduals, bool weightAlignment=true) | |
int | nfixed () |
long | numResiduals () const |
long | numsegments () |
int | parNum2parIdx (int parNum) |
void | plotsimple (std::string name, TFileDirectory *dir, int which, double multiplier) |
void | plotweighted (std::string name, TFileDirectory *dir, int which, int whichredchi2, double multiplier) |
void | read (FILE *file, int which=0) |
std::vector< double * > ::const_iterator | residuals_begin () const |
std::vector< double * > ::const_iterator | residuals_end () const |
int | residualsModel () const |
std::vector< bool > & | selectedResidualsFlags () |
void | selectPeakResiduals (double nsigma, int nvar, int *vars) |
void | selectPeakResiduals_simple (double nsigma, int nvar, int *vars) |
void | setPrintLevel (int printLevel) |
void | setStrategy (int strategy) |
int | useRes () const |
double | value (int parNum) |
void | write (FILE *file, int which=0) |
virtual | ~MuonResidualsFitter () |
Protected Member Functions | |
void | inform (TMinuit *tMinuit) |
Protected Member Functions inherited from MuonResidualsFitter | |
bool | dofit (void(*fcn)(int &, double *, double &, double *, int), std::vector< int > &parNum, std::vector< std::string > &parName, std::vector< double > &start, std::vector< double > &step, std::vector< double > &low, std::vector< double > &high) |
void | initialize_table () |
Additional Inherited Members | |
Protected Attributes inherited from MuonResidualsFitter | |
double | m_center [20] |
TMatrixDSym | m_cov |
std::vector< double > | m_error |
std::vector< bool > | m_fixed |
double | m_loglikelihood |
int | m_minHits |
std::map< int, int > | m_parNum2parIdx |
int | m_printLevel |
double | m_radii [20] |
std::vector< double * > | m_residuals |
std::vector< bool > | m_residuals_ok |
int | m_residualsModel |
int | m_strategy |
int | m_useResiduals |
std::vector< double > | m_value |
bool | m_weightAlignment |
anonymous enum |
Enumerator | |
---|---|
kPosition | |
kZpos | |
kPhiz | |
kScattering | |
kSigma | |
kGamma | |
kNPar |
Definition at line 14 of file MuonResidualsPositionFitter.h.
anonymous enum |
Enumerator | |
---|---|
kResidual | |
kAngleError | |
kTrackAngle | |
kTrackPosition | |
kNData |
Definition at line 24 of file MuonResidualsPositionFitter.h.
|
inline |
Definition at line 32 of file MuonResidualsPositionFitter.h.
|
virtual |
Implements MuonResidualsFitter.
Definition at line 42 of file MuonResidualsPositionFitter.cc.
References MuonResidualsFitter::dofit(), MuonResidualsFitter::initialize_table(), kGamma, MuonResidualsFitter::kGaussPowerTails, kPhiz, kPosition, MuonResidualsFitter::kPureGaussian, kResidual, kScattering, kSigma, kZpos, MuonResidualsFitter::m_minHits, timingPdfMaker::mean, MuonResidualsPositionFitter_FCN(), N, funct::pow(), MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), MuonResidualsFitter::residualsModel(), mathSSE::sqrt(), dqm_diff::start, plotscripts::stdev(), relval_parameters_module::step, AlCaHLTBitMon_QueryRunRegistry::string, makeMuonMisalignmentScenario::sum_x, and makeMuonMisalignmentScenario::sum_xx.
|
protectedvirtual |
Implements MuonResidualsFitter.
Definition at line 5 of file MuonResidualsPositionFitter.cc.
References MuonResidualsPositionFitter_TMinuit.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 42 of file MuonResidualsPositionFitter.h.
References kNData.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 36 of file MuonResidualsPositionFitter.h.
References assert(), MuonResidualsFitter::kGaussPowerTails, kNPar, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsFitter::kROOTVoigt, and MuonResidualsFitter::residualsModel().
|
virtual |
Implements MuonResidualsFitter.
Definition at line 116 of file MuonResidualsPositionFitter.cc.
References kAngleError, kGamma, MuonResidualsFitter::kGaussPowerTails, kPhiz, kPosition, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, kResidual, MuonResidualsFitter::kROOTVoigt, kScattering, kSigma, kTrackAngle, kTrackPosition, kZpos, TFileDirectory::make(), MuonResidualsFitter_GaussPowerTails_TF1(), MuonResidualsFitter_powerLawTails_TF1(), MuonResidualsFitter_pureGaussian_TF1(), MuonResidualsFitter_ROOTVoigt_TF1(), NULL, MuonResidualsFitter::numResiduals(), MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), MuonResidualsFitter::residualsModel(), AlCaHLTBitMon_QueryRunRegistry::string, and MuonResidualsFitter::value().
Referenced by cuy.FindIssue::__init__().
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 45 of file MuonResidualsPositionFitter.h.
References MuonResidualsFitter::numResiduals().
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 34 of file MuonResidualsPositionFitter.h.
References MuonResidualsFitter::kPositionFitter.
Referenced by cuy.ValElement::__init__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().