#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 17 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 28 of file LASGeometryUpdater.cc.
References LASConstants::GetEndcapBsKink(), LASCoordinateSet::GetPhi(), LASConstants::GetTecBsZPosition(), LASGlobalData< T >::GetTECEntry(), LASConstants::GetTecRadius(), LASConstants::GetTecZPosition(), lasConstants, relativeConstraints::ring, LASCoordinateSet::SetPhi(), and funct::tan().
Referenced by LaserAlignment::endRun().
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 68 of file LASGeometryUpdater.cc.
References funct::cos(), LASEndcapAlignmentParameterSet::GetDiskParameter(), LASCoordinateSet::GetPhi(), LASGlobalData< T >::GetTEC2TECEntry(), nominalCoordinates, CosmicsPD_Skims::radius, LASCoordinateSet::SetPhi(), funct::sin(), and LASGlobalLoop::TEC2TECLoop().
Referenced by LaserAlignment::endRun().
void LASGeometryUpdater::SetMisalignmentFromRefGeometry | ( | bool | isSet | ) |
Definition at line 333 of file LASGeometryUpdater.cc.
References isMisalignmentFromRefGeometry.
Referenced by LaserAlignment::endRun().
void LASGeometryUpdater::SetReverseDirection | ( | bool | isSet | ) |
Definition at line 320 of file LASGeometryUpdater.cc.
References isReverseDirection.
Referenced by LaserAlignment::endRun().
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 114 of file LASGeometryUpdater.cc.
References AlignableTracker::endCaps(), LASEndcapAlignmentParameterSet::GetDiskParameter(), LASBarrelAlignmentParameterSet::GetParameter(), AlignableTracker::innerHalfBarrels(), isMisalignmentFromRefGeometry, isReverseDirection, and AlignableTracker::outerHalfBarrels().
Referenced by LaserAlignment::endRun().
|
private |
Definition at line 31 of file LASGeometryUpdater.h.
Referenced by LASGeometryUpdater(), SetMisalignmentFromRefGeometry(), and TrackerUpdate().
|
private |
Definition at line 30 of file LASGeometryUpdater.h.
Referenced by LASGeometryUpdater(), SetReverseDirection(), and TrackerUpdate().
|
private |
Definition at line 29 of file LASGeometryUpdater.h.
Referenced by ApplyBeamKinkCorrections(), and LASGeometryUpdater().
|
private |
Definition at line 28 of file LASGeometryUpdater.h.
Referenced by EndcapUpdate(), and LASGeometryUpdater().