"MarlinReco"  1.32.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VXDGeometry Class Reference

======= VXDGeometry ==========
Helper class for VXD geomtry transformations: from lab frame to ladder frame coordinates and inverse. More...

#include <VXDGeometry.h>

Public Member Functions

 VXDGeometry (const VXDGeometry &)=delete
 
VXDGeometryoperator= (const VXDGeometry &)=delete
 
 VXDGeometry (gear::GearMgr *gearMgr)
 
std::pair< int, int > getLadderID (gear::Vector3D labPos, int layerID=-1)
 Return the pair (layerID, ladderID) for the given position, (-1,-1) if not in sensitive volume (in the given layer).
 
gear::Vector3D lab2LadderPos (gear::Vector3D labPos, int layerID, int ladderID)
 Convert a position in the lab frame to local ladder coordinates (x_ladder==0 is the middle of the sensitive).
 
gear::Vector3D ladder2LabPos (gear::Vector3D ladderPos, int layerID, int ladderID)
 Convert a position in local ladder coordinates (x_ladder==0 is the middle of the sensitive) to the lab frame.
 
gear::Vector3D lab2LadderDir (gear::Vector3D labPos, int layerID, int ladderID)
 Convert a direction in the lab frame to local ladder coordinates (x_ladder==0 is the middle of the sensitive).
 
gear::Vector3D ladder2LabDir (gear::Vector3D ladderPos, int layerID, int ladderID)
 Convert a direction in local ladder coordinates (x_ladder==0 is the middle of the sensitive) to the lab frame.
 
void test ()
 

Protected Member Functions

void init ()
 

Protected Attributes

gear::GearMgr * _gearMgr {}
 
VXDLadders _vxdLadders {}
 
VXDLayers _vxdLayers {}
 

Detailed Description

======= VXDGeometry ==========
Helper class for VXD geomtry transformations: from lab frame to ladder frame coordinates and inverse.

The ladder reference system has its origin at the middle of the sensitive box in x and y, where the x-coordinate runs along the thickness of the ladder and t he y coordinate runs along its width. The z coordinate is the same as in the lab frame.


Version
$Id$
Author
F.Gaede, DESY

The documentation for this class was generated from the following file: