Constructor of the full muon geometry. More...
#include <AlignableMuon.h>
Public Member Functions | |
AlignableMuon (const DTGeometry *, const CSCGeometry *) | |
Constructor from geometries. More... | |
virtual align::Alignables | components () const |
Return all components. More... | |
AlignmentErrors * | cscAlignmentErrors () |
Alignments * | cscAlignments () |
align::Alignables | CSCChambers () |
align::Alignables | CSCEndcaps () |
align::Alignables | CSCLayers () |
align::Alignables | CSCRings () |
align::Alignables | CSCStations () |
AlignmentErrors * | dtAlignmentErrors () |
Alignments * | dtAlignments () |
align::Alignables | DTBarrel () |
align::Alignables | DTChambers () |
align::Alignables | DTLayers () |
align::Alignables | DTStations () |
align::Alignables | DTSuperLayers () |
align::Alignables | DTWheels () |
virtual Alignable * | mother () |
Alignable tracker has no mother. More... | |
~AlignableMuon () | |
Destructor. More... | |
Public Member Functions inherited from AlignableComposite | |
virtual void | addAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) |
virtual void | addAlignmentPositionErrorFromLocalRotation (const RotationType &rotation, bool propagateDown) |
virtual void | addAlignmentPositionErrorFromRotation (const RotationType &rotation, bool propagateDown) |
virtual void | addComponent (Alignable *component) |
virtual void | addSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) |
AlignableComposite (align::ID id, StructureType aType, const RotationType &rot=RotationType()) | |
virtual StructureType | alignableObjectId () const |
Return the alignable type identifier. More... | |
virtual void | dump () const |
Recursive printout of alignable structure. More... | |
virtual void | move (const GlobalVector &displacement) |
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... | |
virtual void | recursiveComponents (Alignables &result) const |
Provide all components, subcomponents etc. (cf. description in base class) More... | |
virtual void | rotateInGlobalFrame (const RotationType &rotation) |
Rotation interpreted in global reference frame. More... | |
virtual void | setAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) |
virtual void | setSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) |
Set the surface deformation parameters - if (!propagateDown) do not affect daughters. More... | |
virtual int | surfaceDeformationIdPairs (std::vector< std::pair< int, SurfaceDeformation * > > &) const |
Return surface deformations. More... | |
virtual | ~AlignableComposite () |
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) 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... | |
Alignable * | mother () const |
Return pointer to container alignable (if any) More... | |
virtual void | restoreCachedTransformation () |
restore the previously cached transformation, also for possible components More... | |
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... | |
virtual | ~Alignable () |
Destructor. More... | |
Private Member Functions | |
AlignmentErrors * | alignmentErrors () const |
Return vector of alignment errors. More... | |
Alignments * | alignments () const |
Return alignment data. More... | |
void | buildCSCEndcap (const CSCGeometry *) |
void | buildDTBarrel (const DTGeometry *) |
RotationType | computeOrientation () |
PositionType | computePosition () |
AlignableSurface | computeSurface () |
void | recursiveSetMothers (Alignable *alignable) |
Set mothers recursively. More... | |
Private Attributes | |
std::vector < AlignableCSCChamber * > | theCSCChambers |
std::vector< AlignableCSCEndcap * > | theCSCEndcaps |
std::vector< AlignableCSCRing * > | theCSCRings |
std::vector < AlignableCSCStation * > | theCSCStations |
std::vector< AlignableDTBarrel * > | theDTBarrel |
std::vector< AlignableDTChamber * > | theDTChambers |
std::vector< AlignableDTStation * > | theDTStations |
std::vector< AlignableDTWheel * > | theDTWheels |
align::Alignables | theMuonComponents |
Constructor of the full muon geometry.
The alignable muon.
Definition at line 36 of file AlignableMuon.h.
AlignableMuon::AlignableMuon | ( | const DTGeometry * | dtGeometry, |
const CSCGeometry * | cscGeometry | ||
) |
Constructor from geometries.
Definition at line 31 of file AlignableMuon.cc.
References buildCSCEndcap(), buildDTBarrel(), components(), recursiveSetMothers(), and Alignable::theId.
AlignableMuon::~AlignableMuon | ( | ) |
|
privatevirtual |
Return vector of alignment errors.
Reimplemented from AlignableComposite.
Definition at line 420 of file AlignableMuon.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, components(), filterCSVwithJSON::copy, i, AlignmentErrors::m_alignError, and python.multivaluedict::sort().
|
privatevirtual |
Return alignment data.
Reimplemented from AlignableComposite.
Definition at line 399 of file AlignableMuon.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, components(), filterCSVwithJSON::copy, i, Alignments::m_align, and python.multivaluedict::sort().
|
private |
Definition at line 160 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, and theMuonComponents.
Referenced by AlignableMuon().
|
private |
Definition at line 66 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().
|
inlinevirtual |
Return all components.
Reimplemented from AlignableComposite.
Definition at line 49 of file AlignableMuon.h.
References theMuonComponents.
Referenced by AlignableMuon(), alignmentErrors(), alignments(), and recursiveSetMothers().
|
private |
|
private |
|
private |
AlignmentErrors * AlignableMuon::cscAlignmentErrors | ( | void | ) |
Definition at line 475 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, CSCEndcaps(), and AlignmentErrors::m_alignError.
Referenced by MuonAlignment::copyAlignmentToSurvey(), MisalignedMuonESProducer::produce(), MuonAlignment::saveCSCtoDB(), AlignmentProducer::startingNewLoop(), MuonAlignmentOutputXML::write(), and AlignmentProducer::writeForRunRange().
Alignments * AlignableMuon::cscAlignments | ( | void | ) |
Definition at line 460 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, CSCEndcaps(), and Alignments::m_align.
Referenced by MisalignedMuonESProducer::produce(), MuonAlignment::saveCSCtoDB(), AlignmentProducer::startingNewLoop(), and AlignmentProducer::writeForRunRange().
align::Alignables AlignableMuon::CSCChambers | ( | ) |
Definition at line 353 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theCSCChambers.
Referenced by AlignmentParameterSelector::addSelection(), AlignmentMonitorMuonResiduals::afterAlignment(), AlignmentMonitorMuonResiduals::book(), CSCLayers(), MuonAlignmentFromReference::initialize(), and MuonScenarioBuilder::moveCSCSectors().
align::Alignables AlignableMuon::CSCEndcaps | ( | ) |
Definition at line 377 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theCSCEndcaps.
Referenced by AlignmentParameterSelector::addSelection(), SurveyInputCSCfromPins::analyze(), MuonScenarioBuilder::applyScenario(), MuonAlignment::copyAlignmentToSurvey(), cscAlignmentErrors(), cscAlignments(), MuonAlignment::fillGapsInSurvey(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), MuonAlignmentInputXML::newAlignableMuon(), AlignmentProducer::readInSurveyRcds(), MuonAlignment::saveCSCSurveyToDB(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::CSCLayers | ( | ) |
Definition at line 337 of file AlignableMuon.cc.
References chambers, CSCChambers(), and query::result.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::CSCRings | ( | ) |
Definition at line 361 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theCSCRings.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::CSCStations | ( | ) |
Definition at line 369 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theCSCStations.
Referenced by AlignmentParameterSelector::addSelection().
AlignmentErrors * AlignableMuon::dtAlignmentErrors | ( | void | ) |
Definition at line 451 of file AlignableMuon.cc.
References DTBarrel().
Referenced by MuonAlignment::copyAlignmentToSurvey(), MisalignedMuonESProducer::produce(), MuonAlignment::saveDTtoDB(), AlignmentProducer::startingNewLoop(), MuonAlignmentOutputXML::write(), and AlignmentProducer::writeForRunRange().
Alignments * AlignableMuon::dtAlignments | ( | void | ) |
Definition at line 442 of file AlignableMuon.cc.
References DTBarrel().
Referenced by MisalignedMuonESProducer::produce(), MuonAlignment::saveDTtoDB(), AlignmentProducer::startingNewLoop(), and AlignmentProducer::writeForRunRange().
align::Alignables AlignableMuon::DTBarrel | ( | ) |
Definition at line 329 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theDTBarrel.
Referenced by AlignmentParameterSelector::addSelection(), MuonScenarioBuilder::applyScenario(), MuonAlignment::copyAlignmentToSurvey(), dtAlignmentErrors(), dtAlignments(), MuonAlignment::fillGapsInSurvey(), MuonScenarioBuilder::moveMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), MuonAlignmentInputXML::newAlignableMuon(), AlignmentProducer::readInSurveyRcds(), MuonAlignment::saveDTSurveyToDB(), and MuonAlignmentOutputXML::write().
align::Alignables AlignableMuon::DTChambers | ( | ) |
Definition at line 304 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theDTChambers.
Referenced by AlignmentParameterSelector::addSelection(), AlignmentMonitorMuonResiduals::afterAlignment(), AlignmentMonitorMuonResiduals::book(), DTLayers(), DTSuperLayers(), MuonAlignmentFromReference::initialize(), and MuonScenarioBuilder::moveDTSectors().
align::Alignables AlignableMuon::DTLayers | ( | ) |
Definition at line 269 of file AlignableMuon.cc.
References chambers, DTChambers(), and query::result.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::DTStations | ( | ) |
Definition at line 312 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theDTStations.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::DTSuperLayers | ( | ) |
Definition at line 288 of file AlignableMuon.cc.
References chambers, DTChambers(), and query::result.
Referenced by AlignmentParameterSelector::addSelection().
align::Alignables AlignableMuon::DTWheels | ( | ) |
Definition at line 321 of file AlignableMuon.cc.
References filterCSVwithJSON::copy, query::result, and theDTWheels.
Referenced by AlignmentParameterSelector::addSelection().
|
inlinevirtual |
|
private |
Set mothers recursively.
Definition at line 386 of file AlignableMuon.cc.
References components(), and Alignable::components().
Referenced by AlignableMuon().
|
private |
Definition at line 119 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCChambers().
|
private |
Definition at line 122 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCEndcaps().
|
private |
Definition at line 121 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCRings().
|
private |
Definition at line 120 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), and CSCStations().
|
private |
Definition at line 117 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTBarrel().
|
private |
Definition at line 114 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTChambers().
|
private |
Definition at line 115 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTStations().
|
private |
Definition at line 116 of file AlignableMuon.h.
Referenced by buildDTBarrel(), and DTWheels().
|
private |
Definition at line 124 of file AlignableMuon.h.
Referenced by buildCSCEndcap(), buildDTBarrel(), components(), and ~AlignableMuon().