Constructor of the full muon geometry. More...
#include <AlignableMuon.h>
Public Member Functions | |
AlignableMuon (const DTGeometry *, const CSCGeometry *) | |
Constructor from geometries. More... | |
const align::Alignables & | components () const final |
Return all components. More... | |
AlignmentErrorsExtended * | cscAlignmentErrorsExtended () |
Get CSC alignment errors sorted by DetId. More... | |
Alignments * | cscAlignments () |
Get CSC alignments sorted by DetId. More... | |
align::Alignables | CSCChambers () |
align::Alignables | CSCEndcaps () |
align::Alignables | CSCLayers () |
align::Alignables | CSCRings () |
align::Alignables | CSCStations () |
AlignmentErrorsExtended * | dtAlignmentErrorsExtended () |
Get DT alignment errors sorted by DetId. More... | |
Alignments * | dtAlignments () |
Get DT alignments sorted by DetId. More... | |
align::Alignables | DTBarrel () |
align::Alignables | DTChambers () |
align::Alignables | DTLayers () |
Methods to return specific of components. More... | |
align::Alignables | DTStations () |
align::Alignables | DTSuperLayers () |
align::Alignables | DTWheels () |
virtual Alignable * | mother () |
Alignable tracker has no mother. More... | |
const AlignableObjectId & | objectIdProvider () const |
Return muon alignable object ID provider derived from the muon system geometry. More... | |
void | update (const DTGeometry *, const CSCGeometry *) |
~AlignableMuon () override | |
Destructor. More... | |
Public Member Functions inherited from AlignableComposite | |
void | addAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) override |
void | addAlignmentPositionErrorFromLocalRotation (const RotationType &rotation, bool propagateDown) override |
void | addAlignmentPositionErrorFromRotation (const RotationType &rotation, bool propagateDown) override |
void | addComponent (Alignable *component) final |
void | addSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) override |
AlignableComposite (align::ID id, StructureType aType, const RotationType &rot=RotationType()) | |
StructureType | alignableObjectId () const override |
Return the alignable type identifier. More... | |
void | dump () const override |
Recursive printout of alignable structure. More... | |
void | move (const GlobalVector &displacement) override |
Move with respect to the global reference frame. More... | |
virtual void | moveComponentLocal (const int i, const LocalVector &localDisplacement) |
Move a single component with respect to the local reference frame. More... | |
virtual void | moveComponentsLocal (const LocalVector &localDisplacement) |
Move with respect to the local reference frame. More... | |
void | recursiveComponents (Alignables &result) const override |
Provide all components, subcomponents etc. (cf. description in base class) More... | |
void | rotateInGlobalFrame (const RotationType &rotation) override |
Rotation interpreted in global reference frame. More... | |
void | setAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) override |
void | setSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) override |
Set the surface deformation parameters - if (!propagateDown) do not affect daughters. More... | |
int | surfaceDeformationIdPairs (std::vector< std::pair< int, SurfaceDeformation * > > &) const override |
Return surface deformations. More... | |
void | update (align::ID, StructureType aType, const RotationType &rot=RotationType()) |
~AlignableComposite () override | |
deleting its components More... | |
Public Member Functions inherited from Alignable | |
Alignable (align::ID, const AlignableSurface &) | |
Alignable (align::ID, const RotationType &) | |
AlignmentParameters * | alignmentParameters () const |
Get the AlignmentParameters. More... | |
virtual void | cacheTransformation () |
cache the current position, rotation and other parameters (e.g. surface deformations), also for possible components More... | |
virtual void | cacheTransformation (const align::RunNumber &) |
virtual CompConstraintType | compConstraintType () const |
Return the alignable type of contraints wrt. its components. More... | |
const Alignables & | deepComponents () const |
const GlobalVector & | displacement () const |
Return change of the global position since the creation of the object. More... | |
bool | firstCompsWithParams (Alignables ¶mComps) const |
const DetId & | geomDetId () const |
const PositionType & | globalPosition () const |
Return the global position of the object. More... | |
const RotationType & | globalRotation () const |
Return the global orientation of the object. More... | |
align::ID | id () const |
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit). More... | |
bool | lastCompsWithParams (Alignables ¶mComps) const |
Alignable * | mother () const |
Return pointer to container alignable (if any) More... | |
virtual void | recenterSurface () |
Recenter surface object without moving possible components. More... | |
virtual void | recursiveComponents (Alignables &result) const =0 |
virtual void | restoreCachedTransformation () |
restore the previously cached transformation, also for possible components More... | |
virtual void | restoreCachedTransformation (const align::RunNumber &) |
virtual void | rotateAroundGlobalAxis (const GlobalVector &axis, Scalar radians) |
Rotation around arbitratry global axis. More... | |
virtual void | rotateAroundGlobalX (Scalar radians) |
Rotation around global x-axis. More... | |
virtual void | rotateAroundGlobalY (Scalar radians) |
Rotation around global y-axis. More... | |
virtual void | rotateAroundGlobalZ (Scalar radians) |
Rotation around global z-axis. More... | |
virtual void | rotateAroundLocalAxis (const LocalVector &axis, Scalar radians) |
Rotation around arbitratry local axis. More... | |
virtual void | rotateAroundLocalX (Scalar radians) |
Rotation around local x-axis. More... | |
virtual void | rotateAroundLocalY (Scalar radians) |
Rotation around local y-axis. More... | |
virtual void | rotateAroundLocalZ (Scalar radians) |
Rotation around local z-axis. More... | |
virtual void | rotateInLocalFrame (const RotationType &rotation) |
Rotation intepreted in the local reference frame. More... | |
const RotationType & | rotation () const |
Return change of orientation since the creation of the object. More... | |
void | setAlignmentParameters (AlignmentParameters *dap) |
Set the AlignmentParameters. More... | |
void | setMother (Alignable *mother) |
Assign mother to alignable. More... | |
void | setSurvey (const SurveyDet *) |
Set survey info. More... | |
int | size () const |
Return number of direct components. More... | |
const AlignableSurface & | surface () const |
Return the Surface (global position and orientation) of the object. More... | |
AlignmentSurfaceDeformations * | surfaceDeformations () const |
Return surface deformations, sorted by DetId. More... | |
const SurveyDet * | survey () const |
Return survey info. More... | |
void | update (align::ID, const AlignableSurface &) |
virtual | ~Alignable () |
Destructor. More... | |
Private Member Functions | |
AlignmentErrorsExtended * | alignmentErrors () const override |
Get alignment errors sorted by DetId. More... | |
Alignments * | alignments () const override |
Get alignments sorted by DetId. More... | |
void | buildCSCEndcap (const CSCGeometry *, bool update=false) |
Build muon end caps. More... | |
void | buildDTBarrel (const DTGeometry *, bool update=false) |
Build muon barrel. More... | |
RotationType | computeOrientation () |
Get the global orientation (no rotation by default) More... | |
PositionType | computePosition () |
Get the position (centered at 0 by default) More... | |
AlignableSurface | computeSurface () |
Get the Surface. More... | |
void | recursiveSetMothers (Alignable *alignable) |
Set mothers recursively. More... | |
Private Attributes | |
const AlignableObjectId | alignableObjectId_ |
alignable object ID provider More... | |
std::vector< AlignableCSCChamber * > | theCSCChambers |
std::vector< AlignableCSCEndcap * > | theCSCEndcaps |
std::vector< AlignableCSCRing * > | theCSCRings |
std::vector< AlignableCSCStation * > | theCSCStations |
std::vector< AlignableDTBarrel * > | theDTBarrel |
std::vector< AlignableDTChamber * > | theDTChambers |
Containers of separate components. More... | |
std::vector< AlignableDTStation * > | theDTStations |
std::vector< AlignableDTWheel * > | theDTWheels |
align::Alignables | theMuonComponents |
Constructor of the full muon geometry.
The alignable muon.
Definition at line 33 of file AlignableMuon.h.
AlignableMuon::AlignableMuon | ( | const DTGeometry * | dtGeometry, |
const CSCGeometry * | cscGeometry | ||
) |
Constructor from geometries.
Definition at line 29 of file AlignableMuon.cc.
References buildCSCEndcap(), buildDTBarrel(), components(), recursiveSetMothers(), and Alignable::theId.
|
override |
Destructor.
Definition at line 48 of file AlignableMuon.cc.
References theMuonComponents.
|
overrideprivatevirtual |
Get alignment errors sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 400 of file AlignableMuon.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, components(), filterCSVwithJSON::copy, mps_fire::i, and AlignmentErrorsExtended::m_alignError.
Referenced by objectIdProvider().
|
overrideprivatevirtual |
Get alignments sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 384 of file AlignableMuon.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, components(), filterCSVwithJSON::copy, mps_fire::i, and Alignments::m_align.
Referenced by objectIdProvider().
|
private |
Build muon end caps.
Definition at line 157 of file AlignableMuon.cc.
References align::AlignableCSCChamber, align::AlignableCSCEndcap, align::AlignableCSCRing, align::AlignableCSCStation, CSCGeometry::chambers(), RecoEcal_EventContent_cff::ec, CSCDetId::endcap(), LogDebug, CSCDetId::ring(), CSCDetId::station(), theCSCChambers, theCSCEndcaps, theCSCRings, theCSCStations, and theMuonComponents.
Referenced by AlignableMuon(), objectIdProvider(), and update().
|
private |
Build muon barrel.
Definition at line 67 of file AlignableMuon.cc.
References align::AlignableDTBarrel, align::AlignableDTChamber, align::AlignableDTStation, align::AlignableDTWheel, DTGeometry::chambers(), LogDebug, DTChamberId::station(), theDTBarrel, theDTChambers, theDTStations, theDTWheels, theMuonComponents, and DTChamberId::wheel().
Referenced by AlignableMuon(), objectIdProvider(), and update().
|
inlinefinalvirtual |
Return all components.
Reimplemented from AlignableComposite.
Definition at line 46 of file AlignableMuon.h.
References theMuonComponents.
Referenced by AlignableMuon(), alignmentErrors(), and alignments().
|
private |
Get the global orientation (no rotation by default)
Referenced by objectIdProvider().
|
private |
Get the position (centered at 0 by default)
Referenced by objectIdProvider().
|
private |
Get the Surface.
Referenced by objectIdProvider().
AlignmentErrorsExtended * AlignableMuon::cscAlignmentErrorsExtended | ( | void | ) |
Get CSC alignment errors sorted by DetId.
Definition at line 445 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, CSCEndcaps(), and AlignmentErrorsExtended::m_alignError.
Referenced by MuonAlignment::copyAlignmentToSurvey(), mother(), MisalignedMuonESProducer::produce(), MuonAlignment::saveCSCtoDB(), and MuonAlignmentOutputXML::write().
Alignments * AlignableMuon::cscAlignments | ( | void | ) |
Get CSC alignments sorted by DetId.
Definition at line 433 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, CSCEndcaps(), and Alignments::m_align.
Referenced by mother(), MisalignedMuonESProducer::produce(), and MuonAlignment::saveCSCtoDB().
align::Alignables AlignableMuon::CSCChambers | ( | ) |
Definition at line 348 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCChambers.
Referenced by AlignmentParameterSelector::addSelection(), CSCLayers(), MuonAlignmentFromReference::initialize(), mother(), and MuonScenarioBuilder::moveCSCSectors().
align::Alignables AlignableMuon::CSCEndcaps | ( | ) |
Definition at line 369 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCEndcaps.
Referenced by AlignmentParameterSelector::addSelection(), SurveyInputCSCfromPins::analyze(), MuonScenarioBuilder::applyScenario(), MuonAlignment::copyAlignmentToSurvey(), cscAlignmentErrorsExtended(), cscAlignments(), MuonAlignment::fillGapsInSurvey(), mother(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), MuonAlignmentInputXML::newAlignableMuon(), MuonAlignment::saveCSCSurveyToDB(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::CSCLayers | ( | ) |
Definition at line 333 of file AlignableMuon.cc.
References chambers, CSCChambers(), hgcalTopologyTester_cfi::layers, and mps_fire::result.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
align::Alignables AlignableMuon::CSCRings | ( | ) |
Definition at line 355 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCRings.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
align::Alignables AlignableMuon::CSCStations | ( | ) |
Definition at line 362 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCStations.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
AlignmentErrorsExtended * AlignableMuon::dtAlignmentErrorsExtended | ( | void | ) |
Get DT alignment errors sorted by DetId.
Definition at line 426 of file AlignableMuon.cc.
References DTBarrel().
Referenced by MuonAlignment::copyAlignmentToSurvey(), mother(), MisalignedMuonESProducer::produce(), MuonAlignment::saveDTtoDB(), and MuonAlignmentOutputXML::write().
Alignments * AlignableMuon::dtAlignments | ( | void | ) |
Get DT alignments sorted by DetId.
Definition at line 419 of file AlignableMuon.cc.
References DTBarrel().
Referenced by mother(), MisalignedMuonESProducer::produce(), and MuonAlignment::saveDTtoDB().
align::Alignables AlignableMuon::DTBarrel | ( | ) |
Definition at line 326 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTBarrel.
Referenced by AlignmentParameterSelector::addSelection(), MuonScenarioBuilder::applyScenario(), MuonAlignment::copyAlignmentToSurvey(), dtAlignmentErrorsExtended(), dtAlignments(), MuonAlignment::fillGapsInSurvey(), mother(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), MuonAlignmentInputXML::newAlignableMuon(), MuonAlignment::saveDTSurveyToDB(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::DTChambers | ( | ) |
Definition at line 305 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTChambers.
Referenced by AlignmentParameterSelector::addSelection(), DTLayers(), DTSuperLayers(), MuonAlignmentFromReference::initialize(), mother(), and MuonScenarioBuilder::moveDTSectors().
align::Alignables AlignableMuon::DTLayers | ( | ) |
Methods to return specific of components.
Definition at line 270 of file AlignableMuon.cc.
References chambers, DTChambers(), hgcalTopologyTester_cfi::layers, and mps_fire::result.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
align::Alignables AlignableMuon::DTStations | ( | ) |
Definition at line 312 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTStations.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
align::Alignables AlignableMuon::DTSuperLayers | ( | ) |
Definition at line 289 of file AlignableMuon.cc.
References chambers, DTChambers(), and mps_fire::result.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
align::Alignables AlignableMuon::DTWheels | ( | ) |
Definition at line 319 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTWheels.
Referenced by AlignmentParameterSelector::addSelection(), and mother().
|
inlinevirtual |
Alignable tracker has no mother.
Definition at line 49 of file AlignableMuon.h.
References cscAlignmentErrorsExtended(), cscAlignments(), CSCChambers(), CSCEndcaps(), CSCLayers(), CSCRings(), CSCStations(), dtAlignmentErrorsExtended(), dtAlignments(), DTBarrel(), DTChambers(), DTLayers(), DTStations(), DTSuperLayers(), and DTWheels().
|
inline |
Return muon alignable object ID provider derived from the muon system geometry.
Definition at line 77 of file AlignableMuon.h.
References alignableObjectId_, alignmentErrors(), alignments(), buildCSCEndcap(), buildDTBarrel(), computeOrientation(), computePosition(), computeSurface(), and recursiveSetMothers().
Referenced by MuonAlignmentInputXML::newAlignableMuon(), and MuonAlignmentOutputXML::write().
|
private |
Set mothers recursively.
Definition at line 376 of file AlignableMuon.cc.
References Alignable::components().
Referenced by AlignableMuon(), and objectIdProvider().
void AlignableMuon::update | ( | const DTGeometry * | dtGeometry, |
const CSCGeometry * | cscGeometry | ||
) |
Updater using DTGeometry and CSCGeometry. The given geometries have to match the current ones.
Definition at line 55 of file AlignableMuon.cc.
References buildCSCEndcap(), and buildDTBarrel().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
alignable object ID provider
Definition at line 107 of file AlignableMuon.h.
Referenced by objectIdProvider().
|
private |
Definition at line 115 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCChambers().
|
private |
Definition at line 118 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCEndcaps().
|
private |
Definition at line 117 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCRings().
|
private |
Definition at line 116 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCStations().
|
private |
Definition at line 113 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTBarrel().
|
private |
Containers of separate components.
Definition at line 110 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTChambers().
|
private |
Definition at line 111 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTStations().
|
private |
Definition at line 112 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTWheels().
|
private |
Definition at line 120 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), buildDTBarrel(), components(), and ~AlignableMuon().