1#include "CgemGeomSvc/CgemMidDriftPlane.h"
3#include "GaudiKernel/MsgStream.h"
4#include "GaudiKernel/IMessageSvc.h"
5#include "GaudiKernel/StatusCode.h"
6#include "GaudiKernel/ISvcLocator.h"
7#include "GaudiKernel/Bootstrap.h"
8#include "GaudiKernel/SmartDataPtr.h"
9#include "GaudiKernel/IDataProviderSvc.h"
10#include "GaudiKernel/PropertyMgr.h"
26 double phiVUp[],
double phiVDown[]){
28 posDown = pLine.
xAtR(m_rad[layer], 1);
31 posUp = pLine.
xAtR(m_rad[layer], -1);
39 double phiVUp[],
double phiVDown[]){
45 double phiVUp[],
double phiVDown[]){
48 trk[1] = pLine.
phi0();
50 trk[3] = pLine.
tanl();
68 double phiVUp[],
double phiVDown[]){
69 return getPointAligned(layer, *pLine, posUp, posDown, phiVUp, phiVDown);
77 int nSheet=2;
if(layer==0) nSheet=1;
78 for(
int iSheet=0; iSheet<nSheet; iSheet++)
80 if(m_readoutPlane[layer][iSheet]->OnThePlane(phi,z))
82 phiV[1]=m_readoutPlane[layer][iSheet]->
getVFromPhiZ(phi,z);
StraightLine StraightLineConversion(int layer, StraightLine lineOriginal)
HepPoint3D point_invTransform(int layer, HepPoint3D pos)
double getVFromPhiZ(double phi, double z) const
bool getPointIdealGeom(int layer, StraightLine pLine, HepPoint3D &posUp, HepPoint3D &posDown, double phiVUp[], double phiVDown[])
bool getPointAligned(int layer, StraightLine pLine, HepPoint3D &posUp, HepPoint3D &posDown, double phiVUp[], double phiVDown[])
bool xyzToPhiVIdealGeom(int layer, HepPoint3D pos, double phiV[])
HepPoint3D xAtR(double R, int direction=1) const
double dr(void) const
returns an element of parameters.