#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, kPz, kPt, kCharge, 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 | |
void | correctBField () |
bool | fit (Alignable *ali) |
MuonResiduals6DOFrphiFitter (int residualsModel, int minHits, int useResiduals, bool weightAlignment=true) | |
MuonResiduals6DOFrphiFitter (int residualsModel, int minHits, int useResiduals, const CSCGeometry *cscGeometry, bool weightAlignment=true) | |
int | ndata () |
int | npar () |
double | plot (std::string name, TFileDirectory *dir, Alignable *ali) |
TTree * | readNtuple (std::string fname, unsigned int endcap, unsigned int station, unsigned int ring, unsigned int chamber, unsigned int preselected=1) |
double | sumofweights () |
int | type () const |
virtual | ~MuonResiduals6DOFrphiFitter () |
Public Member Functions inherited from MuonResidualsFitter | |
void | computeHistogramRangeAndBinning (int which, int &nbins, double &a, double &b) |
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 |
$Date: Thu Apr 16 21:29:15 CDT 2009
Definition at line 19 of file MuonResiduals6DOFrphiFitter.h.
anonymous enum |
Enumerator | |
---|---|
kAlignX | |
kAlignY | |
kAlignZ | |
kAlignPhiX | |
kAlignPhiY | |
kAlignPhiZ | |
kResidSigma | |
kResSlopeSigma | |
kAlpha | |
kResidGamma | |
kResSlopeGamma | |
kNPar |
Definition at line 22 of file MuonResiduals6DOFrphiFitter.h.
anonymous enum |
Enumerator | |
---|---|
kResid | |
kResSlope | |
kPositionX | |
kPositionY | |
kAngleX | |
kAngleY | |
kRedChi2 | |
kPz | |
kPt | |
kCharge | |
kNData |
Definition at line 37 of file MuonResiduals6DOFrphiFitter.h.
|
inline |
Definition at line 51 of file MuonResiduals6DOFrphiFitter.h.
|
inline |
Definition at line 55 of file MuonResiduals6DOFrphiFitter.h.
|
inlinevirtual |
Definition at line 59 of file MuonResiduals6DOFrphiFitter.h.
|
virtual |
Implements MuonResidualsFitter.
Definition at line 161 of file MuonResiduals6DOFrphiFitter.cc.
References MuonResidualsFitter::correctBField(), kCharge, and kPz.
|
virtual |
Implements MuonResidualsFitter.
Definition at line 195 of file MuonResiduals6DOFrphiFitter.cc.
References MuonResidualsFitter::dofit(), MuonResidualsFitter::fix(), Alignable::globalPosition(), i, customizeTrackingMonitorSeedNumber::idx, MuonResidualsFitter::initialize_table(), MuonResidualsFitter::k0010, MuonResidualsFitter::k1010, MuonResidualsFitter::k1100, MuonResidualsFitter::k1110, MuonResidualsFitter::k1111, kAlignPhiX, kAlignPhiY, kAlignPhiZ, kAlignX, kAlignZ, kAlpha, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian2D, kResidGamma, kResidSigma, kResSlopeGamma, kResSlopeSigma, MuonResidualsFitter::kROOTVoigt, MuonResiduals6DOFrphiFitter_FCN(), mergeVDriftHistosByStation::name, cscdqm::h::names, pileupDistInMC::num, funct::pow(), MuonResidualsFitter::residualsModel(), mathSSE::sqrt(), dqm_diff::start, relval_parameters_module::step, relval_machine::steps, AlCaHLTBitMon_QueryRunRegistry::string, sumofweights(), MuonResidualsFitter::useRes(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
protectedvirtual |
Implements MuonResidualsFitter.
Definition at line 167 of file MuonResiduals6DOFrphiFitter.cc.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 70 of file MuonResiduals6DOFrphiFitter.h.
References kNData.
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 63 of file MuonResiduals6DOFrphiFitter.h.
References assert(), MuonResidualsFitter::kGaussPowerTails, kNPar, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsFitter::kPureGaussian2D, MuonResidualsFitter::kROOTVoigt, and MuonResidualsFitter::residualsModel().
Referenced by plot().
|
virtual |
Implements MuonResidualsFitter.
Definition at line 261 of file MuonResiduals6DOFrphiFitter.cc.
References a, assert(), b, MuonResidualsFitter::errorerror(), i, kAlignPhiX, kAlignPhiY, kAlignPhiZ, kAlignX, kAlignY, kAlignZ, kAlpha, kAngleX, kAngleY, MuonResidualsFitter::kGaussPowerTails, kPositionX, kPositionY, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsFitter::kPureGaussian2D, kRedChi2, kResid, kResidGamma, kResidSigma, kResSlope, kResSlopeGamma, kResSlopeSigma, MuonResidualsFitter::kROOTVoigt, AlignableSurface::length(), MuonResidualsFitter::m_weightAlignment, TFileDirectory::make(), MuonResidualsFitter_GaussPowerTails_TF1(), MuonResidualsFitter_powerLawTails_TF1(), MuonResidualsFitter_pureGaussian_TF1(), MuonResidualsFitter_ROOTVoigt_TF1(), npar(), NULL, funct::pow(), alignCSCRings::r, MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), MuonResidualsFitter::residualsModel(), AlCaHLTBitMon_QueryRunRegistry::string, sumofweights(), Alignable::surface(), MuonResidualsFitter::value(), histoStyle::weight, AlignableSurface::width(), and create_public_lumi_plots::width.
Referenced by cuy.FindIssue::__init__().
TTree * MuonResiduals6DOFrphiFitter::readNtuple | ( | std::string | fname, |
unsigned int | endcap, | ||
unsigned int | station, | ||
unsigned int | ring, | ||
unsigned int | chamber, | ||
unsigned int | preselected = 1 |
||
) |
Definition at line 537 of file MuonResiduals6DOFrphiFitter.cc.
References MuonResidualsFitter::MuonAlignmentTreeRow::angle_x, MuonResidualsFitter::MuonAlignmentTreeRow::angle_y, assert(), f, MuonResidualsFitter::fill(), i, kAngleX, kAngleY, kCharge, kNData, kPositionX, kPositionY, kPt, kPz, kRedChi2, kResid, kResSlope, MuonResidualsFitter::MuonAlignmentTreeRow::pos_x, MuonResidualsFitter::MuonAlignmentTreeRow::pos_y, MuonResidualsFitter::MuonAlignmentTreeRow::pt, MuonResidualsFitter::MuonAlignmentTreeRow::pz, MuonResidualsFitter::MuonAlignmentTreeRow::q, alignCSCRings::r, MuonResidualsFitter::MuonAlignmentTreeRow::res_slope_x, MuonResidualsFitter::MuonAlignmentTreeRow::res_x, edmStreamStallGrapher::t, and groupFilesInBlocks::tt.
|
virtual |
Implements MuonResidualsFitter.
Definition at line 173 of file MuonResiduals6DOFrphiFitter.cc.
References kRedChi2, MuonResidualsFitter::m_weightAlignment, MuonResidualsFitter::residuals_begin(), and MuonResidualsFitter::residuals_end().
Referenced by fit(), and plot().
|
inlinevirtual |
Implements MuonResidualsFitter.
Definition at line 61 of file MuonResiduals6DOFrphiFitter.h.
References MuonResidualsFitter::k6DOFrphi.
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().