#include <MuonAlignment.h>
Private Member Functions | |
void | init () |
void | recursiveCopySurveyToAlignment (Alignable *alignable) |
Private Attributes | |
const CSCGeometry * | cscGeometry_ |
align::Scalars | displacements |
const DTGeometry * | dtGeometry_ |
const GEMGeometry * | gemGeometry_ |
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 |
std::string | theGEMAlignRecordName |
std::string | theGEMErrorRecordName |
The MuonAlignment helper class for alignment jobs
Definition at line 21 of file MuonAlignment.h.
MuonAlignment::MuonAlignment | ( | const DTGeometry * | dtGeometry, |
const CSCGeometry * | cscGeometry, | ||
const GEMGeometry * | gemGeometry | ||
) |
Definition at line 43 of file MuonAlignment.cc.
References align::AlignableMuon, cscGeometry_, dtGeometry_, gemGeometry_, init(), theAlignableMuon, and theAlignableNavigator.
MuonAlignment::MuonAlignment | ( | const edm::EventSetup & | iSetup, |
const MuonAlignmentInputMethod & | input | ||
) |
Definition at line 53 of file MuonAlignment.cc.
References init(), input, theAlignableMuon, and theAlignableNavigator.
|
inline |
Definition at line 27 of file MuonAlignment.h.
References theAlignableMuon, and theAlignableNavigator.
void MuonAlignment::copyAlignmentToSurvey | ( | double | shiftErr, |
double | angleErr | ||
) |
Definition at line 131 of file MuonAlignment.cc.
References convertSQLitetoXML_cfg::angleErr, filterCSVwithJSON::copy, AlignableMuon::cscAlignmentErrorsExtended(), AlignableMuon::CSCEndcaps(), AlignableMuon::dtAlignmentErrorsExtended(), AlignableMuon::DTBarrel(), fillGapsInSurvey(), AlignableMuon::gemAlignmentErrorsExtended(), AlignableMuon::GEMEndcaps(), mps_fire::i, dqmiolumiharvest::j, AlignmentErrorsExtended::m_alignError, recursiveMap(), Alignable::setSurvey(), convertSQLitetoXML_cfg::shiftErr, Alignable::surface(), and theAlignableMuon.
void MuonAlignment::copySurveyToAlignment | ( | ) |
Definition at line 235 of file MuonAlignment.cc.
References recursiveCopySurveyToAlignment(), and theAlignableMuon.
void MuonAlignment::fillGapsInSurvey | ( | double | shiftErr, |
double | angleErr | ||
) |
Definition at line 177 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 32 of file MuonAlignment.h.
References theAlignableMuon.
Referenced by MuonGeometryArrange::analyze().
|
inline |
Definition at line 34 of file MuonAlignment.h.
References theAlignableNavigator.
|
private |
Definition at line 28 of file MuonAlignment.cc.
References theAlignableMuon, theAlignableNavigator, theCSCAlignRecordName, theCSCErrorRecordName, theCSCSurveyErrorRecordName, theCSCSurveyRecordName, theDTAlignRecordName, theDTErrorRecordName, theDTSurveyErrorRecordName, theDTSurveyRecordName, theGEMAlignRecordName, and theGEMErrorRecordName.
Referenced by MuonAlignment().
void MuonAlignment::moveAlignableGlobalCoord | ( | DetId & | detid, |
align::Scalars & | displacements, | ||
align::Scalars & | rotations | ||
) |
Definition at line 81 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 62 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 202 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 99 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 108 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 120 of file MuonAlignment.cc.
Referenced by fillGapsInSurvey().
void MuonAlignment::saveCSCSurveyToDB | ( | void | ) |
Definition at line 280 of file MuonAlignment.cc.
References AlignableMuon::CSCEndcaps(), cond::service::PoolDBOutputService::currentTime(), relativeConstraints::error, edm::Service< T >::isAvailable(), recursiveList(), makeMuonMisalignmentScenario::rot, theAlignableMuon, theCSCSurveyErrorRecordName, theCSCSurveyRecordName, relativeConstraints::value, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by saveSurveyToDB().
void MuonAlignment::saveCSCtoDB | ( | void | ) |
Definition at line 334 of file MuonAlignment.cc.
References AlignableMuon::cscAlignmentErrorsExtended(), AlignableMuon::cscAlignments(), cond::service::PoolDBOutputService::currentTime(), edm::Service< T >::isAvailable(), theAlignableMuon, theCSCAlignRecordName, theCSCErrorRecordName, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by saveToDB().
void MuonAlignment::saveDTSurveyToDB | ( | void | ) |
Definition at line 247 of file MuonAlignment.cc.
References cond::service::PoolDBOutputService::currentTime(), AlignableMuon::DTBarrel(), relativeConstraints::error, edm::Service< T >::isAvailable(), recursiveList(), makeMuonMisalignmentScenario::rot, theAlignableMuon, theDTSurveyErrorRecordName, theDTSurveyRecordName, relativeConstraints::value, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by saveSurveyToDB().
void MuonAlignment::saveDTtoDB | ( | void | ) |
Definition at line 318 of file MuonAlignment.cc.
References cond::service::PoolDBOutputService::currentTime(), AlignableMuon::dtAlignmentErrorsExtended(), AlignableMuon::dtAlignments(), edm::Service< T >::isAvailable(), theAlignableMuon, theDTAlignRecordName, theDTErrorRecordName, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by saveToDB().
void MuonAlignment::saveGEMtoDB | ( | void | ) |
Definition at line 350 of file MuonAlignment.cc.
References cond::service::PoolDBOutputService::currentTime(), AlignableMuon::gemAlignmentErrorsExtended(), AlignableMuon::gemAlignments(), edm::Service< T >::isAvailable(), theAlignableMuon, theGEMAlignRecordName, theGEMErrorRecordName, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by saveToDB().
void MuonAlignment::saveSurveyToDB | ( | void | ) |
Definition at line 313 of file MuonAlignment.cc.
References saveCSCSurveyToDB(), and saveDTSurveyToDB().
void MuonAlignment::saveToDB | ( | void | ) |
Definition at line 366 of file MuonAlignment.cc.
References saveCSCtoDB(), saveDTtoDB(), and saveGEMtoDB().
void MuonAlignment::writeXML | ( | const edm::ParameterSet & | iConfig, |
const DTGeometry * | dtGeometryXML, | ||
const CSCGeometry * | cscGeometryXML, | ||
const GEMGeometry * | gemGeometryXML | ||
) |
Definition at line 240 of file MuonAlignment.cc.
References theAlignableMuon, and MuonAlignmentOutputXML::write().
|
private |
Definition at line 73 of file MuonAlignment.h.
Referenced by MuonAlignment().
|
private |
Definition at line 76 of file MuonAlignment.h.
Referenced by moveAlignableGlobalCoord(), and moveAlignableLocalCoord().
|
private |
Definition at line 72 of file MuonAlignment.h.
Referenced by MuonAlignment().
|
private |
Definition at line 74 of file MuonAlignment.h.
Referenced by MuonAlignment().
|
private |
Definition at line 78 of file MuonAlignment.h.
Referenced by moveAlignableGlobalCoord(), and moveAlignableLocalCoord().
|
private |
Definition at line 80 of file MuonAlignment.h.
Referenced by copyAlignmentToSurvey(), copySurveyToAlignment(), fillGapsInSurvey(), getAlignableMuon(), init(), MuonAlignment(), saveCSCSurveyToDB(), saveCSCtoDB(), saveDTSurveyToDB(), saveDTtoDB(), saveGEMtoDB(), writeXML(), and ~MuonAlignment().
|
private |
Definition at line 82 of file MuonAlignment.h.
Referenced by getAlignableNavigator(), init(), moveAlignableGlobalCoord(), moveAlignableLocalCoord(), MuonAlignment(), and ~MuonAlignment().
|
private |
Definition at line 67 of file MuonAlignment.h.
Referenced by init(), and saveCSCtoDB().
|
private |
Definition at line 67 of file MuonAlignment.h.
Referenced by init(), and saveCSCtoDB().
|
private |
Definition at line 70 of file MuonAlignment.h.
Referenced by init(), and saveCSCSurveyToDB().
|
private |
Definition at line 70 of file MuonAlignment.h.
Referenced by init(), and saveCSCSurveyToDB().
|
private |
Definition at line 66 of file MuonAlignment.h.
Referenced by init(), and saveDTtoDB().
|
private |
Definition at line 66 of file MuonAlignment.h.
Referenced by init(), and saveDTtoDB().
|
private |
Definition at line 69 of file MuonAlignment.h.
Referenced by init(), and saveDTSurveyToDB().
|
private |
Definition at line 69 of file MuonAlignment.h.
Referenced by init(), and saveDTSurveyToDB().
|
private |
Definition at line 68 of file MuonAlignment.h.
Referenced by init(), and saveGEMtoDB().
|
private |
Definition at line 68 of file MuonAlignment.h.
Referenced by init(), and saveGEMtoDB().