#include <MdcCosWire.h>
◆ getCellId() [1/2]
| int MdcCosWire::getCellId |
( |
| ) |
const |
|
inline |
◆ getCellId() [2/2]
| int MdcCosWire::getCellId |
( |
| ) |
const |
|
inline |
◆ getChannel() [1/2]
| int MdcCosWire::getChannel |
( |
| ) |
const |
|
inline |
◆ getChannel() [2/2]
| int MdcCosWire::getChannel |
( |
| ) |
const |
|
inline |
◆ getEndId() [1/2]
| int MdcCosWire::getEndId |
( |
| ) |
const |
|
inline |
◆ getEndId() [2/2]
| int MdcCosWire::getEndId |
( |
| ) |
const |
|
inline |
◆ getFanId() [1/2]
| int MdcCosWire::getFanId |
( |
| ) |
const |
|
inline |
◆ getFanId() [2/2]
| int MdcCosWire::getFanId |
( |
| ) |
const |
|
inline |
◆ getLayerId() [1/2]
| int MdcCosWire::getLayerId |
( |
| ) |
const |
|
inline |
◆ getLayerId() [2/2]
| int MdcCosWire::getLayerId |
( |
| ) |
const |
|
inline |
◆ getLayerPtr() [1/2]
◆ getLayerPtr() [2/2]
◆ getLength() [1/2]
| double MdcCosWire::getLength |
( |
| ) |
const |
|
inline |
◆ getLength() [2/2]
| double MdcCosWire::getLength |
( |
| ) |
const |
|
inline |
◆ getPhi() [1/2]
| double MdcCosWire::getPhi |
( |
double | z | ) |
const |
Definition at line 6 of file MdcAlignAlg/share/distAlign/src/MdcCosWire.cpp.
6 {
7 double lx = m_wpos[0] - m_wpos[3];
8 double ly = m_wpos[1] - m_wpos[4];
9 double lz = m_wpos[2] - m_wpos[5];
10
11 double xhit = ( z - m_wpos[2] ) * lx / lz + m_wpos[0];
12 double yhit = ( z - m_wpos[2] ) * ly / lz + m_wpos[1];
13
14 double r = sqrt( ( xhit * xhit ) + ( yhit * yhit ) );
15 double phi = asin( yhit / r );
16
17 if ( xhit < 0 ) phi =
PI - phi;
18 if ( phi < 0 ) phi +=
PI2;
19
20 return phi;
21}
◆ getPhi() [2/2]
| double MdcCosWire::getPhi |
( |
double | z | ) |
const |
◆ getPhiForward() [1/2]
| double MdcCosWire::getPhiForward |
( |
| ) |
const |
|
inline |
◆ getPhiForward() [2/2]
| double MdcCosWire::getPhiForward |
( |
| ) |
const |
|
inline |
◆ getPreAmpId() [1/2]
| int MdcCosWire::getPreAmpId |
( |
| ) |
const |
|
inline |
◆ getPreAmpId() [2/2]
| int MdcCosWire::getPreAmpId |
( |
| ) |
const |
|
inline |
◆ getRad() [1/2]
| double MdcCosWire::getRad |
( |
| ) |
const |
|
inline |
◆ getRad() [2/2]
| double MdcCosWire::getRad |
( |
| ) |
const |
|
inline |
◆ getSag() [1/2]
| double MdcCosWire::getSag |
( |
| ) |
const |
|
inline |
◆ getSag() [2/2]
| double MdcCosWire::getSag |
( |
| ) |
const |
|
inline |
◆ getSlant() [1/2]
| double MdcCosWire::getSlant |
( |
| ) |
const |
|
inline |
◆ getSlant() [2/2]
| double MdcCosWire::getSlant |
( |
| ) |
const |
|
inline |
◆ getTension() [1/2]
| double MdcCosWire::getTension |
( |
| ) |
const |
|
inline |
◆ getTension() [2/2]
| double MdcCosWire::getTension |
( |
| ) |
const |
|
inline |
◆ getTwistCell() [1/2]
| double MdcCosWire::getTwistCell |
( |
| ) |
const |
|
inline |
◆ getTwistCell() [2/2]
| double MdcCosWire::getTwistCell |
( |
| ) |
const |
|
inline |
◆ getWireCenPos() [1/2]
| void MdcCosWire::getWireCenPos |
( |
double | wcenpos[] | ) |
const |
|
inline |
◆ getWireCenPos() [2/2]
| void MdcCosWire::getWireCenPos |
( |
double | wcenpos[] | ) |
const |
◆ getWireId() [1/2]
| int MdcCosWire::getWireId |
( |
| ) |
const |
|
inline |
◆ getWireId() [2/2]
| int MdcCosWire::getWireId |
( |
| ) |
const |
|
inline |
◆ getWireLabel() [1/2]
| const char * MdcCosWire::getWireLabel |
( |
| ) |
const |
|
inline |
◆ getWireLabel() [2/2]
| const char * MdcCosWire::getWireLabel |
( |
| ) |
const |
|
inline |
◆ getWirePos() [1/2]
| void MdcCosWire::getWirePos |
( |
double | wpos[] | ) |
const |
|
inline |
◆ getWirePos() [2/2]
| void MdcCosWire::getWirePos |
( |
double | wpos[] | ) |
const |
◆ getWireTag() [1/2]
| const char * MdcCosWire::getWireTag |
( |
| ) |
const |
|
inline |
◆ getWireTag() [2/2]
| const char * MdcCosWire::getWireTag |
( |
| ) |
const |
|
inline |
◆ getWireType() [1/2]
| int MdcCosWire::getWireType |
( |
| ) |
const |
|
inline |
◆ getWireType() [2/2]
| int MdcCosWire::getWireType |
( |
| ) |
const |
|
inline |
◆ getXb() [1/2]
| double MdcCosWire::getXb |
( |
| ) |
const |
|
inline |
◆ getXb() [2/2]
| double MdcCosWire::getXb |
( |
| ) |
const |
|
inline |
◆ getXf() [1/2]
| double MdcCosWire::getXf |
( |
| ) |
const |
|
inline |
◆ getXf() [2/2]
| double MdcCosWire::getXf |
( |
| ) |
const |
|
inline |
◆ getYb() [1/2]
| double MdcCosWire::getYb |
( |
| ) |
const |
|
inline |
◆ getYb() [2/2]
| double MdcCosWire::getYb |
( |
| ) |
const |
|
inline |
◆ getYf() [1/2]
| double MdcCosWire::getYf |
( |
| ) |
const |
|
inline |
◆ getYf() [2/2]
| double MdcCosWire::getYf |
( |
| ) |
const |
|
inline |
◆ getZb() [1/2]
| double MdcCosWire::getZb |
( |
| ) |
const |
|
inline |
◆ getZb() [2/2]
| double MdcCosWire::getZb |
( |
| ) |
const |
|
inline |
◆ getZf() [1/2]
| double MdcCosWire::getZf |
( |
| ) |
const |
|
inline |
◆ getZf() [2/2]
| double MdcCosWire::getZf |
( |
| ) |
const |
|
inline |
◆ isInner() [1/2]
| bool MdcCosWire::isInner |
( |
| ) |
const |
|
inline |
◆ isInner() [2/2]
| bool MdcCosWire::isInner |
( |
| ) |
const |
|
inline |
◆ print() [1/2]
| void MdcCosWire::print |
( |
FILE * | fout = stdout | ) |
const |
Definition at line 23 of file MdcAlignAlg/share/distAlign/src/MdcCosWire.cpp.
23 {
24 fprintf( fout, "\n%10s %10s %10s %10s %10s %10s %10s\n", "WireLabel", "Wire", "Layer",
25 "Cell", "Radius", "PhiF", "Ten" );
28
29 fprintf( fout, "%10s %10s %10s %10s %10s %10s %10s\n", "Xf", "Yf", "Zf", "Xb", "Yb", "Zb",
30 "Sag" );
31 fprintf( fout,
"%10.3f %10.3f %10.3f %10.3f %10.3f %10.3f\n\n",
getXf(),
getYf(),
getZf(),
33}
const char * getWireLabel() const
◆ print() [2/2]
| void MdcCosWire::print |
( |
FILE * | fout = stdout | ) |
const |
◆ setCellId() [1/2]
| void MdcCosWire::setCellId |
( |
int | iCell | ) |
|
|
inline |
◆ setCellId() [2/2]
| void MdcCosWire::setCellId |
( |
int | iCell | ) |
|
|
inline |
◆ setChannel() [1/2]
| void MdcCosWire::setChannel |
( |
int | ch | ) |
|
|
inline |
◆ setChannel() [2/2]
| void MdcCosWire::setChannel |
( |
int | ch | ) |
|
|
inline |
◆ setEndId() [1/2]
| void MdcCosWire::setEndId |
( |
int | iEnd | ) |
|
|
inline |
◆ setEndId() [2/2]
| void MdcCosWire::setEndId |
( |
int | iEnd | ) |
|
|
inline |
◆ setFanId() [1/2]
| void MdcCosWire::setFanId |
( |
int | iFan | ) |
|
|
inline |
◆ setFanId() [2/2]
| void MdcCosWire::setFanId |
( |
int | iFan | ) |
|
|
inline |
◆ setLayerId() [1/2]
| void MdcCosWire::setLayerId |
( |
int | iLay | ) |
|
|
inline |
◆ setLayerId() [2/2]
| void MdcCosWire::setLayerId |
( |
int | iLay | ) |
|
|
inline |
◆ setLayerPtr() [1/2]
◆ setLayerPtr() [2/2]
◆ setPhiForward() [1/2]
| void MdcCosWire::setPhiForward |
( |
double | phi | ) |
|
|
inline |
◆ setPhiForward() [2/2]
| void MdcCosWire::setPhiForward |
( |
double | phi | ) |
|
|
inline |
◆ setPreAmpId() [1/2]
| void MdcCosWire::setPreAmpId |
( |
int | iPreamp | ) |
|
|
inline |
◆ setPreAmpId() [2/2]
| void MdcCosWire::setPreAmpId |
( |
int | iPreamp | ) |
|
|
inline |
◆ setSag() [1/2]
| void MdcCosWire::setSag |
( |
double | sag | ) |
|
|
inline |
◆ setSag() [2/2]
| void MdcCosWire::setSag |
( |
double | sag | ) |
|
|
inline |
◆ setTension() [1/2]
| void MdcCosWire::setTension |
( |
double | tension | ) |
|
|
inline |
◆ setTension() [2/2]
| void MdcCosWire::setTension |
( |
double | tension | ) |
|
|
inline |
◆ setWireId() [1/2]
| void MdcCosWire::setWireId |
( |
int | iWire | ) |
|
|
inline |
◆ setWireId() [2/2]
| void MdcCosWire::setWireId |
( |
int | iWire | ) |
|
|
inline |
◆ setWireLabel() [1/2]
| void MdcCosWire::setWireLabel |
( |
char * | label | ) |
|
|
inline |
◆ setWireLabel() [2/2]
| void MdcCosWire::setWireLabel |
( |
char * | label | ) |
|
|
inline |
◆ setWirePos() [1/2]
| void MdcCosWire::setWirePos |
( |
double | wpos[] | ) |
|
◆ setWirePos() [2/2]
| void MdcCosWire::setWirePos |
( |
double | wpos[] | ) |
|
◆ setWireTag() [1/2]
| void MdcCosWire::setWireTag |
( |
char * | tag | ) |
|
|
inline |
◆ setWireTag() [2/2]
| void MdcCosWire::setWireTag |
( |
char * | tag | ) |
|
|
inline |
◆ setXb() [1/2]
| void MdcCosWire::setXb |
( |
double | xb | ) |
|
|
inline |
◆ setXb() [2/2]
| void MdcCosWire::setXb |
( |
double | xb | ) |
|
|
inline |
◆ setXf() [1/2]
| void MdcCosWire::setXf |
( |
double | xf | ) |
|
|
inline |
◆ setXf() [2/2]
| void MdcCosWire::setXf |
( |
double | xf | ) |
|
|
inline |
◆ setYb() [1/2]
| void MdcCosWire::setYb |
( |
double | yb | ) |
|
|
inline |
◆ setYb() [2/2]
| void MdcCosWire::setYb |
( |
double | yb | ) |
|
|
inline |
◆ setYf() [1/2]
| void MdcCosWire::setYf |
( |
double | yf | ) |
|
|
inline |
◆ setYf() [2/2]
| void MdcCosWire::setYf |
( |
double | yf | ) |
|
|
inline |
◆ setZb() [1/2]
| void MdcCosWire::setZb |
( |
double | zb | ) |
|
|
inline |
◆ setZb() [2/2]
| void MdcCosWire::setZb |
( |
double | zb | ) |
|
|
inline |
◆ setZf() [1/2]
| void MdcCosWire::setZf |
( |
double | zf | ) |
|
|
inline |
◆ setZf() [2/2]
| void MdcCosWire::setZf |
( |
double | zf | ) |
|
|
inline |
The documentation for this class was generated from the following files: