#include <CSCAlignmentCorrections.h>
Public Member Functions | |
void | applyAlignment (AlignableNavigator *alignableNavigator, AlignmentParameterStore *alignmentParameterStore, int mode, bool combineME11) |
CSCAlignmentCorrections (std::string fitterName, double oldchi2, double newchi2) | |
void | insertCorrection (std::string name, CSCDetId id, double value) |
void | insertMode (const std::vector< double > &coefficient, const std::vector< std::string > &modename, const std::vector< long > &modeid, double error) |
void | insertResidual (std::string i, std::string j, double before, double uncert, double residual, double pull) |
void | plot () |
void | report (std::ofstream &report) |
virtual | ~CSCAlignmentCorrections () |
Protected Attributes | |
std::vector< double > | m_before |
std::vector< std::vector< double > > | m_coefficient |
std::vector< double > | m_error |
std::string | m_fitterName |
std::vector< std::string > | m_i |
std::vector< CSCDetId > | m_id |
std::vector< std::string > | m_j |
std::vector< std::vector< long > > | m_modeid |
std::vector< std::vector< std::string > > | m_modename |
std::vector< std::string > | m_name |
double | m_newchi2 |
double | m_oldchi2 |
std::vector< double > | m_pull |
std::vector< double > | m_residual |
std::vector< double > | m_uncert |
std::vector< double > | m_value |
std::vector< TH1F * > | th1f_modes |
|
inline |
Definition at line 25 of file CSCAlignmentCorrections.h.
|
inlinevirtual |
Definition at line 26 of file CSCAlignmentCorrections.h.
void CSCAlignmentCorrections::applyAlignment | ( | AlignableNavigator * | alignableNavigator, |
AlignmentParameterStore * | alignmentParameterStore, | ||
int | mode, | ||
bool | combineME11 | ||
) |
Definition at line 70 of file CSCAlignmentCorrections.cc.
References AlignableDetOrUnitPtr::alignable(), AlignableNavigator::alignableFromDetId(), Alignable::alignmentParameters(), AlignmentParameterStore::applyParameters(), relativeConstraints::chamber, AlignmentParameters::cloneFromSelected(), funct::cos(), MillePedeFileConverter_cfg::e, makeMuonMisalignmentScenario::endcap, mps_fire::i, hcalTTPDigis_cfi::id, CSCPairResidualsConstraint::kModePhiPos, CSCPairResidualsConstraint::kModePhiy, CSCPairResidualsConstraint::kModePhiz, m_id, m_name, m_value, NULL, TCMET_cfi::radius, relativeConstraints::ring, Alignable::setAlignmentParameters(), AlignmentParameters::setValid(), funct::sin(), mathSSE::sqrt(), relativeConstraints::station, Alignable::surface(), AlignableSurface::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by insertResidual().
|
inline |
Definition at line 28 of file CSCAlignmentCorrections.h.
References m_id, m_name, and m_value.
Referenced by CSCChamberFitter::fit().
|
inline |
Definition at line 34 of file CSCAlignmentCorrections.h.
References m_coefficient, m_error, m_modeid, and m_modename.
Referenced by CSCChamberFitter::fit().
|
inline |
Definition at line 41 of file CSCAlignmentCorrections.h.
References applyAlignment(), align_cfg::combineME11, m_before, m_i, m_j, m_pull, m_residual, m_uncert, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, plot(), and report().
Referenced by CSCChamberFitter::fit().
void CSCAlignmentCorrections::plot | ( | ) |
Definition at line 7 of file CSCAlignmentCorrections.cc.
References create_public_lumi_plots::hist, mps_fire::i, m_coefficient, m_error, m_fitterName, m_modeid, m_modename, TFileService::make(), AlCaHLTBitMon_QueryRunRegistry::string, and th1f_modes.
Referenced by insertResidual().
void CSCAlignmentCorrections::report | ( | std::ofstream & | report | ) |
Definition at line 48 of file CSCAlignmentCorrections.cc.
References mps_fire::i, m_before, m_coefficient, m_error, m_fitterName, m_i, m_id, m_j, m_modeid, m_modename, m_name, m_newchi2, m_oldchi2, m_pull, m_residual, m_uncert, and m_value.
Referenced by insertResidual().
|
protected |
Definition at line 72 of file CSCAlignmentCorrections.h.
Referenced by insertResidual(), and report().
|
protected |
Definition at line 64 of file CSCAlignmentCorrections.h.
Referenced by insertMode(), plot(), and report().
|
protected |
Definition at line 67 of file CSCAlignmentCorrections.h.
Referenced by insertMode(), plot(), and report().
|
protected |
Definition at line 55 of file CSCAlignmentCorrections.h.
|
protected |
Definition at line 70 of file CSCAlignmentCorrections.h.
Referenced by insertResidual(), and report().
|
protected |
Definition at line 60 of file CSCAlignmentCorrections.h.
Referenced by applyAlignment(), insertCorrection(), and report().
|
protected |
Definition at line 71 of file CSCAlignmentCorrections.h.
Referenced by insertResidual(), and report().
|
protected |
Definition at line 66 of file CSCAlignmentCorrections.h.
Referenced by insertMode(), plot(), and report().
|
protected |
Definition at line 65 of file CSCAlignmentCorrections.h.
Referenced by insertMode(), plot(), and report().
|
protected |
Definition at line 59 of file CSCAlignmentCorrections.h.
Referenced by applyAlignment(), insertCorrection(), and report().
|
protected |
Definition at line 56 of file CSCAlignmentCorrections.h.
Referenced by report().
|
protected |
Definition at line 56 of file CSCAlignmentCorrections.h.
Referenced by report().
|
protected |
Definition at line 75 of file CSCAlignmentCorrections.h.
Referenced by insertResidual(), and report().
|
protected |
Definition at line 74 of file CSCAlignmentCorrections.h.
Referenced by insertResidual(), and report().
|
protected |
Definition at line 73 of file CSCAlignmentCorrections.h.
Referenced by insertResidual(), and report().
|
protected |
Definition at line 61 of file CSCAlignmentCorrections.h.
Referenced by applyAlignment(), insertCorrection(), and report().
|
protected |
Definition at line 77 of file CSCAlignmentCorrections.h.
Referenced by plot().