#include <SymmetricLayerFinder.h>
Public Member Functions | |
const ForwardDetLayer * | mirror (const ForwardDetLayer *layer) |
FDLC | mirror (const FDLC &input) |
SymmetricLayerFinder (const FDLC &) | |
Private Types | |
typedef FDLC::const_iterator | ConstFDLI |
typedef std::vector< const ForwardDetLayer * > | FDLC |
typedef FDLC::iterator | FDLI |
typedef std::map< const ForwardDetLayer *, const ForwardDetLayer *, std::less < const ForwardDetLayer * > > | ForwardMapType |
typedef std::pair< const ForwardDetLayer *, const ForwardDetLayer * > | PairType |
Private Member Functions | |
const ForwardDetLayer * | mirrorPartner (const ForwardDetLayer *layer, const FDLC &rightLayers) |
Private Attributes | |
ForwardMapType | theForwardMap |
A symmetrisation algorithm for layer navigation. For every ForwardDetLayer returns a pointer to the symmetric one with respect to origin.
Definition at line 17 of file SymmetricLayerFinder.h.
|
private |
Definition at line 21 of file SymmetricLayerFinder.h.
|
private |
Definition at line 19 of file SymmetricLayerFinder.h.
|
private |
Definition at line 20 of file SymmetricLayerFinder.h.
|
private |
Definition at line 38 of file SymmetricLayerFinder.h.
|
private |
Definition at line 22 of file SymmetricLayerFinder.h.
SymmetricLayerFinder::SymmetricLayerFinder | ( | const FDLC & | flc | ) |
Definition at line 15 of file SymmetricLayerFinder.cc.
|
inline |
Definition at line 28 of file SymmetricLayerFinder.h.
Referenced by CosmicNavigationSchool::buildAdditionalForwardLinks(), CosmicNavigationSchool::linkBarrelLayers(), SimpleNavigationSchool::linkBarrelLayers(), SimpleNavigationSchool::linkForwardLayers(), and BeamHaloNavigationSchool::linkOtherEndLayers().
SymmetricLayerFinder::FDLC SymmetricLayerFinder::mirror | ( | const FDLC & | input | ) |
Definition at line 60 of file SymmetricLayerFinder.cc.
References i, and query::result.
|
private |
Definition at line 39 of file SymmetricLayerFinder.cc.
References a, funct::abs(), GeometricSearchDet::position(), query::result, ForwardDetLayer::specificSurface(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 40 of file SymmetricLayerFinder.h.