#include <MuonAlignment.h>
Private Member Functions | |
void | init () |
void | recursiveCopySurveyToAlignment (Alignable *alignable) |
Private Attributes | |
align::Scalars | displacements |
align::Scalars | rotations |
AlignableMuon * | theAlignableMuon |
AlignableNavigator * | theAlignableNavigator |
std::string | theCSCAlignRecordName |
std::string | theCSCErrorRecordName |
std::string | theCSCSurveyErrorRecordName |
std::string | theCSCSurveyRecordName |
std::string | theDTAlignRecordName |
std::string | theDTErrorRecordName |
std::string | theDTSurveyErrorRecordName |
std::string | theDTSurveyRecordName |
The MuonAlignment helper class for alignment jobs
Definition at line 20 of file MuonAlignment.h.
MuonAlignment::MuonAlignment | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 44 of file MuonAlignment.cc.
References align::AlignableMuon, edm::EventSetup::get(), get, init(), theAlignableMuon, and theAlignableNavigator.
MuonAlignment::MuonAlignment | ( | const edm::EventSetup & | iSetup, |
const MuonAlignmentInputMethod & | input | ||
) |
Definition at line 56 of file MuonAlignment.cc.
References init(), input, theAlignableMuon, and theAlignableNavigator.
|
inline |
Definition at line 26 of file MuonAlignment.h.
References theAlignableMuon, and theAlignableNavigator.
void MuonAlignment::copyAlignmentToSurvey | ( | double | shiftErr, |
double | angleErr | ||
) |
Definition at line 134 of file MuonAlignment.cc.
References convertSQLitetoXML_cfg::angleErr, filterCSVwithJSON::copy, AlignableMuon::cscAlignmentErrorsExtended(), AlignableMuon::CSCEndcaps(), AlignableMuon::dtAlignmentErrorsExtended(), AlignableMuon::DTBarrel(), fillGapsInSurvey(), mps_fire::i, dqmiolumiharvest::j, AlignmentErrorsExtended::m_alignError, recursiveMap(), Alignable::setSurvey(), convertSQLitetoXML_cfg::shiftErr, Alignable::surface(), and theAlignableMuon.
void MuonAlignment::copySurveyToAlignment | ( | ) |
Definition at line 233 of file MuonAlignment.cc.
References recursiveCopySurveyToAlignment(), and theAlignableMuon.
void MuonAlignment::fillGapsInSurvey | ( | double | shiftErr, |
double | angleErr | ||
) |
Definition at line 175 of file MuonAlignment.cc.
References convertSQLitetoXML_cfg::angleErr, AlignableMuon::CSCEndcaps(), AlignableMuon::DTBarrel(), genParticles_cff::map, recursiveStructureMap(), convertSQLitetoXML_cfg::shiftErr, and theAlignableMuon.
Referenced by MuonGeometryArrange::analyze(), and copyAlignmentToSurvey().
|
inline |
Definition at line 31 of file MuonAlignment.h.
References theAlignableMuon.
Referenced by MuonGeometryArrange::analyze().
|
inline |
|
private |
Definition at line 31 of file MuonAlignment.cc.
References theAlignableMuon, theAlignableNavigator, theCSCAlignRecordName, theCSCErrorRecordName, theCSCSurveyErrorRecordName, theCSCSurveyRecordName, theDTAlignRecordName, theDTErrorRecordName, theDTSurveyErrorRecordName, and theDTSurveyRecordName.
Referenced by MuonAlignment().
void MuonAlignment::moveAlignableGlobalCoord | ( | DetId & | detid, |
align::Scalars & | displacements, | ||
align::Scalars & | rotations | ||
) |
Definition at line 84 of file MuonAlignment.cc.
References AlignableNavigator::alignableFromDetId(), displacements, Alignable::move(), Alignable::rotateAroundGlobalX(), Alignable::rotateAroundGlobalY(), Alignable::rotateAroundGlobalZ(), rotations, and theAlignableNavigator.
void MuonAlignment::moveAlignableLocalCoord | ( | DetId & | detid, |
align::Scalars & | displacements, | ||
align::Scalars & | rotations | ||
) |
Definition at line 65 of file MuonAlignment.cc.
References AlignableNavigator::alignableFromDetId(), displacements, Alignable::move(), Alignable::rotateAroundLocalX(), Alignable::rotateAroundLocalY(), Alignable::rotateAroundLocalZ(), rotations, Alignable::surface(), and theAlignableNavigator.
|
private |
Definition at line 200 of file MuonAlignment.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, makeMuonMisalignmentScenario::components, Alignable::components(), SurveyDet::errors(), Alignable::globalPosition(), Alignable::globalRotation(), mps_fire::i, dqmiolumiharvest::j, Alignable::move(), SurveyDet::position(), makeMuonMisalignmentScenario::rot, Alignable::rotateInGlobalFrame(), SurveyDet::rotation(), Alignable::setAlignmentPositionError(), Alignable::survey(), TkRotation< T >::transposed(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by copySurveyToAlignment().
void MuonAlignment::recursiveList | ( | const align::Alignables & | alignables, |
align::Alignables & | theList | ||
) |
Definition at line 102 of file MuonAlignment.cc.
References cmsLHEtoEOSManager::theList.
Referenced by saveCSCSurveyToDB(), and saveDTSurveyToDB().
void MuonAlignment::recursiveMap | ( | const align::Alignables & | alignables, |
std::map< align::ID, Alignable * > & | theMap | ||
) |
Definition at line 111 of file MuonAlignment.cc.
Referenced by copyAlignmentToSurvey().
void MuonAlignment::recursiveStructureMap | ( | const align::Alignables & | alignables, |
std::map< std::pair< align::StructureType, align::ID >, Alignable * > & | theMap | ||
) |
Definition at line 123 of file MuonAlignment.cc.
Referenced by fillGapsInSurvey().
void MuonAlignment::saveCSCSurveyToDB | ( | void | ) |
Definition at line 275 of file MuonAlignment.cc.
References AlignableMuon::CSCEndcaps(), cond::service::PoolDBOutputService::currentTime(), relativeConstraints::error, edm::Service< T >::isAvailable(), Alignments::m_align, SurveyErrors::m_surveyErrors, recursiveList(), makeMuonMisalignmentScenario::rot, theAlignableMuon, theCSCSurveyErrorRecordName, theCSCSurveyRecordName, relativeConstraints::value, and cond::service::PoolDBOutputService::writeOne().
Referenced by saveSurveyToDB().
void MuonAlignment::saveCSCtoDB | ( | void | ) |
Definition at line 329 of file MuonAlignment.cc.
References AlignableMuon::cscAlignmentErrorsExtended(), AlignableMuon::cscAlignments(), cond::service::PoolDBOutputService::currentTime(), edm::Service< T >::isAvailable(), theAlignableMuon, theCSCAlignRecordName, theCSCErrorRecordName, and cond::service::PoolDBOutputService::writeOne().
Referenced by saveToDB().
void MuonAlignment::saveDTSurveyToDB | ( | void | ) |
Definition at line 242 of file MuonAlignment.cc.
References cond::service::PoolDBOutputService::currentTime(), AlignableMuon::DTBarrel(), relativeConstraints::error, edm::Service< T >::isAvailable(), Alignments::m_align, SurveyErrors::m_surveyErrors, recursiveList(), makeMuonMisalignmentScenario::rot, theAlignableMuon, theDTSurveyErrorRecordName, theDTSurveyRecordName, relativeConstraints::value, and cond::service::PoolDBOutputService::writeOne().
Referenced by saveSurveyToDB().
void MuonAlignment::saveDTtoDB | ( | void | ) |
Definition at line 313 of file MuonAlignment.cc.
References cond::service::PoolDBOutputService::currentTime(), AlignableMuon::dtAlignmentErrorsExtended(), AlignableMuon::dtAlignments(), edm::Service< T >::isAvailable(), theAlignableMuon, theDTAlignRecordName, theDTErrorRecordName, and cond::service::PoolDBOutputService::writeOne().
Referenced by saveToDB().
void MuonAlignment::saveSurveyToDB | ( | void | ) |
Definition at line 308 of file MuonAlignment.cc.
References saveCSCSurveyToDB(), and saveDTSurveyToDB().
void MuonAlignment::saveToDB | ( | void | ) |
Definition at line 345 of file MuonAlignment.cc.
References saveCSCtoDB(), and saveDTtoDB().
void MuonAlignment::writeXML | ( | const edm::ParameterSet & | iConfig, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 238 of file MuonAlignment.cc.
References theAlignableMuon, and MuonAlignmentOutputXML::write().
|
private |
Definition at line 66 of file MuonAlignment.h.
Referenced by moveAlignableGlobalCoord(), and moveAlignableLocalCoord().
|
private |
Definition at line 68 of file MuonAlignment.h.
Referenced by moveAlignableGlobalCoord(), and moveAlignableLocalCoord().
|
private |
Definition at line 70 of file MuonAlignment.h.
Referenced by copyAlignmentToSurvey(), copySurveyToAlignment(), fillGapsInSurvey(), getAlignableMuon(), init(), MuonAlignment(), saveCSCSurveyToDB(), saveCSCtoDB(), saveDTSurveyToDB(), saveDTtoDB(), writeXML(), and ~MuonAlignment().
|
private |
Definition at line 72 of file MuonAlignment.h.
Referenced by getAlignableNavigator(), init(), moveAlignableGlobalCoord(), moveAlignableLocalCoord(), MuonAlignment(), and ~MuonAlignment().
|
private |
Definition at line 62 of file MuonAlignment.h.
Referenced by init(), and saveCSCtoDB().
|
private |
Definition at line 62 of file MuonAlignment.h.
Referenced by init(), and saveCSCtoDB().
|
private |
Definition at line 64 of file MuonAlignment.h.
Referenced by init(), and saveCSCSurveyToDB().
|
private |
Definition at line 64 of file MuonAlignment.h.
Referenced by init(), and saveCSCSurveyToDB().
|
private |
Definition at line 61 of file MuonAlignment.h.
Referenced by init(), and saveDTtoDB().
|
private |
Definition at line 61 of file MuonAlignment.h.
Referenced by init(), and saveDTtoDB().
|
private |
Definition at line 63 of file MuonAlignment.h.
Referenced by init(), and saveDTSurveyToDB().
|
private |
Definition at line 63 of file MuonAlignment.h.
Referenced by init(), and saveDTSurveyToDB().