#include <MuonResiduals1DOFFitter.h>
Public Types | |
enum | { kAlign = 0, kSigma, kGamma, kNPar } |
enum | { kResid = 0, kRedChi2, kNData } |
Public Types inherited from MuonResidualsFitter | |
enum | { kPureGaussian, kPowerLawTails, kROOTVoigt, kGaussPowerTails } |
enum | { k1DOF, k5DOF, k6DOF, k6DOFrphi, kPositionFitter, kAngleFitter, kAngleBfieldFitter } |
Public Member Functions | |
bool | fit (Alignable *ali) |
MuonResiduals1DOFFitter (int residualsModel, int minHits, 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 | |
double | errorerror (int parNum) |
void | fill (double *residual) |
void | fix (int parNum, bool value=true) |
bool | fixed (int parNum) |
double | loglikelihood () |
MuonResidualsFitter (int residualsModel, int minHits, bool weightAlignment=true) | |
long | numResiduals () const |
long | numsegments () |
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 |
void | setPrintLevel (int printLevel) |
void | setStrategy (int strategy) |
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 | |
std::vector< double > | m_error |
std::vector< bool > | m_fixed |
double | m_loglikelihood |
int | m_minHits |
int | m_printLevel |
std::vector< double * > | m_residuals |
int | m_residualsModel |
int | m_strategy |
std::vector< double > | m_value |
bool | m_weightAlignment |
$Date: Fri Apr 17 16:09:40 CDT 2009
Definition at line 12 of file MuonResiduals1DOFFitter.h.
anonymous enum |
anonymous enum |
|
inline |
Definition at line 27 of file MuonResiduals1DOFFitter.h.
|
virtual |
Implements MuonResidualsFitter.
Definition at line 68 of file MuonResiduals1DOFFitter.cc.
References MuonResidualsFitter::dofit(), MuonResidualsFitter::fixed(), MuonResidualsFitter::initialize_table(), kAlign, kGamma, MuonResidualsFitter::kGaussPowerTails, MuonResidualsFitter::kPureGaussian, kRedChi2, kResid, kSigma, MuonResidualsFitter::m_weightAlignment, MuonResiduals1DOFFitter_FCN(), MultiGaussianStateTransform::N, AlCaRecoCosmics_cfg::name, funct::pow(), MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), MuonResidualsFitter::residualsModel(), mathSSE::sqrt(), ExpressReco_HICollisions_FallBack::step, sumofweights(), and CommonMethods::weight().
|
protectedvirtual |
Implements MuonResidualsFitter.
Definition at line 9 of file MuonResiduals1DOFFitter.cc.
References MuonResiduals1DOFFitter_TMinuit.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 37 of file MuonResiduals1DOFFitter.h.
References kNData.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 31 of file MuonResiduals1DOFFitter.h.
References MuonResidualsFitter::kGaussPowerTails, kNPar, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsFitter::kROOTVoigt, and MuonResidualsFitter::residualsModel().
Referenced by plot().
|
virtual |
Implements MuonResidualsFitter.
Definition at line 138 of file MuonResiduals1DOFFitter.cc.
References ExpressReco_HICollisions_FallBack::chi2, i, kAlign, kGamma, MuonResidualsFitter::kGaussPowerTails, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, kRedChi2, kResid, MuonResidualsFitter::kROOTVoigt, kSigma, MuonResidualsFitter::m_weightAlignment, TFileDirectory::make(), MuonResiduals1DOFFitter_sum_of_weights, MuonResidualsFitter_GaussPowerTails_TF1(), MuonResidualsFitter_powerLawTails_TF1(), MuonResidualsFitter_pureGaussian_TF1(), MuonResidualsFitter_ROOTVoigt_TF1(), npar(), NULL, funct::pow(), MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), MuonResidualsFitter::residualsModel(), sumofweights(), MuonResidualsFitter::value(), and CommonMethods::weight().
|
virtual |
Implements MuonResidualsFitter.
Definition at line 48 of file MuonResiduals1DOFFitter.cc.
References kRedChi2, MuonResidualsFitter::m_weightAlignment, MuonResiduals1DOFFitter_number_of_hits, MuonResiduals1DOFFitter_sum_of_weights, MuonResiduals1DOFFitter_weightAlignment, MuonResidualsFitter::residuals_begin(), and MuonResidualsFitter::residuals_end().
Referenced by fit(), and plot().
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 29 of file MuonResiduals1DOFFitter.h.
References MuonResidualsFitter::k1DOF.
Referenced by python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().