BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcLayer Class Reference

#include <MdcLayer.h>

Public Member Functions

 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
MdcSWiregetWire (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 TrajectorymakeHitTrajInGlobalCoords (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
MdcSWiregetWire (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 TrajectorymakeHitTrajInGlobalCoords (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
MdcSWiregetWire (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 TrajectorymakeHitTrajInGlobalCoords (int wire, double z=0) const
void View (int v)
void setCellHeight (double height)

Detailed Description

Constructor & Destructor Documentation

◆ MdcLayer() [1/3]

MdcLayer::MdcLayer ( int lay,
int nwir,
MdcSWire ** wires,
const MdcDetector & theDet )

Definition at line 9 of file MdcLayer.cxx.

10 : _mdcDet( theDet ), _exist( 1 ), _layer( lay ), _nwires( nwir ), _wires( wires ) {
11 if ( _nwires == 0 ) _exist = 0;
12 // set pointer to layer for wires
13 for ( int wire = 0; wire < _nwires; wire++ )
14 {
15 getWire( wire )->setLayerPtr( this );
16 // _cells.push_back(buildCell(wire));
17 }
18
19 // get nominal values from wire # 0
20 _rend = wires[0]->rEnd();
21 _rmid = wires[0]->rMid();
22 _stdip = _rend - _rmid;
23 // in the local (DC) system frame
24 _zend = wires[0]->zEndDC();
25 _stereo = wires[0]->stereo();
26 // half twist angle
27 _delphi = wires[0]->dPhiz();
28 // stereo view
29 if ( ( _layer >= 0 && _layer <= 7 ) || ( _layer >= 20 && _layer <= 35 ) )
30 { _view = (int)( _stereo / ( fabs( _stereo ) ) ); }
31 else { _view = 0; }
32 _phiOffset = wires[0]->phiE();
33}

◆ ~MdcLayer() [1/3]

MdcLayer::~MdcLayer ( )
inline

◆ MdcLayer() [2/3]

MdcLayer::MdcLayer ( int lay,
int nwir,
MdcSWire ** wires,
const MdcDetector & theDet )

◆ ~MdcLayer() [2/3]

MdcLayer::~MdcLayer ( )
inline

◆ MdcLayer() [3/3]

MdcLayer::MdcLayer ( int lay,
int nwir,
MdcSWire ** wires,
const MdcDetector & theDet )

◆ ~MdcLayer() [3/3]

MdcLayer::~MdcLayer ( )
inline

Member Function Documentation

◆ cellHeight() [1/3]

double MdcLayer::cellHeight ( void ) const
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

33{ return _cellHeight; }

Referenced by rIn(), and rOut().

◆ cellHeight() [2/3]

double MdcLayer::cellHeight ( void ) const
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

33{ return _cellHeight; }

◆ cellHeight() [3/3]

double MdcLayer::cellHeight ( void ) const
inline

Definition at line 33 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

33{ return _cellHeight; }

◆ cellWidth() [1/6]

double MdcLayer::cellWidth ( double z) const
inline

◆ cellWidth() [2/6]

double MdcLayer::cellWidth ( double z) const
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

66{ return dPhi() * radiusDC( z ) * cos( stereo() ); }

◆ cellWidth() [3/6]

double MdcLayer::cellWidth ( double z) const
inline

Definition at line 66 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

66{ return dPhi() * radiusDC( z ) * cos( stereo() ); }

◆ cellWidth() [4/6]

double MdcLayer::cellWidth ( void ) const
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

64{ return dPhi() * rMid() * cos( stereo() ); }

Referenced by print().

◆ cellWidth() [5/6]

double MdcLayer::cellWidth ( void ) const
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

64{ return dPhi() * rMid() * cos( stereo() ); }

◆ cellWidth() [6/6]

double MdcLayer::cellWidth ( void ) const
inline

Definition at line 64 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

64{ return dPhi() * rMid() * cos( stereo() ); }

◆ dPhi() [1/3]

double MdcLayer::dPhi ( void ) const
inline

◆ dPhi() [2/3]

double MdcLayer::dPhi ( void ) const
inline

◆ dPhi() [3/3]

double MdcLayer::dPhi ( void ) const
inline

◆ dPhiz() [1/3]

double MdcLayer::dPhiz ( void ) const
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

43{ return _delphi; }

Referenced by print().

◆ dPhiz() [2/3]

double MdcLayer::dPhiz ( void ) const
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

43{ return _delphi; }

◆ dPhiz() [3/3]

double MdcLayer::dPhiz ( void ) const
inline

Definition at line 43 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

43{ return _delphi; }

◆ dPhizDC() [1/3]

double MdcLayer::dPhizDC ( double z) const
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

50{ return phiWireDC( 0, z ); }
double phiWireDC(int cell, double z) const
Definition MdcLayer.cxx:47

Referenced by print().

◆ dPhizDC() [2/3]

double MdcLayer::dPhizDC ( double z) const
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

50{ return phiWireDC( 0, z ); }

◆ dPhizDC() [3/3]

double MdcLayer::dPhizDC ( double z) const
inline

Definition at line 50 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

50{ return phiWireDC( 0, z ); }

◆ exist() [1/3]

bool MdcLayer::exist ( void ) const
inline

Definition at line 27 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

27{ return _exist; }

◆ exist() [2/3]

bool MdcLayer::exist ( void ) const
inline

Definition at line 27 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

27{ return _exist; }

◆ exist() [3/3]

bool MdcLayer::exist ( void ) const
inline

Definition at line 27 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

27{ return _exist; }

◆ getWire() [1/3]

◆ getWire() [2/3]

MdcSWire * MdcLayer::getWire ( int wire) const
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

52{ return _wires[wire]; }

◆ getWire() [3/3]

MdcSWire * MdcLayer::getWire ( int wire) const
inline

Definition at line 52 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

52{ return _wires[wire]; }

◆ layNum() [1/3]

int MdcLayer::layNum ( void ) const
inline

◆ layNum() [2/3]

int MdcLayer::layNum ( void ) const
inline

Definition at line 29 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

29{ return _layer; }

◆ layNum() [3/3]

int MdcLayer::layNum ( void ) const
inline

Definition at line 29 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

29{ return _layer; }

◆ makeHitTrajInGlobalCoords() [1/3]

const Trajectory * MdcLayer::makeHitTrajInGlobalCoords ( int wire,
double z = 0 ) const

Definition at line 90 of file MdcLayer.cxx.

90 {
91 if ( wire >= 0 && wire < nWires() ) { return getWire( wire )->getTraj(); }
92 else
93 {
94 std::cout << "Error In makeHitTrajInGlobalCoords: wrong cell # " << wire << "\n"
95 << " number of cells in this layer is " << nWires() << std::endl;
96 return getWire( 0 )->getTraj();
97 }
98}

Referenced by MdcHit::hitTraj().

◆ makeHitTrajInGlobalCoords() [2/3]

const Trajectory * MdcLayer::makeHitTrajInGlobalCoords ( int wire,
double z = 0 ) const

◆ makeHitTrajInGlobalCoords() [3/3]

const Trajectory * MdcLayer::makeHitTrajInGlobalCoords ( int wire,
double z = 0 ) const

◆ nWires() [1/3]

◆ nWires() [2/3]

int MdcLayer::nWires ( void ) const
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

30{ return _nwires; }

◆ nWires() [3/3]

int MdcLayer::nWires ( void ) const
inline

Definition at line 30 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

30{ return _nwires; }

◆ phiEPOffset() [1/3]

double MdcLayer::phiEPOffset ( void ) const
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

49{ return _phiOffset; }

Referenced by print().

◆ phiEPOffset() [2/3]

double MdcLayer::phiEPOffset ( void ) const
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

49{ return _phiOffset; }

◆ phiEPOffset() [3/3]

double MdcLayer::phiEPOffset ( void ) const
inline

Definition at line 49 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

49{ return _phiOffset; }

◆ phiOffset() [1/3]

double MdcLayer::phiOffset ( void ) const
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

47{ return phiWire( 0 ); }
double phiWire(int cell) const
Definition MdcLayer.cxx:57

Referenced by print(), and MdcxHit::process().

◆ phiOffset() [2/3]

double MdcLayer::phiOffset ( void ) const
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

47{ return phiWire( 0 ); }

◆ phiOffset() [3/3]

double MdcLayer::phiOffset ( void ) const
inline

Definition at line 47 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

47{ return phiWire( 0 ); }

◆ phiWire() [1/3]

double MdcLayer::phiWire ( int cell) const

Definition at line 57 of file MdcLayer.cxx.

57 {
58 // in the middle of the chamber
59 if ( cell >= 0 && cell < nWires() ) { return getWire( cell )->phi(); }
60 else
61 {
62 std::cout << "phiWire: wrong cell # " << cell << "\n"
63 << " number of cells in this layer is " << nWires() << std::endl;
64 return 0.;
65 }
66}

Referenced by phiOffset(), and print().

◆ phiWire() [2/3]

double MdcLayer::phiWire ( int cell) const

◆ phiWire() [3/3]

double MdcLayer::phiWire ( int cell) const

◆ phiWireDC() [1/3]

double MdcLayer::phiWireDC ( int cell,
double z ) const

Definition at line 47 of file MdcLayer.cxx.

47 {
48 if ( cell >= 0 && cell < nWires() ) { return getWire( cell )->phiDC( z ); }
49 else
50 {
51 std::cout << "phiWireDC: wrong cell # " << cell << "\n"
52 << " number of cells in this layer is " << nWires() << std::endl;
53 return 0.;
54 }
55}

Referenced by dPhizDC(), and print().

◆ phiWireDC() [2/3]

double MdcLayer::phiWireDC ( int cell,
double z ) const

◆ phiWireDC() [3/3]

double MdcLayer::phiWireDC ( int cell,
double z ) const

◆ print() [1/3]

void MdcLayer::print ( std::ostream & o) const

Definition at line 35 of file MdcLayer.cxx.

35 {
36 o << setw( 3 ) << layNum() << setw( 3 ) << view() << setw( 4 ) << nWires() << setw( 3 )
37 << superLayer() << setw( 3 ) << subLayer() << setw( 10 ) << stDip() << setw( 10 ) << zEnd()
38 << setw( 10 ) << rMid() << setw( 10 ) << rEnd() << setw( 10 ) << rIn() << setw( 10 )
39 << rOut() << setw( 10 ) << stereo() << setw( 10 ) << dPhiz() << setw( 7 ) << zLength()
40 << setw( 10 ) << sag() << setw( 10 ) << dPhi() << setw( 10 ) << phiOffset() << setw( 10 )
41 << phiEPOffset() << setw( 10 ) << dPhizDC( 0. ) << setw( 10 ) << radiusDC( 0. )
42 << setw( 10 ) << phiWireDC( 0, 0. ) << setw( 10 ) << phiWire( 0 ) << setw( 10 )
43 << xWire( 0 ) << setw( 10 ) << yWire( 0 ) << setw( 10 ) << cellWidth() << setw( 10 )
44 << cellWidth( 0. ) << std::endl;
45}
double yWire(int cell) const
Definition MdcLayer.cxx:79
double xWire(int cell) const
Definition MdcLayer.cxx:68

◆ print() [2/3]

void MdcLayer::print ( std::ostream & o) const

◆ print() [3/3]

void MdcLayer::print ( std::ostream & o) const

◆ radiusDC() [1/3]

double MdcLayer::radiusDC ( double z) const
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

51{ return getWire( 0 )->radiusDC( z ); }

Referenced by cellWidth(), and print().

◆ radiusDC() [2/3]

double MdcLayer::radiusDC ( double z) const
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

51{ return getWire( 0 )->radiusDC( z ); }

◆ radiusDC() [3/3]

double MdcLayer::radiusDC ( double z) const
inline

Definition at line 51 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

51{ return getWire( 0 )->radiusDC( z ); }

◆ rEnd() [1/3]

double MdcLayer::rEnd ( void ) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

37{ return _rend; }

Referenced by MdcTrackList::pickHits(), and print().

◆ rEnd() [2/3]

double MdcLayer::rEnd ( void ) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

37{ return _rend; }

◆ rEnd() [3/3]

double MdcLayer::rEnd ( void ) const
inline

Definition at line 37 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

37{ return _rend; }

◆ rIn() [1/3]

double MdcLayer::rIn ( void ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

38{ return rMid() - 0.5 * cellHeight(); } // yzhang del

Referenced by MdcTrackList::pickHits(), and print().

◆ rIn() [2/3]

double MdcLayer::rIn ( void ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

38{ return rMid() - 0.5 * cellHeight(); } // yzhang del

◆ rIn() [3/3]

double MdcLayer::rIn ( void ) const
inline

Definition at line 38 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

38{ return rMid() - 0.5 * cellHeight(); } // yzhang del

◆ rMid() [1/3]

double MdcLayer::rMid ( void ) const
inline

◆ rMid() [2/3]

double MdcLayer::rMid ( void ) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

36{ return _rmid; }

◆ rMid() [3/3]

double MdcLayer::rMid ( void ) const
inline

Definition at line 36 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

36{ return _rmid; }

◆ rOut() [1/3]

double MdcLayer::rOut ( void ) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

39{ return rMid() + 0.5 * cellHeight(); } // yzhang del

Referenced by MdcTrackList::pickHits(), and print().

◆ rOut() [2/3]

double MdcLayer::rOut ( void ) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

39{ return rMid() + 0.5 * cellHeight(); } // yzhang del

◆ rOut() [3/3]

double MdcLayer::rOut ( void ) const
inline

Definition at line 39 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

39{ return rMid() + 0.5 * cellHeight(); } // yzhang del

◆ sag() [1/3]

double MdcLayer::sag ( void ) const
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

45{ return getWire( 0 )->getSag(); }

Referenced by print().

◆ sag() [2/3]

double MdcLayer::sag ( void ) const
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

45{ return getWire( 0 )->getSag(); }

◆ sag() [3/3]

double MdcLayer::sag ( void ) const
inline

Definition at line 45 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

45{ return getWire( 0 )->getSag(); }

◆ setCellHeight() [1/3]

void MdcLayer::setCellHeight ( double height)
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

74{ _cellHeight = height; }

◆ setCellHeight() [2/3]

void MdcLayer::setCellHeight ( double height)
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

74{ _cellHeight = height; }

◆ setCellHeight() [3/3]

void MdcLayer::setCellHeight ( double height)
inline

Definition at line 74 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

74{ _cellHeight = height; }

◆ stDip() [1/3]

double MdcLayer::stDip ( void ) const
inline

Definition at line 34 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

34{ return _stdip; }

Referenced by print(), and MdcSuperLayer::stDip().

◆ stDip() [2/3]

double MdcLayer::stDip ( void ) const
inline

Definition at line 34 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

34{ return _stdip; }

◆ stDip() [3/3]

double MdcLayer::stDip ( void ) const
inline

Definition at line 34 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

34{ return _stdip; }

◆ stereo() [1/3]

double MdcLayer::stereo ( void ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

42{ return _stereo; }

Referenced by cellWidth(), cellWidth(), print(), and MdcxHit::process().

◆ stereo() [2/3]

double MdcLayer::stereo ( void ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

42{ return _stereo; }

◆ stereo() [3/3]

double MdcLayer::stereo ( void ) const
inline

Definition at line 42 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

42{ return _stereo; }

◆ subLayer() [1/3]

int MdcLayer::subLayer ( void ) const
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

32{ return layNum() - 4 * ( superLayer() - 1 ); }

Referenced by print().

◆ subLayer() [2/3]

int MdcLayer::subLayer ( void ) const
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

32{ return layNum() - 4 * ( superLayer() - 1 ); }

◆ subLayer() [3/3]

int MdcLayer::subLayer ( void ) const
inline

Definition at line 32 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

32{ return layNum() - 4 * ( superLayer() - 1 ); }

◆ superLayer() [1/3]

int MdcLayer::superLayer ( void ) const
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

31{ return 1 + ( ( layNum() - 1 ) / 4 ); }

Referenced by print(), and subLayer().

◆ superLayer() [2/3]

int MdcLayer::superLayer ( void ) const
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

31{ return 1 + ( ( layNum() - 1 ) / 4 ); }

◆ superLayer() [3/3]

int MdcLayer::superLayer ( void ) const
inline

Definition at line 31 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

31{ return 1 + ( ( layNum() - 1 ) / 4 ); }

◆ View() [1/3]

void MdcLayer::View ( int v)
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

73{ _view = v; }
**********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
Definition KarLud.h:35

◆ View() [2/3]

void MdcLayer::View ( int v)
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

73{ _view = v; }

◆ View() [3/3]

void MdcLayer::View ( int v)
inline

Definition at line 73 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

73{ _view = v; }

◆ view() [1/3]

int MdcLayer::view ( void ) const
inline

◆ view() [2/3]

int MdcLayer::view ( void ) const
inline

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

28{ return _view; }

◆ view() [3/3]

int MdcLayer::view ( void ) const
inline

Definition at line 28 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

28{ return _view; }

◆ xWire() [1/3]

double MdcLayer::xWire ( int cell) const

Definition at line 68 of file MdcLayer.cxx.

68 {
69 // in the middle of the chamber
70 if ( cell >= 0 && cell < nWires() ) { return getWire( cell )->xMid(); }
71 else
72 {
73 std::cout << "xWire: wrong cell # " << cell << "\n"
74 << " number of cells in this layer is " << nWires() << std::endl;
75 return 0.;
76 }
77}

Referenced by print(), and MdcxHit::process().

◆ xWire() [2/3]

double MdcLayer::xWire ( int cell) const

◆ xWire() [3/3]

double MdcLayer::xWire ( int cell) const

◆ yWire() [1/3]

double MdcLayer::yWire ( int cell) const

Definition at line 79 of file MdcLayer.cxx.

79 {
80 // in the middle of the chamber
81 if ( cell >= 0 && cell < nWires() ) { return getWire( cell )->yMid(); }
82 else
83 {
84 std::cout << "YWire: wrong cell # " << cell << "\n"
85 << " number of cells in this layer is " << nWires() << std::endl;
86 return 0.;
87 }
88}

Referenced by print(), and MdcxHit::process().

◆ yWire() [2/3]

double MdcLayer::yWire ( int cell) const

◆ yWire() [3/3]

double MdcLayer::yWire ( int cell) const

◆ zEnd() [1/3]

double MdcLayer::zEnd ( void ) const
inline

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcLayer.h.

35{ return _zend; }

Referenced by print(), and MdcSuperLayer::zEnd().

◆ zEnd() [2/3]

double MdcLayer::zEnd ( void ) const
inline

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

35{ return _zend; }

◆ zEnd() [3/3]

double MdcLayer::zEnd ( void ) const
inline

Definition at line 35 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

35{ return _zend; }

◆ zLength() [1/3]

double MdcLayer::zLength ( void ) const
inline

◆ zLength() [2/3]

double MdcLayer::zLength ( void ) const
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcLayer.h.

44{ return getWire( 0 )->zLength(); }

◆ zLength() [3/3]

double MdcLayer::zLength ( void ) const
inline

Definition at line 44 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcLayer.h.

44{ return getWire( 0 )->zLength(); }

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