#include <MuonResiduals6DOFrphiFitter.h>
Public Types | |
enum | { kAlignX = 0, kAlignY, kAlignZ, kAlignPhiX, kAlignPhiY, kAlignPhiZ, kResidSigma, kResSlopeSigma, kAlpha, kResidGamma, kResSlopeGamma, kNPar } |
enum | { kResid = 0, kResSlope, kPositionX, kPositionY, kAngleX, kAngleY, 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) |
MuonResiduals6DOFrphiFitter (int residualsModel, int minHits, const CSCGeometry *cscGeometry, 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 () |
Private Attributes | |
const CSCGeometry * | m_cscGeometry |
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: Thu Apr 16 21:29:15 CDT 2009
Definition at line 13 of file MuonResiduals6DOFrphiFitter.h.
anonymous enum |
Enumerator | |
---|---|
kAlignX | |
kAlignY | |
kAlignZ | |
kAlignPhiX | |
kAlignPhiY | |
kAlignPhiZ | |
kResidSigma | |
kResSlopeSigma | |
kAlpha | |
kResidGamma | |
kResSlopeGamma | |
kNPar |
Definition at line 15 of file MuonResiduals6DOFrphiFitter.h.
anonymous enum |
Enumerator | |
---|---|
kResid | |
kResSlope | |
kPositionX | |
kPositionY | |
kAngleX | |
kAngleY | |
kRedChi2 | |
kNData |
Definition at line 30 of file MuonResiduals6DOFrphiFitter.h.
|
inline |
Definition at line 41 of file MuonResiduals6DOFrphiFitter.h.
|
virtual |
Implements MuonResidualsFitter.
Definition at line 126 of file MuonResiduals6DOFrphiFitter.cc.
References MuonResidualsFitter::dofit(), MuonResidualsFitter::fixed(), MuonResidualsFitter::initialize_table(), kAlignPhiX, kAlignPhiY, kAlignPhiZ, kAlignX, kAlignY, kAlignZ, kAlpha, MuonResidualsFitter::kGaussPowerTails, MuonResidualsFitter::kPureGaussian, kResidGamma, kResidSigma, kResSlopeGamma, kResSlopeSigma, MuonResiduals6DOFrphiFitter_FCN(), mergeVDriftHistosByStation::name, MuonResidualsFitter::residualsModel(), launcher::step, and sumofweights().
|
protectedvirtual |
Implements MuonResidualsFitter.
Definition at line 15 of file MuonResiduals6DOFrphiFitter.cc.
References MuonResiduals6DOFrphiFitter_TMinuit.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 51 of file MuonResiduals6DOFrphiFitter.h.
References kNData.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 45 of file MuonResiduals6DOFrphiFitter.h.
References MuonResidualsFitter::kGaussPowerTails, kNPar, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsFitter::kROOTVoigt, and MuonResidualsFitter::residualsModel().
Referenced by plot().
|
virtual |
Implements MuonResidualsFitter.
Definition at line 168 of file MuonResiduals6DOFrphiFitter.cc.
References CSCDetId, Alignable::geomDetId(), Alignable::globalPosition(), i, kAlignPhiX, kAlignPhiY, kAlignPhiZ, kAlignX, kAlignY, kAlignZ, kAlpha, kAngleX, kAngleY, MuonResidualsFitter::kGaussPowerTails, kPositionX, kPositionY, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, kRedChi2, kResid, kResidGamma, kResidSigma, kResSlope, kResSlopeGamma, kResSlopeSigma, MuonResidualsFitter::kROOTVoigt, AlignableSurface::length(), m_cscGeometry, MuonResidualsFitter::m_weightAlignment, TFileDirectory::make(), MuonResiduals6DOFrphiFitter_effectiveR(), MuonResiduals6DOFrphiFitter_R, MuonResiduals6DOFrphiFitter_residual(), MuonResiduals6DOFrphiFitter_residual_trackdxdz_TF1(), MuonResiduals6DOFrphiFitter_residual_trackdydz_TF1(), MuonResiduals6DOFrphiFitter_residual_trackx_TF1(), MuonResiduals6DOFrphiFitter_residual_tracky_TF1(), MuonResiduals6DOFrphiFitter_resslope(), MuonResiduals6DOFrphiFitter_resslope_trackdxdz_TF1(), MuonResiduals6DOFrphiFitter_resslope_trackdydz_TF1(), MuonResiduals6DOFrphiFitter_resslope_trackx_TF1(), MuonResiduals6DOFrphiFitter_resslope_tracky_TF1(), MuonResiduals6DOFrphiFitter_sum_of_weights, MuonResidualsFitter_GaussPowerTails_TF1(), MuonResidualsFitter_powerLawTails_TF1(), MuonResidualsFitter_pureGaussian_TF1(), MuonResidualsFitter_ROOTVoigt_TF1(), npar(), NULL, funct::pow(), DetId::rawId(), MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), MuonResidualsFitter::residualsModel(), mathSSE::sqrt(), sumofweights(), Alignable::surface(), MuonResidualsFitter::value(), CommonMethods::weight(), AlignableSurface::width(), tablePrinter::width, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
Implements MuonResidualsFitter.
Definition at line 106 of file MuonResiduals6DOFrphiFitter.cc.
References kRedChi2, MuonResidualsFitter::m_weightAlignment, MuonResiduals6DOFrphiFitter_number_of_hits, MuonResiduals6DOFrphiFitter_sum_of_weights, MuonResiduals6DOFrphiFitter_weightAlignment, MuonResidualsFitter::residuals_begin(), and MuonResidualsFitter::residuals_end().
Referenced by fit(), and plot().
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 43 of file MuonResiduals6DOFrphiFitter.h.
References MuonResidualsFitter::k6DOFrphi.
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().
|
private |
Definition at line 61 of file MuonResiduals6DOFrphiFitter.h.
Referenced by plot().