BOSS 7.0.4
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
 

Friends

class MdcDetector
 

Detailed Description

Constructor & Destructor Documentation

◆ MdcSuperLayer() [1/2]

MdcSuperLayer::MdcSuperLayer ( int  number)

Definition at line 63 of file MdcSuperLayer.cxx.

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

◆ ~MdcSuperLayer() [1/2]

MdcSuperLayer::~MdcSuperLayer ( )

Definition at line 77 of file MdcSuperLayer.cxx.

77 {
78 // delete [] layers;
79}

◆ MdcSuperLayer() [2/2]

MdcSuperLayer::MdcSuperLayer ( int  number)

◆ ~MdcSuperLayer() [2/2]

MdcSuperLayer::~MdcSuperLayer ( )

Member Function Documentation

◆ delPhi() [1/2]

double MdcSuperLayer::delPhi ( void  ) const
inline

◆ delPhi() [2/2]

double MdcSuperLayer::delPhi ( void  ) const
inline

Definition at line 30 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

30{return _delphi;}

◆ delPhiinv() [1/2]

double MdcSuperLayer::delPhiinv ( void  ) const
inline

Definition at line 31 of file InstallArea/include/MdcGeom/MdcGeom/MdcSuperLayer.h.

31{return _delphiinv;}

Referenced by MdcSegInfoSterO::calcStereo().

◆ delPhiinv() [2/2]

double MdcSuperLayer::delPhiinv ( void  ) const
inline

Definition at line 31 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

31{return _delphiinv;}

◆ exist() [1/2]

bool MdcSuperLayer::exist ( void  ) const
inline

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

22{return _exist;}

◆ exist() [2/2]

bool MdcSuperLayer::exist ( void  ) const
inline

Definition at line 22 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

22{return _exist;}

◆ firstLayer() [1/2]

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

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

37{ return layers[0];}

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

◆ firstLayer() [2/2]

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

Definition at line 37 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

37{ return layers[0];}

◆ index() [1/2]

int MdcSuperLayer::index ( void  ) const
inline

◆ index() [2/2]

int MdcSuperLayer::index ( void  ) const
inline

Definition at line 20 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

20{return _slayer; }

◆ lastLayer() [1/2]

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

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

38{ return layers[_nLayers - 1];}

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

◆ lastLayer() [2/2]

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

Definition at line 38 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

38{ return layers[_nLayers - 1];}

◆ layer() [1/2]

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

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

45 { /*yzhang SKIP assert ( i>=0 && i < nLayer() ) ;*/
46// const MdcLayer* layer(int i) const { assert ( i>=0 && i < _nLayers ) ;
47 return layers[i]; }

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

◆ layer() [2/2]

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

Definition at line 45 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

45 { /*yzhang SKIP assert ( i>=0 && i < nLayer() ) ;*/
46// const MdcLayer* layer(int i) const { assert ( i>=0 && i < _nLayers ) ;
47 return layers[i]; }

◆ next() [1/2]

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

◆ next() [2/2]

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

Definition at line 39 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

39{ return _next;}

◆ nextInView() [1/2]

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

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

41{ return _nextInView;}

◆ nextInView() [2/2]

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

Definition at line 41 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

41{ return _nextInView;}

◆ nLayers() [1/2]

int MdcSuperLayer::nLayers ( void  ) const
inline

◆ nLayers() [2/2]

int MdcSuperLayer::nLayers ( void  ) const
inline

Definition at line 44 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

44{ return _nLayers;}

◆ prev() [1/2]

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

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

40{ return _prev;}

◆ prev() [2/2]

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

Definition at line 40 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

40{ return _prev;}

◆ prevInView() [1/2]

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

Definition at line 42 of file InstallArea/include/MdcGeom/MdcGeom/MdcSuperLayer.h.

42{ return _prevInView;}

Referenced by MdcSegList::getSeed().

◆ prevInView() [2/2]

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

Definition at line 42 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

42{ return _prevInView;}

◆ print() [1/2]

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

◆ print() [2/2]

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

◆ rad0() [1/2]

double MdcSuperLayer::rad0 ( void  ) const
inline

◆ rad0() [2/2]

double MdcSuperLayer::rad0 ( void  ) const
inline

Definition at line 24 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

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

◆ rEnd() [1/2]

double MdcSuperLayer::rEnd ( void  ) const
inline

◆ rEnd() [2/2]

double MdcSuperLayer::rEnd ( void  ) const
inline

Definition at line 23 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

23{return _radius;}

◆ setNextInView() [1/2]

void MdcSuperLayer::setNextInView ( MdcSuperLayer sl)
inline

Definition at line 48 of file InstallArea/include/MdcGeom/MdcGeom/MdcSuperLayer.h.

48{_nextInView = sl;}

◆ setNextInView() [2/2]

void MdcSuperLayer::setNextInView ( MdcSuperLayer sl)
inline

Definition at line 48 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

48{_nextInView = sl;}

◆ setPrevInView() [1/2]

void MdcSuperLayer::setPrevInView ( MdcSuperLayer sl)
inline

Definition at line 49 of file InstallArea/include/MdcGeom/MdcGeom/MdcSuperLayer.h.

49{_prevInView = sl;}

◆ setPrevInView() [2/2]

void MdcSuperLayer::setPrevInView ( MdcSuperLayer sl)
inline

Definition at line 49 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

49{_prevInView = sl;}

◆ slayNum() [1/2]

int MdcSuperLayer::slayNum ( void  ) const
inline

◆ slayNum() [2/2]

int MdcSuperLayer::slayNum ( void  ) const
inline

Definition at line 43 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

43{ return _slayer;}

◆ stDip() [1/2]

double MdcSuperLayer::stDip ( void  ) const
inline

Definition at line 28 of file InstallArea/include/MdcGeom/MdcGeom/MdcSuperLayer.h.

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

Referenced by MdcSegInfoSterO::calcStereo().

◆ stDip() [2/2]

double MdcSuperLayer::stDip ( void  ) const
inline

Definition at line 28 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

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

◆ whichView() [1/2]

int MdcSuperLayer::whichView ( void  ) const
inline

◆ whichView() [2/2]

int MdcSuperLayer::whichView ( void  ) const
inline

◆ zEnd() [1/2]

double MdcSuperLayer::zEnd ( void  ) const
inline

◆ zEnd() [2/2]

double MdcSuperLayer::zEnd ( void  ) const
inline

Definition at line 26 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcSuperLayer.h.

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

Friends And Related Function Documentation

◆ MdcDetector


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