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

#include <TSegmentCurl.h>

Public Member Functions

 TSegmentCurl (const unsigned superLayerId=9999, const unsigned max=9999)
 TSegmentCurl (TSegmentCurl &)
 TSegmentCurl (TSegmentCurl *)
 ~TSegmentCurl (void)
const unsigned maxLocalLayerId (void) const
const unsigned superLayerId (void) const
const unsigned seqOfLayer (const unsigned)
const unsigned sizeOfLayer (const unsigned)
const unsigned maxSeq (void) const
const unsigned layerIdOfMaxSeq (void)
const unsigned numOfSeqOneLayer (void)
const unsigned numOfLargeSeqLayer (void)
void setMaxSeq (const unsigned)
void releaseMaxSeq (void)
const unsigned size (void)
const unsigned maxLocalLayerId (const unsigned)
const unsigned superLayerId (const unsigned)
void append (TMLink &)
void append (TMLink *)
void append (AList< TMLink > &)
void remove (TMLink &)
void remove (TMLink *)
void remove (AList< TMLink > &)
void removeAll (void)
const AList< TMLink > & list (void)
const AList< TMLink > & list (unsigned i)
TSegmentCurloperator= (const TSegmentCurl &)
void dump (void)
unsigned wires (const unsigned) const
void update (void)
 TSegmentCurl (const unsigned superLayerId=9999, const unsigned max=9999)
 TSegmentCurl (TSegmentCurl &)
 TSegmentCurl (TSegmentCurl *)
 ~TSegmentCurl (void)
const unsigned maxLocalLayerId (void) const
const unsigned superLayerId (void) const
const unsigned seqOfLayer (const unsigned)
const unsigned sizeOfLayer (const unsigned)
const unsigned maxSeq (void) const
const unsigned layerIdOfMaxSeq (void)
const unsigned numOfSeqOneLayer (void)
const unsigned numOfLargeSeqLayer (void)
void setMaxSeq (const unsigned)
void releaseMaxSeq (void)
const unsigned size (void)
const unsigned maxLocalLayerId (const unsigned)
const unsigned superLayerId (const unsigned)
void append (TMLink &)
void append (TMLink *)
void append (AList< TMLink > &)
void remove (TMLink &)
void remove (TMLink *)
void remove (AList< TMLink > &)
void removeAll (void)
const AList< TMLink > & list (void)
const AList< TMLink > & list (unsigned i)
TSegmentCurloperator= (const TSegmentCurl &)
void dump (void)
unsigned wires (const unsigned) const
void update (void)
 TSegmentCurl (const unsigned superLayerId=9999, const unsigned max=9999)
 TSegmentCurl (TSegmentCurl &)
 TSegmentCurl (TSegmentCurl *)
 ~TSegmentCurl (void)
const unsigned maxLocalLayerId (void) const
const unsigned superLayerId (void) const
const unsigned seqOfLayer (const unsigned)
const unsigned sizeOfLayer (const unsigned)
const unsigned maxSeq (void) const
const unsigned layerIdOfMaxSeq (void)
const unsigned numOfSeqOneLayer (void)
const unsigned numOfLargeSeqLayer (void)
void setMaxSeq (const unsigned)
void releaseMaxSeq (void)
const unsigned size (void)
const unsigned maxLocalLayerId (const unsigned)
const unsigned superLayerId (const unsigned)
void append (TMLink &)
void append (TMLink *)
void append (AList< TMLink > &)
void remove (TMLink &)
void remove (TMLink *)
void remove (AList< TMLink > &)
void removeAll (void)
const AList< TMLink > & list (void)
const AList< TMLink > & list (unsigned i)
TSegmentCurloperator= (const TSegmentCurl &)
void dump (void)
unsigned wires (const unsigned) const
void update (void)

Detailed Description

Constructor & Destructor Documentation

◆ TSegmentCurl() [1/9]

TSegmentCurl::TSegmentCurl ( const unsigned superLayerId = 9999,
const unsigned max = 9999 )

Definition at line 5 of file TSegmentCurl.cxx.

6 : m_MaxLocalLayerId( max ), m_superLayerId( superLayerId ), m_flagOfUpdate( true ) {
7 m_list.removeAll();
8 for ( unsigned i = 0; i < 4; ++i )
9 {
10 m_seqOfLayer[i] = m_sizeOfLayer[i] = 0;
11 m_layer[i].removeAll();
12 }
13}
#define max(a, b)
const unsigned superLayerId(void) const

Referenced by maxSeq(), operator=(), TSegmentCurl(), and TSegmentCurl().

◆ TSegmentCurl() [2/9]

TSegmentCurl::TSegmentCurl ( TSegmentCurl & s)

Definition at line 15 of file TSegmentCurl.cxx.

16 : m_flagOfUpdate( s.m_flagOfUpdate )
17 , m_list( s.m_list )
18 , m_MaxLocalLayerId( s.m_MaxLocalLayerId )
19 , m_superLayerId( s.m_superLayerId )
20 , m_maxSeq( s.m_maxSeq )
21 , m_layerIdOfMaxSeq( s.m_layerIdOfMaxSeq )
22 , m_numOfSeqOneLayer( s.m_numOfSeqOneLayer )
23 , m_numOfLargeSeqLayer( s.m_numOfLargeSeqLayer ) {
24 for ( unsigned i = 0; i < 4; ++i )
25 {
26 m_seqOfLayer[i] = s.m_seqOfLayer[i];
27 m_sizeOfLayer[i] = s.m_sizeOfLayer[i];
28 m_layer[i] = s.m_layer[i];
29 }
30}
XmlRpcServer s

◆ TSegmentCurl() [3/9]

TSegmentCurl::TSegmentCurl ( TSegmentCurl * s)

Definition at line 32 of file TSegmentCurl.cxx.

33 : m_flagOfUpdate( s->m_flagOfUpdate )
34 , m_list( s->m_list )
35 , m_MaxLocalLayerId( s->m_MaxLocalLayerId )
36 , m_superLayerId( s->m_superLayerId )
37 , m_maxSeq( s->m_maxSeq )
38 , m_layerIdOfMaxSeq( s->m_layerIdOfMaxSeq )
39 , m_numOfSeqOneLayer( s->m_numOfSeqOneLayer )
40 , m_numOfLargeSeqLayer( s->m_numOfLargeSeqLayer ) {
41 for ( unsigned i = 0; i < 4; ++i )
42 {
43 m_seqOfLayer[i] = s->m_seqOfLayer[i];
44 m_sizeOfLayer[i] = s->m_sizeOfLayer[i];
45 m_layer[i] = s->m_layer[i];
46 }
47}

◆ ~TSegmentCurl() [1/3]

TSegmentCurl::~TSegmentCurl ( void )

Definition at line 49 of file TSegmentCurl.cxx.

49 {
50 m_list.removeAll();
51 for ( unsigned i = 0; i < 4; ++i ) { m_layer[i].removeAll(); }
52}

◆ TSegmentCurl() [4/9]

TSegmentCurl::TSegmentCurl ( const unsigned superLayerId = 9999,
const unsigned max = 9999 )

◆ TSegmentCurl() [5/9]

TSegmentCurl::TSegmentCurl ( TSegmentCurl & )

◆ TSegmentCurl() [6/9]

TSegmentCurl::TSegmentCurl ( TSegmentCurl * )

◆ ~TSegmentCurl() [2/3]

TSegmentCurl::~TSegmentCurl ( void )

◆ TSegmentCurl() [7/9]

TSegmentCurl::TSegmentCurl ( const unsigned superLayerId = 9999,
const unsigned max = 9999 )

◆ TSegmentCurl() [8/9]

TSegmentCurl::TSegmentCurl ( TSegmentCurl & )

◆ TSegmentCurl() [9/9]

TSegmentCurl::TSegmentCurl ( TSegmentCurl * )

◆ ~TSegmentCurl() [3/3]

TSegmentCurl::~TSegmentCurl ( void )

Member Function Documentation

◆ append() [1/9]

void TSegmentCurl::append ( AList< TMLink > & e)
inline

Definition at line 90 of file TSegmentCurl.cxx.

90 {
91 m_flagOfUpdate = true;
92 for ( unsigned i = 0; i < e.length(); ++i )
93 m_layer[e[i]->hit()->wire()->localLayerId()].append( e[i] );
94 m_list.append( e );
95}

◆ append() [2/9]

void TSegmentCurl::append ( AList< TMLink > & )

◆ append() [3/9]

void TSegmentCurl::append ( AList< TMLink > & )

◆ append() [4/9]

void TSegmentCurl::append ( TMLink & e)
inline

Definition at line 78 of file TSegmentCurl.cxx.

78 {
79 m_flagOfUpdate = true;
80 m_layer[e.hit()->wire()->localLayerId()].append( e );
81 m_list.append( e );
82}
const TMDCWire *const wire(void) const
returns a pointer to a TMDCWire.
unsigned localLayerId(void) const
returns local layer id in a super layer.

◆ append() [5/9]

void TSegmentCurl::append ( TMLink & )

◆ append() [6/9]

void TSegmentCurl::append ( TMLink & )

◆ append() [7/9]

void TSegmentCurl::append ( TMLink * e)
inline

Definition at line 84 of file TSegmentCurl.cxx.

84 {
85 m_flagOfUpdate = true;
86 m_layer[e->hit()->wire()->localLayerId()].append( e );
87 m_list.append( e );
88}

◆ append() [8/9]

void TSegmentCurl::append ( TMLink * )

◆ append() [9/9]

void TSegmentCurl::append ( TMLink * )

◆ dump() [1/3]

void TSegmentCurl::dump ( void )

Definition at line 325 of file TSegmentCurl.cxx.

325 {
326 // std::cout.form(" Hep idhep mother mcPX mcPY mcPZ mcE mcMass\n");
327 // std::cout.form(" %3d % 4d % 4d % 2.2f % 2.2f % 2.2f % 2.2f % 2.3f\n",
328 // hepID, partID, mothID, mcpx, mcpy, mcpz, mce, mcmass);
329
330 std::cout << "=====Segment for Curling Track Finder=====" << std::endl;
331 std::cout << "List Size = " << m_list.length() << std::endl;
332 std::cout << "Flag of Update = " << m_flagOfUpdate
333 << ", Max Local Layer ID = " << m_MaxLocalLayerId
334 << ", Super Layer ID = " << m_superLayerId << std::endl;
335 std::cout << "Max Seq. = " << m_maxSeq << ", Its Layer ID = " << m_layerIdOfMaxSeq
336 << std::endl;
337 std::cout << "# of Seq = 1 Layer = " << m_numOfSeqOneLayer
338 << ", # of Large Seq. Layer = " << m_numOfLargeSeqLayer << std::endl;
339 // std::cout.form(" ID | Seq. of Layer | Size of Layer | Local ID List\n");
340 std::cout << "ID | Seq. of Layer | Size of Layer | Local ID List" << std::endl;
341 for ( unsigned i = 0; i < 4; ++i )
342 {
343 // std::cout.form(" %1d | %2d | %2d |", i, m_seqOfLayer[i],
344 // m_sizeOfLayer[i]);
345 std::cout << i << " | " << m_seqOfLayer[i] << " | " << m_sizeOfLayer[i] << " | ";
346 for ( unsigned j = 0, size = m_layer[i].length(); j < size; ++j )
347 std::cout << m_layer[i][j]->hit()->wire()->localId() << ", ";
348 std::cout << std::endl;
349 }
350}

◆ dump() [2/3]

void TSegmentCurl::dump ( void )

◆ dump() [3/3]

void TSegmentCurl::dump ( void )

◆ layerIdOfMaxSeq() [1/3]

const unsigned TSegmentCurl::layerIdOfMaxSeq ( void )
inline

Definition at line 130 of file TSegmentCurl.cxx.

130 {
131 if ( m_flagOfUpdate ) update();
132 return m_layerIdOfMaxSeq;
133}
void update(void)

◆ layerIdOfMaxSeq() [2/3]

const unsigned TSegmentCurl::layerIdOfMaxSeq ( void )

◆ layerIdOfMaxSeq() [3/3]

const unsigned TSegmentCurl::layerIdOfMaxSeq ( void )

◆ list() [1/6]

const AList< TMLink > & TSegmentCurl::list ( unsigned i)
inline

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

50{ return m_layer[i]; }

◆ list() [2/6]

const AList< TMLink > & TSegmentCurl::list ( unsigned i)
inline

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

50{ return m_layer[i]; }

◆ list() [3/6]

const AList< TMLink > & TSegmentCurl::list ( unsigned i)
inline

Definition at line 50 of file Reconstruction/TrkReco/include/TrkReco/TSegmentCurl.h.

50{ return m_layer[i]; }

◆ list() [4/6]

const AList< TMLink > & TSegmentCurl::list ( void )
inline

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

49{ return m_list; }

◆ list() [5/6]

const AList< TMLink > & TSegmentCurl::list ( void )
inline

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

49{ return m_list; }

◆ list() [6/6]

const AList< TMLink > & TSegmentCurl::list ( void )
inline

Definition at line 49 of file Reconstruction/TrkReco/include/TrkReco/TSegmentCurl.h.

49{ return m_list; }

◆ maxLocalLayerId() [1/6]

const unsigned TSegmentCurl::maxLocalLayerId ( const unsigned i)
inline

Definition at line 68 of file TSegmentCurl.cxx.

68 {
69 m_MaxLocalLayerId = i;
70 return m_MaxLocalLayerId;
71}

◆ maxLocalLayerId() [2/6]

const unsigned TSegmentCurl::maxLocalLayerId ( const unsigned )

◆ maxLocalLayerId() [3/6]

const unsigned TSegmentCurl::maxLocalLayerId ( const unsigned )

◆ maxLocalLayerId() [4/6]

const unsigned TSegmentCurl::maxLocalLayerId ( void ) const
inline

Definition at line 54 of file TSegmentCurl.cxx.

54{ return m_MaxLocalLayerId; }

◆ maxLocalLayerId() [5/6]

const unsigned TSegmentCurl::maxLocalLayerId ( void ) const

◆ maxLocalLayerId() [6/6]

const unsigned TSegmentCurl::maxLocalLayerId ( void ) const

◆ maxSeq() [1/3]

const unsigned TSegmentCurl::maxSeq ( void ) const
inline

Definition at line 122 of file TSegmentCurl.cxx.

122 {
123 // I try to use non-const member.
124 // If this method is bad, other methods are necessary.
125 TSegmentCurl* const localThis = const_cast<TSegmentCurl* const>( this );
126 if ( m_flagOfUpdate ) localThis->update();
127 return m_maxSeq;
128}
TSegmentCurl(const unsigned superLayerId=9999, const unsigned max=9999)

◆ maxSeq() [2/3]

const unsigned TSegmentCurl::maxSeq ( void ) const

◆ maxSeq() [3/3]

const unsigned TSegmentCurl::maxSeq ( void ) const

◆ numOfLargeSeqLayer() [1/3]

const unsigned TSegmentCurl::numOfLargeSeqLayer ( void )
inline

Definition at line 140 of file TSegmentCurl.cxx.

140 {
141 if ( m_flagOfUpdate ) update();
142 return m_numOfLargeSeqLayer;
143}

◆ numOfLargeSeqLayer() [2/3]

const unsigned TSegmentCurl::numOfLargeSeqLayer ( void )

◆ numOfLargeSeqLayer() [3/3]

const unsigned TSegmentCurl::numOfLargeSeqLayer ( void )

◆ numOfSeqOneLayer() [1/3]

const unsigned TSegmentCurl::numOfSeqOneLayer ( void )
inline

Definition at line 135 of file TSegmentCurl.cxx.

135 {
136 if ( m_flagOfUpdate ) update();
137 return m_numOfSeqOneLayer;
138}

◆ numOfSeqOneLayer() [2/3]

const unsigned TSegmentCurl::numOfSeqOneLayer ( void )

◆ numOfSeqOneLayer() [3/3]

const unsigned TSegmentCurl::numOfSeqOneLayer ( void )

◆ operator=() [1/3]

TSegmentCurl & TSegmentCurl::operator= ( const TSegmentCurl & s)

Definition at line 169 of file TSegmentCurl.cxx.

169 {
170 if ( this == &s ) return *this;
171
172 m_flagOfUpdate = s.m_flagOfUpdate;
173 m_list = s.m_list;
174 m_MaxLocalLayerId = s.m_MaxLocalLayerId;
175 m_superLayerId = s.m_superLayerId;
176
177 m_maxSeq = s.m_maxSeq;
178 m_layerIdOfMaxSeq = s.m_layerIdOfMaxSeq;
179 m_numOfSeqOneLayer = s.m_numOfSeqOneLayer;
180 m_numOfLargeSeqLayer = s.m_numOfLargeSeqLayer;
181
182 for ( unsigned i = 0; i < 4; ++i )
183 {
184 m_seqOfLayer[i] = s.m_seqOfLayer[i];
185 m_sizeOfLayer[i] = s.m_sizeOfLayer[i];
186 m_layer[i] = s.m_layer[i];
187 }
188
189 return *this;
190}

◆ operator=() [2/3]

TSegmentCurl & TSegmentCurl::operator= ( const TSegmentCurl & )

◆ operator=() [3/3]

TSegmentCurl & TSegmentCurl::operator= ( const TSegmentCurl & )

◆ releaseMaxSeq() [1/3]

void TSegmentCurl::releaseMaxSeq ( void )

◆ releaseMaxSeq() [2/3]

void TSegmentCurl::releaseMaxSeq ( void )

◆ releaseMaxSeq() [3/3]

void TSegmentCurl::releaseMaxSeq ( void )

◆ remove() [1/9]

void TSegmentCurl::remove ( AList< TMLink > & e)
inline

Definition at line 109 of file TSegmentCurl.cxx.

109 {
110 m_flagOfUpdate = true;
111 for ( unsigned i = 0; i < e.length(); ++i )
112 m_layer[e[i]->hit()->wire()->localLayerId()].remove( e[i] );
113 m_list.remove( e );
114}

◆ remove() [2/9]

void TSegmentCurl::remove ( AList< TMLink > & )

◆ remove() [3/9]

void TSegmentCurl::remove ( AList< TMLink > & )

◆ remove() [4/9]

void TSegmentCurl::remove ( TMLink & e)
inline

Definition at line 97 of file TSegmentCurl.cxx.

97 {
98 m_flagOfUpdate = true;
99 m_layer[e.hit()->wire()->localLayerId()].remove( e );
100 m_list.remove( e );
101}

◆ remove() [5/9]

void TSegmentCurl::remove ( TMLink & )

◆ remove() [6/9]

void TSegmentCurl::remove ( TMLink & )

◆ remove() [7/9]

void TSegmentCurl::remove ( TMLink * e)
inline

Definition at line 103 of file TSegmentCurl.cxx.

103 {
104 m_flagOfUpdate = true;
105 m_layer[e->hit()->wire()->localLayerId()].remove( e );
106 m_list.remove( e );
107}

◆ remove() [8/9]

void TSegmentCurl::remove ( TMLink * )

◆ remove() [9/9]

void TSegmentCurl::remove ( TMLink * )

◆ removeAll() [1/3]

void TSegmentCurl::removeAll ( void )
inline

Definition at line 116 of file TSegmentCurl.cxx.

116 {
117 m_flagOfUpdate = true;
118 m_list.removeAll();
119 for ( unsigned i = 0; i < 4; ++i ) { m_layer[i].removeAll(); }
120}

◆ removeAll() [2/3]

void TSegmentCurl::removeAll ( void )

◆ removeAll() [3/3]

void TSegmentCurl::removeAll ( void )

◆ seqOfLayer() [1/3]

const unsigned TSegmentCurl::seqOfLayer ( const unsigned i)
inline

Definition at line 58 of file TSegmentCurl.cxx.

58 {
59 if ( m_flagOfUpdate ) update();
60 return m_seqOfLayer[i];
61}

◆ seqOfLayer() [2/3]

const unsigned TSegmentCurl::seqOfLayer ( const unsigned )

◆ seqOfLayer() [3/3]

const unsigned TSegmentCurl::seqOfLayer ( const unsigned )

◆ setMaxSeq() [1/3]

void TSegmentCurl::setMaxSeq ( const unsigned )

◆ setMaxSeq() [2/3]

void TSegmentCurl::setMaxSeq ( const unsigned )

◆ setMaxSeq() [3/3]

void TSegmentCurl::setMaxSeq ( const unsigned )

◆ size() [1/3]

const unsigned TSegmentCurl::size ( void )
inline

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

34{ return m_list.length(); }

Referenced by dump().

◆ size() [2/3]

const unsigned TSegmentCurl::size ( void )
inline

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

34{ return m_list.length(); }

◆ size() [3/3]

const unsigned TSegmentCurl::size ( void )
inline

Definition at line 34 of file Reconstruction/TrkReco/include/TrkReco/TSegmentCurl.h.

34{ return m_list.length(); }

◆ sizeOfLayer() [1/3]

const unsigned TSegmentCurl::sizeOfLayer ( const unsigned i)
inline

Definition at line 63 of file TSegmentCurl.cxx.

63 {
64 if ( m_flagOfUpdate ) update();
65 return m_sizeOfLayer[i];
66}

◆ sizeOfLayer() [2/3]

const unsigned TSegmentCurl::sizeOfLayer ( const unsigned )

◆ sizeOfLayer() [3/3]

const unsigned TSegmentCurl::sizeOfLayer ( const unsigned )

◆ superLayerId() [1/6]

const unsigned TSegmentCurl::superLayerId ( const unsigned i)
inline

Definition at line 73 of file TSegmentCurl.cxx.

73 {
74 m_superLayerId = i;
75 return m_superLayerId;
76}

◆ superLayerId() [2/6]

const unsigned TSegmentCurl::superLayerId ( const unsigned )

◆ superLayerId() [3/6]

const unsigned TSegmentCurl::superLayerId ( const unsigned )

◆ superLayerId() [4/6]

const unsigned TSegmentCurl::superLayerId ( void ) const
inline

Definition at line 56 of file TSegmentCurl.cxx.

56{ return m_superLayerId; }

Referenced by TSegmentCurl().

◆ superLayerId() [5/6]

const unsigned TSegmentCurl::superLayerId ( void ) const

◆ superLayerId() [6/6]

const unsigned TSegmentCurl::superLayerId ( void ) const

◆ update() [1/3]

void TSegmentCurl::update ( void )

Definition at line 145 of file TSegmentCurl.cxx.

145 {
146 if ( m_list.length() == 0 )
147 {
148 m_flagOfUpdate = false;
149 return;
150 }
151 m_maxSeq = m_layerIdOfMaxSeq = 0;
152 m_numOfSeqOneLayer = m_numOfLargeSeqLayer = 0;
153 for ( unsigned i = 0; i <= m_MaxLocalLayerId; ++i )
154 {
155 m_sizeOfLayer[i] = m_layer[i].length();
156 calcuSeq( i );
157 if ( m_seqOfLayer[i] >= m_maxSeq )
158 {
159 m_maxSeq = m_seqOfLayer[i];
160 m_layerIdOfMaxSeq = i;
161 }
162 if ( m_seqOfLayer[i] == 1 ) ++m_numOfSeqOneLayer;
163 if ( m_seqOfLayer[i] >= TCURL_LARGE_SEQUENCE ) ++m_numOfLargeSeqLayer;
164 }
165
166 m_flagOfUpdate = false;
167}

Referenced by layerIdOfMaxSeq(), maxSeq(), numOfLargeSeqLayer(), numOfSeqOneLayer(), seqOfLayer(), and sizeOfLayer().

◆ update() [2/3]

void TSegmentCurl::update ( void )

◆ update() [3/3]

void TSegmentCurl::update ( void )

◆ wires() [1/3]

unsigned TSegmentCurl::wires ( const unsigned LayerId) const

Definition at line 298 of file TSegmentCurl.cxx.

298 {
299 // input - layer id#(0-422)
300 // output - # of its layer
301 if ( LayerId == 0 ) return 40;
302 if ( LayerId == 1 ) return 44;
303 if ( LayerId == 2 ) return 48;
304 if ( LayerId == 3 ) return 56;
305 if ( LayerId == 4 ) return 64;
306 if ( LayerId == 5 ) return 72;
307 if ( LayerId == 6 || LayerId == 7 ) return 80;
308 if ( LayerId == 8 || LayerId == 9 ) return 76;
309 if ( LayerId == 10 || LayerId == 11 ) return 88;
310 if ( LayerId == 12 || LayerId == 13 ) return 100;
311 if ( LayerId == 14 || LayerId == 15 ) return 112;
312 if ( LayerId == 16 || LayerId == 17 ) return 128;
313 if ( LayerId == 18 || LayerId == 19 ) return 140;
314 if ( LayerId < 24 ) return 160;
315 if ( LayerId < 28 ) return 176;
316 if ( LayerId < 32 ) return 208;
317 if ( LayerId < 36 ) return 240;
318 if ( LayerId < 40 ) return 256;
319 if ( LayerId < 43 ) return 288;
320
321 std::cerr << "Error in the SegmentCurl(wires)." << std::endl;
322 return 0;
323}

◆ wires() [2/3]

unsigned TSegmentCurl::wires ( const unsigned ) const

◆ wires() [3/3]

unsigned TSegmentCurl::wires ( const unsigned ) const

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