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

#include <MdcDetector.h>

Public Member Functions

 MdcDetector ()
 ~MdcDetector ()
const MdcSWireWire (unsigned id) const
const MdcSWireWire (const Identifier &id) const
const MdcSWireWire (unsigned lyrid, unsigned wirid) const
const MdcLayerLayer (unsigned id) const
const MdcLayerLayer (const Identifier &id) const
MdcLayergetMdcLayer (int laynum) const
const MdcLayerfirstLayer () const
const MdcLayerlastLayer () const
const MdcLayernextLayer (int lay) const
const MdcLayerprevLayer (int lay) const
const MdcLayernextLayer (const MdcLayer *layer) const
const MdcLayerprevLayer (const MdcLayer *layer) const
const MdcSuperLayerSuperLayer (unsigned id) const
const MdcSuperLayerfirstSlay (void) const
const MdcSuperLayerlastSlay (void) const
const MdcSuperLayerfirstSlayInView (int iview) const
const MdcSuperLayerlastSlayInView (int iview) const
int nSuper () const
int nLayer () const
int nAxialSuper (void) const
int nStereoSuper (int iview) const
void Dump ()
 MdcDetector ()
 ~MdcDetector ()
const MdcSWireWire (unsigned id) const
const MdcSWireWire (const Identifier &id) const
const MdcSWireWire (unsigned lyrid, unsigned wirid) const
const MdcLayerLayer (unsigned id) const
const MdcLayerLayer (const Identifier &id) const
MdcLayergetMdcLayer (int laynum) const
const MdcLayerfirstLayer () const
const MdcLayerlastLayer () const
const MdcLayernextLayer (int lay) const
const MdcLayerprevLayer (int lay) const
const MdcLayernextLayer (const MdcLayer *layer) const
const MdcLayerprevLayer (const MdcLayer *layer) const
const MdcSuperLayerSuperLayer (unsigned id) const
const MdcSuperLayerfirstSlay (void) const
const MdcSuperLayerlastSlay (void) const
const MdcSuperLayerfirstSlayInView (int iview) const
const MdcSuperLayerlastSlayInView (int iview) const
int nSuper () const
int nLayer () const
int nAxialSuper (void) const
int nStereoSuper (int iview) const
void Dump ()
 MdcDetector ()
 ~MdcDetector ()
const MdcSWireWire (unsigned id) const
const MdcSWireWire (const Identifier &id) const
const MdcSWireWire (unsigned lyrid, unsigned wirid) const
const MdcLayerLayer (unsigned id) const
const MdcLayerLayer (const Identifier &id) const
MdcLayergetMdcLayer (int laynum) const
const MdcLayerfirstLayer () const
const MdcLayerlastLayer () const
const MdcLayernextLayer (int lay) const
const MdcLayerprevLayer (int lay) const
const MdcLayernextLayer (const MdcLayer *layer) const
const MdcLayerprevLayer (const MdcLayer *layer) const
const MdcSuperLayerSuperLayer (unsigned id) const
const MdcSuperLayerfirstSlay (void) const
const MdcSuperLayerlastSlay (void) const
const MdcSuperLayerfirstSlayInView (int iview) const
const MdcSuperLayerlastSlayInView (int iview) const
int nSuper () const
int nLayer () const
int nAxialSuper (void) const
int nStereoSuper (int iview) const
void Dump ()

Static Public Member Functions

static MdcDetectorinstance (bool doSag)
static MdcDetectorinstance ()
static MdcDetectorinstance (bool doSag)
static MdcDetectorinstance ()
static MdcDetectorinstance (bool doSag)
static MdcDetectorinstance ()

Detailed Description

Constructor & Destructor Documentation

◆ MdcDetector() [1/3]

MdcDetector::MdcDetector ( )

Definition at line 23 of file MdcDetector.cxx.

23 {
24
25 std::cout << " +---------------------------------------------------+\n"
26 << " | Creating Mdc Geometry information |\n"
27 << " +---------------------------------------------------+\n";
28
29 // IService* ser;
30 // StatusCode sc = Gaudi::svcLocator()->getService("MdcGeomSvc",ser);
31 // if (!sc.isSuccess())
32 // std::cout <<" MdcDetector::Could not open Geometry Service"<<std::endl;
33 // MdcGeomSvc *mdcsvc = dynamic_cast<MdcGeomSvc*> (ser);
34
35 IMdcGeomSvc* mdcsvc = Gaudi::svcLocator()->service<IMdcGeomSvc>( "MdcGeomSvc" );
36 if ( !mdcsvc ) std::cout << "MdcDetector::Could not open Geometry Service" << std::endl;
37
38 _nSWire = mdcsvc->getWireSize();
39 _nLayer = mdcsvc->getLayerSize();
40 _nSlay = mdcsvc->getSuperLayerSize();
41
42 _senseWire = new MdcSWire*[_nSWire];
43 _dclayer = new MdcLayer*[_nLayer];
44 _slayList = new MdcSuperLayer*[_nSlay];
45
46 // build the sense wires
47 for ( int iwire = 0; iwire < _nSWire; iwire++ )
48 {
49 const MdcGeoWire* geowir = mdcsvc->Wire( iwire );
50 HepPoint3D eastP = geowir->Backward() / 10.0;
51 HepPoint3D westP = geowir->Forward() / 10.0;
52 // std::cout<< "wire ("<<geowir->Layer()<<","<<geowir->Cell()<<") east "<<eastP <<",west "
53 // <<westP << std::endl;//yzhang debug
54 double sag = 0.;
55 if ( _doSag ) sag = geowir->Sag() / 10.; // mm->cm
56
57 // std::cout<<"sag = "<<sag<<" "<< geowir->Sag()<<std::endl;
58 _senseWire[iwire] = new MdcSWire( eastP, westP, sag, geowir->Id(), geowir->Cell() );
59 }
60
61 // build sense wire layers
62 for ( int ilay = 0; ilay < _nLayer; ilay++ )
63 {
64 const MdcGeoLayer* geolay = mdcsvc->Layer( ilay );
65 int nwir = geolay->NCell();
66 int firstwir = geolay->Wirst();
67 _dclayer[ilay] = new MdcLayer( ilay, nwir, &_senseWire[firstwir], *this );
68 _wires_in_layer[ilay] = nwir;
69 }
70
71 // build pointers to make navigation faster
72 buildpointers();
73
74 // do superlayers
75 // --------------
76 buildSuperLayers();
77 // set nominal cell height for each layer!!!! check!!!!
78 double rOther;
79 for ( int ilay = 0; ilay < _nLayer; ilay++ )
80 {
81 if ( ilay == 0 ) { rOther = Layer( ilay + 1 )->rMid(); }
82 else { rOther = Layer( ilay - 1 )->rMid(); }
83 double height = fabs( Layer( ilay )->rMid() - rOther );
84 const_cast<MdcLayer*>( Layer( ilay ) )->setCellHeight( height );
85 }
86}
HepGeom::Point3D< double > HepPoint3D
virtual const int getLayerSize()=0
virtual const MdcGeoLayer *const Layer(unsigned id)=0
virtual const MdcGeoWire *const Wire(unsigned id)=0
virtual const int getWireSize()=0
virtual const int getSuperLayerSize()=0
const double Sag(void) const

Referenced by Dump(), instance(), and instance().

◆ ~MdcDetector() [1/3]

MdcDetector::~MdcDetector ( )

Definition at line 88 of file MdcDetector.cxx.

88 {
89 for ( int iwire = 0; iwire < _nSWire; iwire++ ) { delete _senseWire[iwire]; }
90 for ( int ilay = 0; ilay < _nLayer; ilay++ ) { delete _dclayer[ilay]; }
91 for ( int islay = 0; islay < _nSlay; islay++ )
92 {
93 _slayList[islay]->print( std::cout );
94 delete _slayList[islay];
95 }
96
97 delete[] _senseWire;
98 delete[] _dclayer;
99 delete[] _slayList;
100}

◆ MdcDetector() [2/3]

MdcDetector::MdcDetector ( )

◆ ~MdcDetector() [2/3]

MdcDetector::~MdcDetector ( )

◆ MdcDetector() [3/3]

MdcDetector::MdcDetector ( )

◆ ~MdcDetector() [3/3]

MdcDetector::~MdcDetector ( )

Member Function Documentation

◆ Dump() [1/3]

void MdcDetector::Dump ( )

◆ Dump() [2/3]

void MdcDetector::Dump ( )

◆ Dump() [3/3]

void MdcDetector::Dump ( )

◆ firstLayer() [1/3]

const MdcLayer * MdcDetector::firstLayer ( ) const
inline

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

35{ return Layer( 0 ); }

Referenced by MdcTrackList::pickHits().

◆ firstLayer() [2/3]

const MdcLayer * MdcDetector::firstLayer ( ) const
inline

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

35{ return Layer( 0 ); }

◆ firstLayer() [3/3]

const MdcLayer * MdcDetector::firstLayer ( ) const
inline

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

35{ return Layer( 0 ); }

◆ firstSlay() [1/3]

const MdcSuperLayer * MdcDetector::firstSlay ( void ) const
inline

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

47{ return _firstSlay; }

Referenced by MdcSegFinder::createSegs().

◆ firstSlay() [2/3]

const MdcSuperLayer * MdcDetector::firstSlay ( void ) const
inline

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

47{ return _firstSlay; }

◆ firstSlay() [3/3]

const MdcSuperLayer * MdcDetector::firstSlay ( void ) const
inline

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

47{ return _firstSlay; }

◆ firstSlayInView() [1/3]

const MdcSuperLayer * MdcDetector::firstSlayInView ( int iview) const
inline

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

49 {
50 return _firstSlayInView[iview + 1];
51 }

◆ firstSlayInView() [2/3]

const MdcSuperLayer * MdcDetector::firstSlayInView ( int iview) const
inline

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

49 {
50 return _firstSlayInView[iview + 1];
51 }

◆ firstSlayInView() [3/3]

const MdcSuperLayer * MdcDetector::firstSlayInView ( int iview) const
inline

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

49 {
50 return _firstSlayInView[iview + 1];
51 }

◆ getMdcLayer() [1/3]

MdcLayer * MdcDetector::getMdcLayer ( int laynum) const
inline

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

34{ return _dclayer[laynum]; }

Referenced by Wire().

◆ getMdcLayer() [2/3]

MdcLayer * MdcDetector::getMdcLayer ( int laynum) const
inline

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

34{ return _dclayer[laynum]; }

◆ getMdcLayer() [3/3]

MdcLayer * MdcDetector::getMdcLayer ( int laynum) const
inline

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

34{ return _dclayer[laynum]; }

◆ instance() [1/6]

MdcDetector * MdcDetector::instance ( )
static

◆ instance() [2/6]

MdcDetector * MdcDetector::instance ( )
static

◆ instance() [3/6]

MdcDetector * MdcDetector::instance ( )
static

◆ instance() [4/6]

MdcDetector * MdcDetector::instance ( bool doSag)
static

Definition at line 13 of file MdcDetector.cxx.

13 {
14 _doSag = doSag;
15 return instance();
16}
static MdcDetector * instance()

◆ instance() [5/6]

MdcDetector * MdcDetector::instance ( bool doSag)
static

◆ instance() [6/6]

MdcDetector * MdcDetector::instance ( bool doSag)
static

◆ lastLayer() [1/3]

const MdcLayer * MdcDetector::lastLayer ( ) const
inline

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

36{ return Layer( _nLayer - 1 ); }

Referenced by MdcTrackList::pickHits().

◆ lastLayer() [2/3]

const MdcLayer * MdcDetector::lastLayer ( ) const
inline

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

36{ return Layer( _nLayer - 1 ); }

◆ lastLayer() [3/3]

const MdcLayer * MdcDetector::lastLayer ( ) const
inline

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

36{ return Layer( _nLayer - 1 ); }

◆ lastSlay() [1/3]

const MdcSuperLayer * MdcDetector::lastSlay ( void ) const
inline

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

48{ return _lastSlay; }

◆ lastSlay() [2/3]

const MdcSuperLayer * MdcDetector::lastSlay ( void ) const
inline

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

48{ return _lastSlay; }

◆ lastSlay() [3/3]

const MdcSuperLayer * MdcDetector::lastSlay ( void ) const
inline

Definition at line 48 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcDetector.h.

48{ return _lastSlay; }

◆ lastSlayInView() [1/3]

const MdcSuperLayer * MdcDetector::lastSlayInView ( int iview) const
inline

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

52{ return _lastSlayInView[iview + 1]; }

Referenced by MdcSegList::resetSeed().

◆ lastSlayInView() [2/3]

const MdcSuperLayer * MdcDetector::lastSlayInView ( int iview) const
inline

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

52{ return _lastSlayInView[iview + 1]; }

◆ lastSlayInView() [3/3]

const MdcSuperLayer * MdcDetector::lastSlayInView ( int iview) const
inline

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

52{ return _lastSlayInView[iview + 1]; }

◆ Layer() [1/6]

const MdcLayer * MdcDetector::Layer ( const Identifier & id) const

Definition at line 244 of file MdcDetector.cxx.

244 {
245 unsigned layerid = MdcID::layer( id );
246 return Layer( layerid );
247 // if (layerid < fLayers.size())
248 // return fLayers[layerid];
249 //
250 // return 0;
251}
static int layer(const Identifier &id)
Values of different levels (failure returns 0).
Definition MdcID.cxx:47

◆ Layer() [2/6]

const MdcLayer * MdcDetector::Layer ( const Identifier & id) const

◆ Layer() [3/6]

const MdcLayer * MdcDetector::Layer ( const Identifier & id) const

◆ Layer() [4/6]

const MdcLayer * MdcDetector::Layer ( unsigned id) const
inline

◆ Layer() [5/6]

const MdcLayer * MdcDetector::Layer ( unsigned id) const
inline

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

32{ return _dclayer[id]; }

◆ Layer() [6/6]

const MdcLayer * MdcDetector::Layer ( unsigned id) const
inline

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

32{ return _dclayer[id]; }

◆ nAxialSuper() [1/3]

int MdcDetector::nAxialSuper ( void ) const
inline

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

56{ return _nAxSlay; }

◆ nAxialSuper() [2/3]

int MdcDetector::nAxialSuper ( void ) const
inline

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

56{ return _nAxSlay; }

◆ nAxialSuper() [3/3]

int MdcDetector::nAxialSuper ( void ) const
inline

Definition at line 56 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcDetector.h.

56{ return _nAxSlay; }

◆ nextLayer() [1/6]

const MdcLayer * MdcDetector::nextLayer ( const MdcLayer * layer) const
inline

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

39 {
40 return _nextlay[layer->layNum()];
41 }

◆ nextLayer() [2/6]

const MdcLayer * MdcDetector::nextLayer ( const MdcLayer * layer) const
inline

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

39 {
40 return _nextlay[layer->layNum()];
41 }

◆ nextLayer() [3/6]

const MdcLayer * MdcDetector::nextLayer ( const MdcLayer * layer) const
inline

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

39 {
40 return _nextlay[layer->layNum()];
41 }

◆ nextLayer() [4/6]

const MdcLayer * MdcDetector::nextLayer ( int lay) const
inline

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

37{ return _nextlay[lay]; }

Referenced by MdcTrackList::pickHits().

◆ nextLayer() [5/6]

const MdcLayer * MdcDetector::nextLayer ( int lay) const
inline

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

37{ return _nextlay[lay]; }

◆ nextLayer() [6/6]

const MdcLayer * MdcDetector::nextLayer ( int lay) const
inline

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

37{ return _nextlay[lay]; }

◆ nLayer() [1/3]

int MdcDetector::nLayer ( ) const
inline

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

55{ return _nLayer; }

Referenced by MdcSegData::poisonHits().

◆ nLayer() [2/3]

int MdcDetector::nLayer ( ) const
inline

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

55{ return _nLayer; }

◆ nLayer() [3/3]

int MdcDetector::nLayer ( ) const
inline

Definition at line 55 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcDetector.h.

55{ return _nLayer; }

◆ nStereoSuper() [1/3]

int MdcDetector::nStereoSuper ( int iview) const
inline

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

57 {
58 return iview == 0 ? 0 : _nSterSlay[( iview + 1 ) / 2];
59 }

◆ nStereoSuper() [2/3]

int MdcDetector::nStereoSuper ( int iview) const
inline

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

57 {
58 return iview == 0 ? 0 : _nSterSlay[( iview + 1 ) / 2];
59 }

◆ nStereoSuper() [3/3]

int MdcDetector::nStereoSuper ( int iview) const
inline

Definition at line 57 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcDetector.h.

57 {
58 return iview == 0 ? 0 : _nSterSlay[( iview + 1 ) / 2];
59 }

◆ nSuper() [1/3]

int MdcDetector::nSuper ( ) const
inline

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

54{ return _nSlay; }

Referenced by MdcSegGrouper::MdcSegGrouper().

◆ nSuper() [2/3]

int MdcDetector::nSuper ( ) const
inline

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

54{ return _nSlay; }

◆ nSuper() [3/3]

int MdcDetector::nSuper ( ) const
inline

Definition at line 54 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcDetector.h.

54{ return _nSlay; }

◆ prevLayer() [1/6]

const MdcLayer * MdcDetector::prevLayer ( const MdcLayer * layer) const
inline

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

42 {
43 return _prevlay[layer->layNum()];
44 }

◆ prevLayer() [2/6]

const MdcLayer * MdcDetector::prevLayer ( const MdcLayer * layer) const
inline

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

42 {
43 return _prevlay[layer->layNum()];
44 }

◆ prevLayer() [3/6]

const MdcLayer * MdcDetector::prevLayer ( const MdcLayer * layer) const
inline

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

42 {
43 return _prevlay[layer->layNum()];
44 }

◆ prevLayer() [4/6]

const MdcLayer * MdcDetector::prevLayer ( int lay) const
inline

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

38{ return _prevlay[lay]; }

Referenced by MdcTrackList::pickHits().

◆ prevLayer() [5/6]

const MdcLayer * MdcDetector::prevLayer ( int lay) const
inline

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

38{ return _prevlay[lay]; }

◆ prevLayer() [6/6]

const MdcLayer * MdcDetector::prevLayer ( int lay) const
inline

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

38{ return _prevlay[lay]; }

◆ SuperLayer() [1/3]

const MdcSuperLayer * MdcDetector::SuperLayer ( unsigned id) const
inline

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

46{ return _slayList[id]; }

◆ SuperLayer() [2/3]

const MdcSuperLayer * MdcDetector::SuperLayer ( unsigned id) const
inline

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

46{ return _slayList[id]; }

◆ SuperLayer() [3/3]

const MdcSuperLayer * MdcDetector::SuperLayer ( unsigned id) const
inline

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

46{ return _slayList[id]; }

◆ Wire() [1/9]

const MdcSWire * MdcDetector::Wire ( const Identifier & id) const

Definition at line 231 of file MdcDetector.cxx.

231 {
232 int wire = MdcID::wire( id );
233 int layer = MdcID::layer( id );
234 return Wire( layer, wire );
235 // unsigned wireid= Layer(layer)->Wirst()+wire;
236 // if( wireid < fWires.size()){
237 // return fWires[wireid];
238 // }
239 // else {
240 // return 0;
241 // }
242}
static int wire(const Identifier &id)
Definition MdcID.cxx:52

◆ Wire() [2/9]

const MdcSWire * MdcDetector::Wire ( const Identifier & id) const

◆ Wire() [3/9]

const MdcSWire * MdcDetector::Wire ( const Identifier & id) const

◆ Wire() [4/9]

const MdcSWire * MdcDetector::Wire ( unsigned id) const
inline

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

26{ return _senseWire[id]; }

Referenced by MdcHit::MdcHit(), and Wire().

◆ Wire() [5/9]

const MdcSWire * MdcDetector::Wire ( unsigned id) const
inline

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

26{ return _senseWire[id]; }

◆ Wire() [6/9]

const MdcSWire * MdcDetector::Wire ( unsigned id) const
inline

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

26{ return _senseWire[id]; }

◆ Wire() [7/9]

const MdcSWire * MdcDetector::Wire ( unsigned lyrid,
unsigned wirid ) const
inline

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

28 {
29 return getMdcLayer( lyrid )->getWire( wirid );
30 }

◆ Wire() [8/9]

const MdcSWire * MdcDetector::Wire ( unsigned lyrid,
unsigned wirid ) const
inline

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

28 {
29 return getMdcLayer( lyrid )->getWire( wirid );
30 }

◆ Wire() [9/9]

const MdcSWire * MdcDetector::Wire ( unsigned lyrid,
unsigned wirid ) const
inline

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

28 {
29 return getMdcLayer( lyrid )->getWire( wirid );
30 }

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