Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Plane Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/geom_svc/GeomSvc.h>

+ Collaboration diagram for Plane:

Public Member Functions

 Plane ()
 
double intercept (double tx, double ty, double x0_track, double y0_track) const
 
double getX (double w, double y) const
 
double getY (double x, double w) const
 
double getW (double x, double y) const
 
double getWirePosition (int elementID) const
 
TVectorD getEndPoint (int elementID, int sign=-1) const
 
void update ()
 

Public Attributes

int detectorID
 
std::string detectorName
 
int planeType
 
int nElements
 
double spacing
 
double cellWidth
 
double xoffset
 
double overlap
 
double angleFromVert
 
double sintheta
 
double costheta
 
double tantheta
 
double x0
 
double y0
 
double z0
 
double x1
 
double y1
 
double z1
 
double x2
 
double y2
 
double z2
 
double thetaX
 
double thetaY
 
double thetaZ
 
double deltaX
 
double deltaY
 
double deltaZ
 
double deltaW
 
double deltaW_module [9]
 
double rotX
 
double rotY
 
double rotZ
 
double resolution
 
double xc
 
double yc
 
double zc
 
double wc
 
double rX
 
double rY
 
double rZ
 
TVectorD nVec = TVectorD(3)
 
TVectorD uVec = TVectorD(3)
 
TVectorD vVec = TVectorD(3)
 
TVectorD xVec = TVectorD(3)
 
TVectorD yVec = TVectorD(3)
 
TMatrixD rotM = TMatrixD(3, 3)
 
double tmin
 
double tmax
 
TSpline3 * rtprofile
 
std::vector< double > elementPos
 

Friends

std::ostream & operator<< (std::ostream &os, const Plane &plane)
 

Detailed Description

Definition at line 35 of file GeomSvc.h.

Constructor & Destructor Documentation

Plane::Plane ( )

Definition at line 31 of file GeomSvc.cxx.

References deltaW, deltaW_module, deltaX, deltaY, deltaZ, detectorID, elementPos, nElements, NULL, planeType, rotX, rotY, rotZ, rtprofile, rX, rY, rZ, thetaX, thetaY, thetaZ, tmax, tmin, wc, x0, x1, x2, xc, y0, y1, y2, yc, z0, z1, z2, and zc.

Member Function Documentation

TVectorD Plane::getEndPoint ( int  elementID,
int  sign = -1 
) const

Definition at line 149 of file GeomSvc.cxx.

References angleFromVert, nElements, planeType, spacing, vVec, x1, x2, xc, xoffset, xVec, y1, y2, yc, yVec, and zc.

double Plane::getW ( double  x,
double  y 
) const
inline

Definition at line 47 of file GeomSvc.h.

References costheta, and sintheta.

Referenced by GeomSvc::getInterceptionFast(), GeomSvc::getUinStereoPlane(), and update().

+ Here is the caller graph for this function:

double Plane::getWirePosition ( int  elementID) const

Definition at line 144 of file GeomSvc.cxx.

References costheta, deltaW, nElements, sintheta, spacing, x0, xoffset, and y0.

double Plane::getX ( double  w,
double  y 
) const
inline

Definition at line 45 of file GeomSvc.h.

References costheta, and tantheta.

Referenced by GeomSvc::getXinStereoPlane().

+ Here is the caller graph for this function:

double Plane::getY ( double  x,
double  w 
) const
inline

Definition at line 46 of file GeomSvc.h.

References sintheta, and tantheta.

Referenced by GeomSvc::getYinStereoPlane().

+ Here is the caller graph for this function:

double Plane::intercept ( double  tx,
double  ty,
double  x0_track,
double  y0_track 
) const

Definition at line 127 of file GeomSvc.cxx.

References nVec, vVec, wc, xc, yc, and zc.

Referenced by GeomSvc::getInterception().

+ Here is the caller graph for this function:

void Plane::update ( )

Definition at line 76 of file GeomSvc.cxx.

References angleFromVert, costheta, deltaX, deltaY, deltaZ, getW(), nVec, rotM, rotX, rotY, rotZ, rX, rY, rZ, sintheta, tantheta, thetaX, thetaY, thetaZ, uVec, vVec, wc, x0, xc, xVec, y0, yc, yVec, z0, and zc.

Referenced by GeomSvc::setDetectorX0(), GeomSvc::setDetectorY0(), and GeomSvc::setDetectorZ0().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Plane plane 
)
friend

Definition at line 178 of file GeomSvc.cxx.

Member Data Documentation

double Plane::angleFromVert

Definition at line 73 of file GeomSvc.h.

Referenced by getEndPoint(), operator<<(), and update().

double Plane::costheta
double Plane::deltaW
double Plane::deltaW_module[9]

Definition at line 97 of file GeomSvc.h.

Referenced by GeomSvc::getPlaneWOffset(), GeomSvc::initWireLUT(), operator<<(), and Plane().

double Plane::deltaX

Definition at line 93 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::deltaY

Definition at line 94 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::deltaZ

Definition at line 95 of file GeomSvc.h.

Referenced by GeomSvc::getPlaneZOffset(), Plane(), GeomSvc::printAlignPar(), and update().

int Plane::detectorID

Definition at line 63 of file GeomSvc.h.

Referenced by operator<<(), and Plane().

std::string Plane::detectorName

Definition at line 64 of file GeomSvc.h.

Referenced by operator<<().

std::vector<double> Plane::elementPos

Definition at line 126 of file GeomSvc.h.

Referenced by GeomSvc::getExpElementID(), GeomSvc::initWireLUT(), and Plane().

TVectorD Plane::nVec = TVectorD(3)

Definition at line 113 of file GeomSvc.h.

Referenced by intercept(), operator<<(), and update().

double Plane::overlap

Definition at line 72 of file GeomSvc.h.

Referenced by GeomSvc::getPlaneOverlap(), and operator<<().

int Plane::planeType

Definition at line 65 of file GeomSvc.h.

Referenced by getEndPoint(), GeomSvc::getPlaneType(), operator<<(), and Plane().

double Plane::resolution

Definition at line 101 of file GeomSvc.h.

Referenced by GeomSvc::getMeasurement(), and GeomSvc::getPlaneResolution().

TMatrixD Plane::rotM = TMatrixD(3, 3)

Definition at line 118 of file GeomSvc.h.

Referenced by update().

double Plane::rotX

Definition at line 98 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::rotY

Definition at line 99 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::rotZ

Definition at line 100 of file GeomSvc.h.

Referenced by GeomSvc::getPlanePhiOffset(), Plane(), GeomSvc::printAlignPar(), and update().

TSpline3* Plane::rtprofile

Definition at line 123 of file GeomSvc.h.

Referenced by GeomSvc::close(), GeomSvc::getDriftDistance(), GeomSvc::getRTCurve(), and Plane().

double Plane::rX

Definition at line 108 of file GeomSvc.h.

Referenced by GeomSvc::getRotationInX(), Plane(), and update().

double Plane::rY

Definition at line 109 of file GeomSvc.h.

Referenced by GeomSvc::getRotationInY(), Plane(), and update().

double Plane::rZ

Definition at line 110 of file GeomSvc.h.

Referenced by GeomSvc::getRotationInZ(), Plane(), and update().

double Plane::sintheta
double Plane::tantheta

Definition at line 76 of file GeomSvc.h.

Referenced by GeomSvc::getTantheta(), getX(), getY(), and update().

double Plane::thetaX

Definition at line 88 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::thetaY

Definition at line 89 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::thetaZ

Definition at line 90 of file GeomSvc.h.

Referenced by Plane(), and update().

double Plane::tmax

Definition at line 122 of file GeomSvc.h.

Referenced by GeomSvc::isInTime(), and Plane().

double Plane::tmin

Definition at line 121 of file GeomSvc.h.

Referenced by GeomSvc::isInTime(), and Plane().

TVectorD Plane::uVec = TVectorD(3)

Definition at line 114 of file GeomSvc.h.

Referenced by operator<<(), and update().

TVectorD Plane::vVec = TVectorD(3)

Definition at line 115 of file GeomSvc.h.

Referenced by getEndPoint(), intercept(), operator<<(), and update().

double Plane::wc

Definition at line 107 of file GeomSvc.h.

Referenced by intercept(), Plane(), and update().

double Plane::x0
double Plane::xc
double Plane::xoffset
TVectorD Plane::xVec = TVectorD(3)

Definition at line 116 of file GeomSvc.h.

Referenced by getEndPoint(), and update().

double Plane::y0
double Plane::yc

Definition at line 105 of file GeomSvc.h.

Referenced by getEndPoint(), GeomSvc::getPlaneCenterY(), intercept(), operator<<(), Plane(), and update().

TVectorD Plane::yVec = TVectorD(3)

Definition at line 117 of file GeomSvc.h.

Referenced by getEndPoint(), and update().

double Plane::z0

Definition at line 81 of file GeomSvc.h.

Referenced by GeomSvc::getDetectorZ0(), Plane(), GeomSvc::setDetectorZ0(), and update().

double Plane::z1

Definition at line 84 of file GeomSvc.h.

Referenced by GeomSvc::getPlaneScaleZ(), operator<<(), and Plane().

double Plane::z2

Definition at line 87 of file GeomSvc.h.

Referenced by GeomSvc::getPlaneScaleZ(), operator<<(), and Plane().


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