#include <MdcLayer.h>
|
| MdcLayer (int lay, int nwir, MdcSWire **wires, const MdcDetector &theDet) |
|
| ~MdcLayer () |
|
void | print (std::ostream &o) const |
|
bool | exist (void) const |
|
int | view (void) const |
|
int | layNum (void) const |
|
int | nWires (void) const |
|
int | superLayer (void) const |
|
int | subLayer (void) const |
|
double | cellHeight (void) const |
|
double | stDip (void) const |
|
double | zEnd (void) const |
|
double | rMid (void) const |
|
double | rEnd (void) const |
|
double | rIn (void) const |
|
double | rOut (void) const |
|
double | stereo (void) const |
|
double | dPhiz (void) const |
|
double | zLength (void) const |
|
double | sag (void) const |
|
double | phiOffset (void) const |
|
double | phiEPOffset (void) const |
|
double | dPhizDC (double z) const |
|
double | radiusDC (double z) const |
|
MdcSWire * | getWire (int wire) const |
|
double | phiWireDC (int cell, double z) const |
|
double | phiWire (int cell) const |
|
double | xWire (int cell) const |
|
double | yWire (int cell) const |
|
double | dPhi (void) const |
|
double | cellWidth (void) const |
|
double | cellWidth (double z) const |
|
const Trajectory * | makeHitTrajInGlobalCoords (int wire, double z=0) const |
|
void | View (int v) |
|
void | setCellHeight (double height) |
|
| MdcLayer (int lay, int nwir, MdcSWire **wires, const MdcDetector &theDet) |
|
| ~MdcLayer () |
|
void | print (std::ostream &o) const |
|
bool | exist (void) const |
|
int | view (void) const |
|
int | layNum (void) const |
|
int | nWires (void) const |
|
int | superLayer (void) const |
|
int | subLayer (void) const |
|
double | cellHeight (void) const |
|
double | stDip (void) const |
|
double | zEnd (void) const |
|
double | rMid (void) const |
|
double | rEnd (void) const |
|
double | rIn (void) const |
|
double | rOut (void) const |
|
double | stereo (void) const |
|
double | dPhiz (void) const |
|
double | zLength (void) const |
|
double | sag (void) const |
|
double | phiOffset (void) const |
|
double | phiEPOffset (void) const |
|
double | dPhizDC (double z) const |
|
double | radiusDC (double z) const |
|
MdcSWire * | getWire (int wire) const |
|
double | phiWireDC (int cell, double z) const |
|
double | phiWire (int cell) const |
|
double | xWire (int cell) const |
|
double | yWire (int cell) const |
|
double | dPhi (void) const |
|
double | cellWidth (void) const |
|
double | cellWidth (double z) const |
|
const Trajectory * | makeHitTrajInGlobalCoords (int wire, double z=0) const |
|
void | View (int v) |
|
void | setCellHeight (double height) |
|
◆ MdcLayer() [1/2]
Definition at line 9 of file MdcLayer.cxx.
10 : _mdcDet(theDet), _exist(1), _layer(lay), _nwires(nwir),
11 _wires(wires)
12{
13 if (_nwires == 0) _exist = 0;
14
15 for (int wire=0; wire<_nwires; wire++) {
17
18 }
19
20
21 _rend = wires[0]->
rEnd();
22 _rmid = wires[0]->
rMid();
23 _stdip = _rend - _rmid;
24
25 _zend = wires[0]->
zEndDC();
26 _stereo = wires[0]->
stereo();
27
28 _delphi = wires[0]->
dPhiz();
29
30 if((_layer>=0 && _layer<=7)||(_layer>=20&&_layer<=35)){
31 _view = (int)(_stereo/(fabs(_stereo)));
32 } else {
33 _view = 0;
34 }
35 _phiOffset = wires[0]->
phiE();
36}
MdcSWire * getWire(int wire) const
double zEndDC(void) const
double stereo(void) const
void setLayerPtr(const MdcLayer *lay)
◆ ~MdcLayer() [1/2]
◆ MdcLayer() [2/2]
◆ ~MdcLayer() [2/2]
◆ cellHeight() [1/2]
double MdcLayer::cellHeight |
( |
void |
| ) |
const |
|
inline |
◆ cellHeight() [2/2]
double MdcLayer::cellHeight |
( |
void |
| ) |
const |
|
inline |
◆ cellWidth() [1/4]
double MdcLayer::cellWidth |
( |
double |
z | ) |
const |
|
inline |
◆ cellWidth() [2/4]
double MdcLayer::cellWidth |
( |
double |
z | ) |
const |
|
inline |
◆ cellWidth() [3/4]
double MdcLayer::cellWidth |
( |
void |
| ) |
const |
|
inline |
◆ cellWidth() [4/4]
double MdcLayer::cellWidth |
( |
void |
| ) |
const |
|
inline |
◆ dPhi() [1/2]
double MdcLayer::dPhi |
( |
void |
| ) |
const |
|
inline |
◆ dPhi() [2/2]
double MdcLayer::dPhi |
( |
void |
| ) |
const |
|
inline |
◆ dPhiz() [1/2]
double MdcLayer::dPhiz |
( |
void |
| ) |
const |
|
inline |
◆ dPhiz() [2/2]
double MdcLayer::dPhiz |
( |
void |
| ) |
const |
|
inline |
◆ dPhizDC() [1/2]
double MdcLayer::dPhizDC |
( |
double |
z | ) |
const |
|
inline |
◆ dPhizDC() [2/2]
double MdcLayer::dPhizDC |
( |
double |
z | ) |
const |
|
inline |
◆ exist() [1/2]
bool MdcLayer::exist |
( |
void |
| ) |
const |
|
inline |
◆ exist() [2/2]
bool MdcLayer::exist |
( |
void |
| ) |
const |
|
inline |
◆ getWire() [1/2]
MdcSWire * MdcLayer::getWire |
( |
int |
wire | ) |
const |
|
inline |
Definition at line 52 of file InstallArea/include/MdcGeom/MdcGeom/MdcLayer.h.
52{ return _wires[wire]; }
Referenced by MdcSegFinder::createSegs(), MdcxFindSegs::initWireGroups(), makeHitTrajInGlobalCoords(), MdcLayer(), phiWire(), phiWireDC(), radiusDC(), sag(), MdcDetector::Wire(), xWire(), yWire(), and zLength().
◆ getWire() [2/2]
MdcSWire * MdcLayer::getWire |
( |
int |
wire | ) |
const |
|
inline |
◆ layNum() [1/2]
int MdcLayer::layNum |
( |
void |
| ) |
const |
|
inline |
◆ layNum() [2/2]
int MdcLayer::layNum |
( |
void |
| ) |
const |
|
inline |
◆ makeHitTrajInGlobalCoords() [1/2]
const Trajectory * MdcLayer::makeHitTrajInGlobalCoords |
( |
int |
wire, |
|
|
double |
z = 0 |
|
) |
| const |
Definition at line 132 of file MdcLayer.cxx.
133{
134 if ( wire >= 0 && wire <
nWires() ) {
136 } else {
137 std::cout << "Error In makeHitTrajInGlobalCoords: wrong cell # "<< wire << "\n"
138 <<
" number of cells in this layer is " <<
nWires() << std::endl;
140 }
141}
const MdcSagTraj * getTraj(void) const
Referenced by MdcHit::hitTraj().
◆ makeHitTrajInGlobalCoords() [2/2]
const Trajectory * MdcLayer::makeHitTrajInGlobalCoords |
( |
int |
wire, |
|
|
double |
z = 0 |
|
) |
| const |
◆ nWires() [1/2]
int MdcLayer::nWires |
( |
void |
| ) |
const |
|
inline |
Definition at line 30 of file InstallArea/include/MdcGeom/MdcGeom/MdcLayer.h.
Referenced by MdcSegFinder::createSegs(), dPhi(), MdcTrkRecon::fillTrackList(), MdcxFindSegs::initWireGroups(), makeHitTrajInGlobalCoords(), phiWire(), phiWireDC(), MdcSegData::poisonHits(), print(), MdcxFindSegs::process(), xWire(), and yWire().
◆ nWires() [2/2]
int MdcLayer::nWires |
( |
void |
| ) |
const |
|
inline |
◆ phiEPOffset() [1/2]
double MdcLayer::phiEPOffset |
( |
void |
| ) |
const |
|
inline |
◆ phiEPOffset() [2/2]
double MdcLayer::phiEPOffset |
( |
void |
| ) |
const |
|
inline |
◆ phiOffset() [1/2]
double MdcLayer::phiOffset |
( |
void |
| ) |
const |
|
inline |
◆ phiOffset() [2/2]
double MdcLayer::phiOffset |
( |
void |
| ) |
const |
|
inline |
◆ phiWire() [1/2]
double MdcLayer::phiWire |
( |
int |
cell | ) |
const |
◆ phiWire() [2/2]
double MdcLayer::phiWire |
( |
int |
cell | ) |
const |
◆ phiWireDC() [1/2]
double MdcLayer::phiWireDC |
( |
int |
cell, |
|
|
double |
z |
|
) |
| const |
Definition at line 74 of file MdcLayer.cxx.
75{
76 if ( cell >= 0 && cell <
nWires() ) {
78 } else {
79 std::cout << "phiWireDC: wrong cell # " << cell << "\n"
80 <<
" number of cells in this layer is " <<
nWires()
81 << std::endl;
82 return 0.;
83 }
84}
double phiDC(double z) const
Referenced by dPhizDC(), and print().
◆ phiWireDC() [2/2]
double MdcLayer::phiWireDC |
( |
int |
cell, |
|
|
double |
z |
|
) |
| const |
◆ print() [1/2]
void MdcLayer::print |
( |
std::ostream & |
o | ) |
const |
Definition at line 41 of file MdcLayer.cxx.
42{
69 std::endl;
70}
double yWire(int cell) const
double phiOffset(void) const
double zLength(void) const
double phiEPOffset(void) const
double cellWidth(void) const
double dPhizDC(double z) const
int superLayer(void) const
double xWire(int cell) const
◆ print() [2/2]
void MdcLayer::print |
( |
std::ostream & |
o | ) |
const |
◆ radiusDC() [1/2]
double MdcLayer::radiusDC |
( |
double |
z | ) |
const |
|
inline |
◆ radiusDC() [2/2]
double MdcLayer::radiusDC |
( |
double |
z | ) |
const |
|
inline |
◆ rEnd() [1/2]
double MdcLayer::rEnd |
( |
void |
| ) |
const |
|
inline |
◆ rEnd() [2/2]
double MdcLayer::rEnd |
( |
void |
| ) |
const |
|
inline |
◆ rIn() [1/2]
double MdcLayer::rIn |
( |
void |
| ) |
const |
|
inline |
◆ rIn() [2/2]
double MdcLayer::rIn |
( |
void |
| ) |
const |
|
inline |
◆ rMid() [1/2]
double MdcLayer::rMid |
( |
void |
| ) |
const |
|
inline |
◆ rMid() [2/2]
double MdcLayer::rMid |
( |
void |
| ) |
const |
|
inline |
◆ rOut() [1/2]
double MdcLayer::rOut |
( |
void |
| ) |
const |
|
inline |
◆ rOut() [2/2]
double MdcLayer::rOut |
( |
void |
| ) |
const |
|
inline |
◆ sag() [1/2]
double MdcLayer::sag |
( |
void |
| ) |
const |
|
inline |
◆ sag() [2/2]
double MdcLayer::sag |
( |
void |
| ) |
const |
|
inline |
◆ setCellHeight() [1/2]
void MdcLayer::setCellHeight |
( |
double |
height | ) |
|
|
inline |
◆ setCellHeight() [2/2]
void MdcLayer::setCellHeight |
( |
double |
height | ) |
|
|
inline |
◆ stDip() [1/2]
double MdcLayer::stDip |
( |
void |
| ) |
const |
|
inline |
◆ stDip() [2/2]
double MdcLayer::stDip |
( |
void |
| ) |
const |
|
inline |
◆ stereo() [1/2]
double MdcLayer::stereo |
( |
void |
| ) |
const |
|
inline |
◆ stereo() [2/2]
double MdcLayer::stereo |
( |
void |
| ) |
const |
|
inline |
◆ subLayer() [1/2]
int MdcLayer::subLayer |
( |
void |
| ) |
const |
|
inline |
◆ subLayer() [2/2]
int MdcLayer::subLayer |
( |
void |
| ) |
const |
|
inline |
◆ superLayer() [1/2]
int MdcLayer::superLayer |
( |
void |
| ) |
const |
|
inline |
◆ superLayer() [2/2]
int MdcLayer::superLayer |
( |
void |
| ) |
const |
|
inline |
◆ View() [1/2]
void MdcLayer::View |
( |
int |
v | ) |
|
|
inline |
Definition at line 76 of file InstallArea/include/MdcGeom/MdcGeom/MdcLayer.h.
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
◆ View() [2/2]
void MdcLayer::View |
( |
int |
v | ) |
|
|
inline |
◆ view() [1/2]
int MdcLayer::view |
( |
void |
| ) |
const |
|
inline |
◆ view() [2/2]
int MdcLayer::view |
( |
void |
| ) |
const |
|
inline |
◆ xWire() [1/2]
double MdcLayer::xWire |
( |
int |
cell | ) |
const |
Definition at line 101 of file MdcLayer.cxx.
102{
103
104 if ( cell >= 0 && cell <
nWires() ) {
106 } else {
107 std::cout << "xWire: wrong cell # " << cell << "\n"
108 <<
" number of cells in this layer is " <<
nWires()
109 << std::endl;
110 return 0.;
111 }
112}
Referenced by print(), and MdcxHit::process().
◆ xWire() [2/2]
double MdcLayer::xWire |
( |
int |
cell | ) |
const |
◆ yWire() [1/2]
double MdcLayer::yWire |
( |
int |
cell | ) |
const |
Definition at line 115 of file MdcLayer.cxx.
116{
117
118 if ( cell >= 0 && cell <
nWires() ) {
120 } else {
121 std::cout << "YWire: wrong cell # " << cell << "\n"
122 <<
" number of cells in this layer is " <<
nWires()
123 << std::endl;
124 return 0.;
125 }
126}
Referenced by print(), and MdcxHit::process().
◆ yWire() [2/2]
double MdcLayer::yWire |
( |
int |
cell | ) |
const |
◆ zEnd() [1/2]
double MdcLayer::zEnd |
( |
void |
| ) |
const |
|
inline |
◆ zEnd() [2/2]
double MdcLayer::zEnd |
( |
void |
| ) |
const |
|
inline |
◆ zLength() [1/2]
double MdcLayer::zLength |
( |
void |
| ) |
const |
|
inline |
◆ zLength() [2/2]
double MdcLayer::zLength |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: