GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | Static Public Attributes | List of all members
gear::ZPlanarParameters Class Referenceabstract

Geometry properties of a vertex detector needed for reconstruction code. More...

#include <ZPlanarParameters.h>

Inheritance diagram for gear::ZPlanarParameters:
gear::GearParameters gear::ZPlanarParametersImpl

Public Member Functions

virtual ~ZPlanarParameters ()
 Destructor.
 
virtual const ZPlanarLayerLayoutgetZPlanarLayerLayout () const =0
 The layer layout in the detector.
 
const ZPlanarLayerLayoutgetVXDLayerLayout () const
 fix for backward compatibility
 
virtual int getType () const =0
 The type of detector - to be defined by users...
 
virtual int getVXDType () const
 For backward compatibility: The type of detector: ZPlanarParameters.CCD, ZPlanarParameters.CMOS or ZPlanarParameters.HYBRID.
 
virtual double getShellHalfLength () const =0
 The half length (z) of the support shell in mm (w/o gap).
 
virtual double getShellGap () const =0
 The length of the gap in mm (gap position at z=0)
 
virtual double getShellInnerRadius () const =0
 The inner radius of the support shell in mm.
 
virtual double getShellOuterRadius () const =0
 The outer radius of the support shell in mm.
 
virtual double getShellRadLength () const =0
 The radiation length in the support shell.
 
virtual bool isPointInLadder (Vector3D p) const =0
 returns whether a point is inside a ladder
 
virtual bool isPointInSensitive (Vector3D p, SensorID *sensorID=0) const =0
 returns wheter a point is inside a sensitive volume- if sensorID != 0 the sensorID is returned in case the point is inside the sensitive
 
virtual Vector3D distanceToNearestLadder (Vector3D p) const =0
 returns vector from point to nearest ladder
 
virtual Vector3D distanceToNearestSensitive (Vector3D p) const =0
 returns vector from point to nearest sensitive volume
 
virtual Vector3D intersectionLadder (Vector3D p, Vector3D v) const =0
 returns the first point where a given straight line (parameters point p and direction v) crosses a ladder (0,0,0) is returned if no intersection can be found. More...
 
virtual Vector3D intersectionSensitive (Vector3D p, Vector3D v) const =0
 returns the first point where a given strainght line (parameters point p and direction v) crosses a sensitive volume (0,0,0) is returned if no intersection can be found. More...
 
- Public Member Functions inherited from gear::GearParameters
virtual ~GearParameters ()
 Destructor.
 
virtual int getIntVal (const std::string &key) const =0
 Integer value for key. More...
 
virtual double getDoubleVal (const std::string &key) const =0
 Double value for key. More...
 
virtual const std::string & getStringVal (const std::string &key) const =0
 String value for key. More...
 
virtual const std::vector< int > & getIntVals (const std::string &key) const =0
 Integer values for key. More...
 
virtual const std::vector
< double > & 
getDoubleVals (const std::string &key) const =0
 Double values for key. More...
 
virtual const std::vector
< std::string > & 
getStringVals (const std::string &key) const =0
 String values for key. More...
 
virtual const std::vector
< std::string > & 
getIntKeys () const =0
 All keys of int variables. More...
 
virtual const std::vector
< std::string > & 
getDoubleKeys () const =0
 All keys of double variables. More...
 
virtual const std::vector
< std::string > & 
getStringKeys () const =0
 All keys of string variables. More...
 
virtual const std::vector
< std::string > & 
getIntVecKeys () const =0
 All keys of IntVec variables. More...
 
virtual const std::vector
< std::string > & 
getDoubleVecKeys () const =0
 All keys of DoubleVec variables. More...
 
virtual const std::vector
< std::string > & 
getStringVecKeys () const =0
 All keys of StringVec variables. More...
 

Static Public Attributes

static const int CCD = 1
 
static const int CMOS = 2
 
static const int HYBRID = 3
 

Detailed Description

Geometry properties of a vertex detector needed for reconstruction code.


The vertex is assumed to consist of a number of layers. Each layer consists of a number of rectangular ladders that are uniformly distributed in a circle around the IP.
The sensitive volumes can be placed relative to the (insensitive) ladders.

See Also
addLayer .

The shell is described by outer and inner radius and it's half length in z.

The gap is assumed to be symetrical around z==0 and goes through all layers and ladders.

Author
R. Lippe, DESY
Version
$Id:

Definition at line 26 of file ZPlanarParameters.h.

Member Function Documentation

virtual Vector3D gear::ZPlanarParameters::intersectionLadder ( Vector3D  p,
Vector3D  v 
) const
pure virtual

returns the first point where a given straight line (parameters point p and direction v) crosses a ladder (0,0,0) is returned if no intersection can be found.

Parameters
pa point on the line. This will be the starting point.
va vector along the line

Implemented in gear::ZPlanarParametersImpl.

virtual Vector3D gear::ZPlanarParameters::intersectionSensitive ( Vector3D  p,
Vector3D  v 
) const
pure virtual

returns the first point where a given strainght line (parameters point p and direction v) crosses a sensitive volume (0,0,0) is returned if no intersection can be found.

Parameters
pa point on the line. This will be the starting point.
va vector along the line

Implemented in gear::ZPlanarParametersImpl.


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