Constructor of the full muon geometry. More...
#include <AlignableMuon.h>
Public Member Functions | |
AlignableMuon (const DTGeometry *, const CSCGeometry *, const GEMGeometry *) | |
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 () |
const bool | doGEM () |
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 () |
AlignmentErrorsExtended * | gemAlignmentErrorsExtended () |
Alignments * | gemAlignments () |
align::Alignables | GEMChambers () |
align::Alignables | GEMEndcaps () |
align::Alignables | GEMEtaPartitions () |
align::Alignables | GEMRings () |
align::Alignables | GEMStations () |
align::Alignables | GEMSuperChambers () |
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 *, const GEMGeometry *) |
~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()) |
template<class T > | |
void | update (T)=delete |
~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 | 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... | |
void | buildGEMEndcap (const GEMGeometry *, bool update=false) |
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... | |
bool | doGEM_ |
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 |
std::vector< AlignableGEMEndcap * > | theGEMEndcaps |
std::vector< AlignableGEMRing * > | theGEMRings |
std::vector< AlignableGEMStation * > | theGEMStations |
std::vector< AlignableGEMSuperChamber * > | theGEMSuperChambers |
align::Alignables | theMuonComponents |
Constructor of the full muon geometry.
The alignable muon.
Definition at line 38 of file AlignableMuon.h.
AlignableMuon::AlignableMuon | ( | const DTGeometry * | dtGeometry, |
const CSCGeometry * | cscGeometry, | ||
const GEMGeometry * | gemGeometry | ||
) |
Constructor from geometries.
Definition at line 36 of file AlignableMuon.cc.
References buildCSCEndcap(), buildDTBarrel(), buildGEMEndcap(), components(), doGEM_, gemGeometry_cff::gemGeometry, recursiveSetMothers(), and Alignable::theId.
|
override |
Destructor.
Definition at line 62 of file AlignableMuon.cc.
References theMuonComponents.
|
overrideprivatevirtual |
Get alignment errors sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 540 of file AlignableMuon.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, components(), filterCSVwithJSON::copy, mps_fire::i, AlignmentErrorsExtended::m_alignError, and jetUpdater_cfi::sort.
|
overrideprivatevirtual |
Get alignments sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 524 of file AlignableMuon.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, components(), filterCSVwithJSON::copy, mps_fire::i, Alignments::m_align, and jetUpdater_cfi::sort.
|
private |
Build muon end caps.
Definition at line 176 of file AlignableMuon.cc.
References align::AlignableCSCChamber, align::AlignableCSCEndcap, align::AlignableCSCRing, align::AlignableCSCStation, CSCGeometry::chambers(), CSCDetId::endcap(), LogDebug, CSCDetId::ring(), CSCDetId::station(), theCSCChambers, theCSCEndcaps, theCSCRings, theCSCStations, theMuonComponents, and update().
Referenced by AlignableMuon(), and update().
|
private |
Build muon barrel.
Definition at line 86 of file AlignableMuon.cc.
References align::AlignableDTBarrel, align::AlignableDTChamber, align::AlignableDTStation, align::AlignableDTWheel, DTGeometry::chambers(), LogDebug, DTChamberId::station(), theDTBarrel, theDTChambers, theDTStations, theDTWheels, theMuonComponents, update(), and DTChamberId::wheel().
Referenced by AlignableMuon(), and update().
|
private |
Definition at line 289 of file AlignableMuon.cc.
References align::AlignableGEMEndcap, align::AlignableGEMRing, align::AlignableGEMStation, align::AlignableGEMSuperChamber, LogDebug, GEMRegion::region(), GEMStation::region(), GEMDetId::region(), GEMGeometry::regions(), GEMDetId::ring(), GEMStation::station(), GEMDetId::station(), GEMGeometry::stations(), GEMGeometry::superChambers(), theGEMEndcaps, theGEMRings, theGEMStations, theGEMSuperChambers, and update().
Referenced by AlignableMuon(), and update().
|
inlinefinalvirtual |
Return all components.
Reimplemented from AlignableComposite.
Definition at line 51 of file AlignableMuon.h.
References theMuonComponents.
Referenced by AlignableMuon(), alignmentErrors(), and alignments().
|
private |
Get the global orientation (no rotation by default)
|
private |
Get the position (centered at 0 by default)
|
private |
Get the Surface.
AlignmentErrorsExtended * AlignableMuon::cscAlignmentErrorsExtended | ( | void | ) |
Get CSC alignment errors sorted by DetId.
Definition at line 585 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, CSCEndcaps(), and AlignmentErrorsExtended::m_alignError.
Referenced by MuonMisalignedProducer::analyze(), MuonAlignment::copyAlignmentToSurvey(), MuonAlignment::saveCSCtoDB(), and MuonAlignmentOutputXML::write().
Alignments * AlignableMuon::cscAlignments | ( | void | ) |
Get CSC alignments sorted by DetId.
Definition at line 573 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, CSCEndcaps(), and Alignments::m_align.
Referenced by MuonMisalignedProducer::analyze(), and MuonAlignment::saveCSCtoDB().
align::Alignables AlignableMuon::CSCChambers | ( | ) |
Definition at line 423 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCChambers.
Referenced by AlignmentParameterSelector::addSelection(), CSCLayers(), MuonAlignmentFromReference::initialize(), and MuonScenarioBuilder::moveCSCSectors().
align::Alignables AlignableMuon::CSCEndcaps | ( | ) |
Definition at line 444 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(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputXML::newAlignableMuon(), MuonAlignment::saveCSCSurveyToDB(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::CSCLayers | ( | ) |
Definition at line 408 of file AlignableMuon.cc.
References chambers, CSCChambers(), hgcalTBTopologyTester_cfi::layers, and mps_fire::result.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::CSCRings | ( | ) |
Definition at line 430 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCRings.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::CSCStations | ( | ) |
Definition at line 437 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theCSCStations.
Referenced by AlignmentParameterSelector::addSelection().
|
inline |
AlignmentErrorsExtended * AlignableMuon::dtAlignmentErrorsExtended | ( | void | ) |
Get DT alignment errors sorted by DetId.
Definition at line 566 of file AlignableMuon.cc.
References DTBarrel().
Referenced by MuonMisalignedProducer::analyze(), MuonAlignment::copyAlignmentToSurvey(), MuonAlignment::saveDTtoDB(), and MuonAlignmentOutputXML::write().
Alignments * AlignableMuon::dtAlignments | ( | void | ) |
Get DT alignments sorted by DetId.
Definition at line 559 of file AlignableMuon.cc.
References DTBarrel().
Referenced by MuonMisalignedProducer::analyze(), and MuonAlignment::saveDTtoDB().
align::Alignables AlignableMuon::DTBarrel | ( | ) |
Definition at line 401 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTBarrel.
Referenced by AlignmentParameterSelector::addSelection(), MuonScenarioBuilder::applyScenario(), MuonAlignment::copyAlignmentToSurvey(), dtAlignmentErrorsExtended(), dtAlignments(), MuonAlignment::fillGapsInSurvey(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputXML::newAlignableMuon(), MuonAlignment::saveDTSurveyToDB(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::DTChambers | ( | ) |
Definition at line 380 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTChambers.
Referenced by AlignmentParameterSelector::addSelection(), DTLayers(), DTSuperLayers(), MuonAlignmentFromReference::initialize(), and MuonScenarioBuilder::moveDTSectors().
align::Alignables AlignableMuon::DTLayers | ( | ) |
Methods to return specific of components.
Definition at line 345 of file AlignableMuon.cc.
References chambers, DTChambers(), hgcalTBTopologyTester_cfi::layers, and mps_fire::result.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::DTStations | ( | ) |
Definition at line 387 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTStations.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::DTSuperLayers | ( | ) |
Definition at line 364 of file AlignableMuon.cc.
References chambers, DTChambers(), and mps_fire::result.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::DTWheels | ( | ) |
Definition at line 394 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theDTWheels.
Referenced by AlignmentParameterSelector::addSelection().
AlignmentErrorsExtended * AlignableMuon::gemAlignmentErrorsExtended | ( | void | ) |
Definition at line 613 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, GEMEndcaps(), AlignmentErrorsExtended::m_alignError, and jetUpdater_cfi::sort.
Referenced by MuonMisalignedProducer::analyze(), MuonAlignment::copyAlignmentToSurvey(), MuonAlignment::saveGEMtoDB(), and MuonAlignmentOutputXML::write().
Alignments * AlignableMuon::gemAlignments | ( | void | ) |
Definition at line 602 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, GEMEndcaps(), Alignments::m_align, and jetUpdater_cfi::sort.
Referenced by MuonMisalignedProducer::analyze(), and MuonAlignment::saveGEMtoDB().
align::Alignables AlignableMuon::GEMChambers | ( | ) |
Definition at line 472 of file AlignableMuon.cc.
References chambers, GEMSuperChambers(), and mps_fire::result.
align::Alignables AlignableMuon::GEMEndcaps | ( | ) |
Definition at line 509 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theGEMEndcaps.
Referenced by MuonScenarioBuilder::applyScenario(), MuonAlignment::copyAlignmentToSurvey(), gemAlignmentErrorsExtended(), gemAlignments(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputXML::newAlignableMuon(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::GEMEtaPartitions | ( | ) |
Definition at line 451 of file AlignableMuon.cc.
References chambers, GEMSuperChambers(), and mps_fire::result.
align::Alignables AlignableMuon::GEMRings | ( | ) |
Definition at line 495 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theGEMRings.
align::Alignables AlignableMuon::GEMStations | ( | ) |
Definition at line 502 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theGEMStations.
align::Alignables AlignableMuon::GEMSuperChambers | ( | ) |
Definition at line 488 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, mps_fire::result, and theGEMSuperChambers.
Referenced by GEMChambers(), GEMEtaPartitions(), and MuonScenarioBuilder::moveGEMSectors().
|
inlinevirtual |
Alignable tracker has no mother.
Definition at line 54 of file AlignableMuon.h.
|
inline |
Return muon alignable object ID provider derived from the muon system geometry.
Definition at line 92 of file AlignableMuon.h.
References alignableObjectId_.
Referenced by MuonAlignmentInputXML::newAlignableMuon(), and MuonAlignmentOutputXML::write().
|
private |
Set mothers recursively.
Definition at line 516 of file AlignableMuon.cc.
References Alignable::components().
Referenced by AlignableMuon().
void AlignableMuon::update | ( | const DTGeometry * | dtGeometry, |
const CSCGeometry * | cscGeometry, | ||
const GEMGeometry * | gemGeometry | ||
) |
Updater using DTGeometry and CSCGeometry. The given geometries have to match the current ones.
Definition at line 69 of file AlignableMuon.cc.
References buildCSCEndcap(), buildDTBarrel(), buildGEMEndcap(), doGEM_, and gemGeometry_cff::gemGeometry.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), buildCSCEndcap(), buildDTBarrel(), buildGEMEndcap(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
alignable object ID provider
Definition at line 126 of file AlignableMuon.h.
Referenced by objectIdProvider().
|
private |
Definition at line 128 of file AlignableMuon.h.
Referenced by AlignableMuon(), doGEM(), and update().
|
private |
Definition at line 135 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCChambers().
|
private |
Definition at line 138 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCEndcaps().
|
private |
Definition at line 137 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCRings().
|
private |
Definition at line 136 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCStations().
|
private |
Definition at line 133 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTBarrel().
|
private |
Containers of separate components.
Definition at line 130 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTChambers().
|
private |
Definition at line 131 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTStations().
|
private |
Definition at line 132 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTWheels().
|
private |
Definition at line 143 of file AlignableMuon.h.
Referenced by buildGEMEndcap(), and GEMEndcaps().
|
private |
Definition at line 142 of file AlignableMuon.h.
Referenced by buildGEMEndcap(), and GEMRings().
|
private |
Definition at line 141 of file AlignableMuon.h.
Referenced by buildGEMEndcap(), and GEMStations().
|
private |
Definition at line 140 of file AlignableMuon.h.
Referenced by buildGEMEndcap(), and GEMSuperChambers().
|
private |
Definition at line 145 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), buildDTBarrel(), components(), and ~AlignableMuon().