#include <LASGeometryUpdater.h>
Public Member Functions | |
void | ApplyBeamKinkCorrections (LASGlobalData< LASCoordinateSet > &) const |
void | EndcapUpdate (LASEndcapAlignmentParameterSet &, LASGlobalData< LASCoordinateSet > &) |
LASGeometryUpdater (LASGlobalData< LASCoordinateSet > &, LASConstants &) | |
void | SetMisalignmentFromRefGeometry (bool) |
void | SetReverseDirection (bool) |
void | TrackerUpdate (LASEndcapAlignmentParameterSet &, LASBarrelAlignmentParameterSet &, AlignableTracker &) |
Private Attributes | |
bool | isMisalignmentFromRefGeometry |
bool | isReverseDirection |
LASConstants | lasConstants |
LASGlobalData< LASCoordinateSet > | nominalCoordinates |
Definition at line 16 of file LASGeometryUpdater.h.
LASGeometryUpdater::LASGeometryUpdater | ( | LASGlobalData< LASCoordinateSet > & | aNominalCoordinates, |
LASConstants & | aLasConstants | ||
) |
constructor providing access to the nominal coordinates and the constants - for the moment, both objects are passed here, later it should be sufficient to pass only the constants and to fill the nominalCoordinates locally from that
Definition at line 11 of file LASGeometryUpdater.cc.
References aNominalCoordinates, isMisalignmentFromRefGeometry, isReverseDirection, lasConstants, and nominalCoordinates.
void LASGeometryUpdater::ApplyBeamKinkCorrections | ( | LASGlobalData< LASCoordinateSet > & | measuredCoordinates | ) | const |
this function reads the beam kinks from the lasConstants and applies them to the set of measured global phi positions
first we apply the endcap beamsplitter kink corrections for TEC+/- in one go
alignment tube beamsplitter & mirror kink corrections TBD.
Definition at line 23 of file LASGeometryUpdater.cc.
References EcalCondDBWriter_cfi::beam, LASConstants::GetEndcapBsKink(), LASCoordinateSet::GetPhi(), LASConstants::GetTecBsZPosition(), LASGlobalData< T >::GetTECEntry(), LASConstants::GetTecRadius(), LASConstants::GetTecZPosition(), lasConstants, relativeConstraints::ring, LASCoordinateSet::SetPhi(), and funct::tan().
Referenced by LaserAlignment::endRunProduce().
void LASGeometryUpdater::EndcapUpdate | ( | LASEndcapAlignmentParameterSet & | endcapParameters, |
LASGlobalData< LASCoordinateSet > & | measuredCoordinates | ||
) |
apply the endcap alignment parameters in the LASEndcapAlignmentParameterSet to the Measurements (TEC2TEC only) and the AlignableTracker object
Definition at line 52 of file LASGeometryUpdater.cc.
References EcalCondDBWriter_cfi::beam, funct::cos(), LASEndcapAlignmentParameterSet::GetDiskParameter(), LASCoordinateSet::GetPhi(), LASGlobalData< T >::GetTEC2TECEntry(), nominalCoordinates, CosmicsPD_Skims::radius, LASCoordinateSet::SetPhi(), funct::sin(), and LASGlobalLoop::TEC2TECLoop().
Referenced by LaserAlignment::endRunProduce().
void LASGeometryUpdater::SetMisalignmentFromRefGeometry | ( | bool | isSet | ) |
Definition at line 301 of file LASGeometryUpdater.cc.
References isMisalignmentFromRefGeometry.
Referenced by LaserAlignment::endRunProduce().
void LASGeometryUpdater::SetReverseDirection | ( | bool | isSet | ) |
Definition at line 296 of file LASGeometryUpdater.cc.
References isReverseDirection.
Referenced by LaserAlignment::endRunProduce().
void LASGeometryUpdater::TrackerUpdate | ( | LASEndcapAlignmentParameterSet & | endcapParameters, |
LASBarrelAlignmentParameterSet & | barrelParameters, | ||
AlignableTracker & | theAlignableTracker | ||
) |
merge the output from endcap and barrel algorithms and update the AlignableTracker object
the AlignableTracker input object is expected to be perfectly aligned!!
Definition at line 92 of file LASGeometryUpdater.cc.
References AlignableTracker::endCaps(), LASEndcapAlignmentParameterSet::GetDiskParameter(), LASBarrelAlignmentParameterSet::GetParameter(), AlignableTracker::innerHalfBarrels(), isMisalignmentFromRefGeometry, isReverseDirection, AlignableTracker::outerHalfBarrels(), and makeMuonMisalignmentScenario::wheel.
Referenced by LaserAlignment::endRunProduce().
|
private |
Definition at line 29 of file LASGeometryUpdater.h.
Referenced by LASGeometryUpdater(), SetMisalignmentFromRefGeometry(), and TrackerUpdate().
|
private |
Definition at line 28 of file LASGeometryUpdater.h.
Referenced by LASGeometryUpdater(), SetReverseDirection(), and TrackerUpdate().
|
private |
Definition at line 27 of file LASGeometryUpdater.h.
Referenced by ApplyBeamKinkCorrections(), and LASGeometryUpdater().
|
private |
Definition at line 26 of file LASGeometryUpdater.h.
Referenced by EndcapUpdate(), and LASGeometryUpdater().