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

#include <MdcSuperLayer.h>

Public Member Functions

 MdcSuperLayer (int number)
 ~MdcSuperLayer ()
int index (void) const
int whichView (void) const
bool exist (void) const
double rEnd (void) const
double rad0 (void) const
double zEnd (void) const
double stDip (void) const
double delPhi (void) const
double delPhiinv (void) const
const MdcLayerfirstLayer (void) const
const MdcLayerlastLayer (void) const
const MdcSuperLayernext (void) const
const MdcSuperLayerprev (void) const
const MdcSuperLayernextInView (void) const
const MdcSuperLayerprevInView (void) const
int slayNum (void) const
int nLayers (void) const
const MdcLayerlayer (int i) const
void setNextInView (MdcSuperLayer *sl)
void setPrevInView (MdcSuperLayer *sl)
void print (std::ostream &o=std::cout) const
 MdcSuperLayer (int number)
 ~MdcSuperLayer ()
int index (void) const
int whichView (void) const
bool exist (void) const
double rEnd (void) const
double rad0 (void) const
double zEnd (void) const
double stDip (void) const
double delPhi (void) const
double delPhiinv (void) const
const MdcLayerfirstLayer (void) const
const MdcLayerlastLayer (void) const
const MdcSuperLayernext (void) const
const MdcSuperLayerprev (void) const
const MdcSuperLayernextInView (void) const
const MdcSuperLayerprevInView (void) const
int slayNum (void) const
int nLayers (void) const
const MdcLayerlayer (int i) const
void setNextInView (MdcSuperLayer *sl)
void setPrevInView (MdcSuperLayer *sl)
void print (std::ostream &o=std::cout) const
 MdcSuperLayer (int number)
 ~MdcSuperLayer ()
int index (void) const
int whichView (void) const
bool exist (void) const
double rEnd (void) const
double rad0 (void) const
double zEnd (void) const
double stDip (void) const
double delPhi (void) const
double delPhiinv (void) const
const MdcLayerfirstLayer (void) const
const MdcLayerlastLayer (void) const
const MdcSuperLayernext (void) const
const MdcSuperLayerprev (void) const
const MdcSuperLayernextInView (void) const
const MdcSuperLayerprevInView (void) const
int slayNum (void) const
int nLayers (void) const
const MdcLayerlayer (int i) const
void setNextInView (MdcSuperLayer *sl)
void setPrevInView (MdcSuperLayer *sl)
void print (std::ostream &o=std::cout) const

Friends

class MdcDetector

Detailed Description

Constructor & Destructor Documentation

◆ MdcSuperLayer() [1/3]

MdcSuperLayer::MdcSuperLayer ( int number)

Definition at line 62 of file MdcSuperLayer.cxx.

62 {
63 _radius = _delphi = _delphiinv = 0;
64 layers[0] = layers[1] = layers[2] = layers[3] = 0;
65 _nLayers = 0;
66 _view = 0;
67 _next = _prev = _nextInView = _prevInView = 0;
68 _exist = false;
69 _slayer = number;
70}

Referenced by MdcDetector, next(), nextInView(), prev(), prevInView(), print(), setNextInView(), and setPrevInView().

◆ ~MdcSuperLayer() [1/3]

MdcSuperLayer::~MdcSuperLayer ( )

Definition at line 75 of file MdcSuperLayer.cxx.

75 {
76 // delete [] layers;
77}

◆ MdcSuperLayer() [2/3]

MdcSuperLayer::MdcSuperLayer ( int number)

◆ ~MdcSuperLayer() [2/3]

MdcSuperLayer::~MdcSuperLayer ( )

◆ MdcSuperLayer() [3/3]

MdcSuperLayer::MdcSuperLayer ( int number)

◆ ~MdcSuperLayer() [3/3]

MdcSuperLayer::~MdcSuperLayer ( )

Member Function Documentation

◆ delPhi() [1/3]

double MdcSuperLayer::delPhi ( void ) const
inline

◆ delPhi() [2/3]

double MdcSuperLayer::delPhi ( void ) const
inline

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

26{ return _delphi; }

◆ delPhi() [3/3]

double MdcSuperLayer::delPhi ( void ) const
inline

Definition at line 26 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

26{ return _delphi; }

◆ delPhiinv() [1/3]

double MdcSuperLayer::delPhiinv ( void ) const
inline

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

27{ return _delphiinv; }

Referenced by MdcSegInfoSterO::calcStereo().

◆ delPhiinv() [2/3]

double MdcSuperLayer::delPhiinv ( void ) const
inline

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

27{ return _delphiinv; }

◆ delPhiinv() [3/3]

double MdcSuperLayer::delPhiinv ( void ) const
inline

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

27{ return _delphiinv; }

◆ exist() [1/3]

bool MdcSuperLayer::exist ( void ) const
inline

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

21{ return _exist; }

◆ exist() [2/3]

bool MdcSuperLayer::exist ( void ) const
inline

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

21{ return _exist; }

◆ exist() [3/3]

bool MdcSuperLayer::exist ( void ) const
inline

Definition at line 21 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

21{ return _exist; }

◆ firstLayer() [1/3]

const MdcLayer * MdcSuperLayer::firstLayer ( void ) const
inline

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

33{ return layers[0]; }

Referenced by rad0(), stDip(), and zEnd().

◆ firstLayer() [2/3]

const MdcLayer * MdcSuperLayer::firstLayer ( void ) const
inline

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

33{ return layers[0]; }

◆ firstLayer() [3/3]

const MdcLayer * MdcSuperLayer::firstLayer ( void ) const
inline

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

33{ return layers[0]; }

◆ index() [1/3]

int MdcSuperLayer::index ( void ) const
inline

◆ index() [2/3]

int MdcSuperLayer::index ( void ) const
inline

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

19{ return _slayer; }

◆ index() [3/3]

int MdcSuperLayer::index ( void ) const
inline

Definition at line 19 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

19{ return _slayer; }

◆ lastLayer() [1/3]

const MdcLayer * MdcSuperLayer::lastLayer ( void ) const
inline

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

34{ return layers[_nLayers - 1]; }

Referenced by rad0(), stDip(), and zEnd().

◆ lastLayer() [2/3]

const MdcLayer * MdcSuperLayer::lastLayer ( void ) const
inline

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

34{ return layers[_nLayers - 1]; }

◆ lastLayer() [3/3]

const MdcLayer * MdcSuperLayer::lastLayer ( void ) const
inline

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

34{ return layers[_nLayers - 1]; }

◆ layer() [1/3]

const MdcLayer * MdcSuperLayer::layer ( int i) const
inline

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

41 { /*yzhang SKIP assert ( i>=0 && i < nLayer() ) ;*/
42 // const MdcLayer* layer(int i) const { assert ( i>=0 && i < _nLayers ) ;
43 return layers[i];
44 }

Referenced by MdcSegFinder::createSegs(), MdcxFindSegs::initWireGroups(), and MdcxFindSegs::process().

◆ layer() [2/3]

const MdcLayer * MdcSuperLayer::layer ( int i) const
inline

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

41 { /*yzhang SKIP assert ( i>=0 && i < nLayer() ) ;*/
42 // const MdcLayer* layer(int i) const { assert ( i>=0 && i < _nLayers ) ;
43 return layers[i];
44 }

◆ layer() [3/3]

const MdcLayer * MdcSuperLayer::layer ( int i) const
inline

Definition at line 41 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

41 { /*yzhang SKIP assert ( i>=0 && i < nLayer() ) ;*/
42 // const MdcLayer* layer(int i) const { assert ( i>=0 && i < _nLayers ) ;
43 return layers[i];
44 }

◆ next() [1/3]

const MdcSuperLayer * MdcSuperLayer::next ( void ) const
inline

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

35{ return _next; }

Referenced by MdcSegFinder::createSegs(), MdcDetector, and print().

◆ next() [2/3]

const MdcSuperLayer * MdcSuperLayer::next ( void ) const
inline

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

35{ return _next; }

◆ next() [3/3]

const MdcSuperLayer * MdcSuperLayer::next ( void ) const
inline

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

35{ return _next; }

◆ nextInView() [1/3]

const MdcSuperLayer * MdcSuperLayer::nextInView ( void ) const
inline

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

37{ return _nextInView; }

◆ nextInView() [2/3]

const MdcSuperLayer * MdcSuperLayer::nextInView ( void ) const
inline

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

37{ return _nextInView; }

◆ nextInView() [3/3]

const MdcSuperLayer * MdcSuperLayer::nextInView ( void ) const
inline

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

37{ return _nextInView; }

◆ nLayers() [1/3]

int MdcSuperLayer::nLayers ( void ) const
inline

◆ nLayers() [2/3]

int MdcSuperLayer::nLayers ( void ) const
inline

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

40{ return _nLayers; }

◆ nLayers() [3/3]

int MdcSuperLayer::nLayers ( void ) const
inline

Definition at line 40 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

40{ return _nLayers; }

◆ prev() [1/3]

const MdcSuperLayer * MdcSuperLayer::prev ( void ) const
inline

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

36{ return _prev; }

Referenced by MdcDetector, and print().

◆ prev() [2/3]

const MdcSuperLayer * MdcSuperLayer::prev ( void ) const
inline

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

36{ return _prev; }

◆ prev() [3/3]

const MdcSuperLayer * MdcSuperLayer::prev ( void ) const
inline

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

36{ return _prev; }

◆ prevInView() [1/3]

const MdcSuperLayer * MdcSuperLayer::prevInView ( void ) const
inline

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

38{ return _prevInView; }

◆ prevInView() [2/3]

const MdcSuperLayer * MdcSuperLayer::prevInView ( void ) const
inline

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

38{ return _prevInView; }

◆ prevInView() [3/3]

const MdcSuperLayer * MdcSuperLayer::prevInView ( void ) const
inline

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

38{ return _prevInView; }

◆ print() [1/3]

void MdcSuperLayer::print ( std::ostream & o = std::cout) const

Referenced by operator<<().

◆ print() [2/3]

void MdcSuperLayer::print ( std::ostream & o = std::cout) const

◆ print() [3/3]

void MdcSuperLayer::print ( std::ostream & o = std::cout) const

◆ rad0() [1/3]

double MdcSuperLayer::rad0 ( void ) const
inline

◆ rad0() [2/3]

double MdcSuperLayer::rad0 ( void ) const
inline

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

23{ return 0.5 * ( firstLayer()->rMid() + lastLayer()->rMid() ); }

◆ rad0() [3/3]

double MdcSuperLayer::rad0 ( void ) const
inline

Definition at line 23 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

23{ return 0.5 * ( firstLayer()->rMid() + lastLayer()->rMid() ); }

◆ rEnd() [1/3]

double MdcSuperLayer::rEnd ( void ) const
inline

◆ rEnd() [2/3]

double MdcSuperLayer::rEnd ( void ) const
inline

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

22{ return _radius; }

◆ rEnd() [3/3]

double MdcSuperLayer::rEnd ( void ) const
inline

Definition at line 22 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

22{ return _radius; }

◆ setNextInView() [1/3]

void MdcSuperLayer::setNextInView ( MdcSuperLayer * sl)
inline

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

45{ _nextInView = sl; }

◆ setNextInView() [2/3]

void MdcSuperLayer::setNextInView ( MdcSuperLayer * sl)
inline

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

45{ _nextInView = sl; }

◆ setNextInView() [3/3]

void MdcSuperLayer::setNextInView ( MdcSuperLayer * sl)
inline

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

45{ _nextInView = sl; }

◆ setPrevInView() [1/3]

void MdcSuperLayer::setPrevInView ( MdcSuperLayer * sl)
inline

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

46{ _prevInView = sl; }

◆ setPrevInView() [2/3]

void MdcSuperLayer::setPrevInView ( MdcSuperLayer * sl)
inline

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

46{ _prevInView = sl; }

◆ setPrevInView() [3/3]

void MdcSuperLayer::setPrevInView ( MdcSuperLayer * sl)
inline

Definition at line 46 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

46{ _prevInView = sl; }

◆ slayNum() [1/3]

int MdcSuperLayer::slayNum ( void ) const
inline

◆ slayNum() [2/3]

int MdcSuperLayer::slayNum ( void ) const
inline

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

39{ return _slayer; }

◆ slayNum() [3/3]

int MdcSuperLayer::slayNum ( void ) const
inline

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

39{ return _slayer; }

◆ stDip() [1/3]

double MdcSuperLayer::stDip ( void ) const
inline

◆ stDip() [2/3]

double MdcSuperLayer::stDip ( void ) const
inline

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

25{ return 0.5 * ( firstLayer()->stDip() + lastLayer()->stDip() ); }

◆ stDip() [3/3]

double MdcSuperLayer::stDip ( void ) const
inline

Definition at line 25 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

25{ return 0.5 * ( firstLayer()->stDip() + lastLayer()->stDip() ); }

◆ whichView() [1/3]

int MdcSuperLayer::whichView ( void ) const
inline

◆ whichView() [2/3]

int MdcSuperLayer::whichView ( void ) const
inline

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

20{ return _view; }

◆ whichView() [3/3]

int MdcSuperLayer::whichView ( void ) const
inline

Definition at line 20 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

20{ return _view; }

◆ zEnd() [1/3]

double MdcSuperLayer::zEnd ( void ) const
inline

◆ zEnd() [2/3]

double MdcSuperLayer::zEnd ( void ) const
inline

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

24{ return 0.5 * ( firstLayer()->zEnd() + lastLayer()->zEnd() ); }

◆ zEnd() [3/3]

double MdcSuperLayer::zEnd ( void ) const
inline

Definition at line 24 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcSuperLayer.h.

24{ return 0.5 * ( firstLayer()->zEnd() + lastLayer()->zEnd() ); }

◆ MdcDetector


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