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

#include <KalFitSuper_Mdc.h>

Public Member Functions

 KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID)
 Constructors and destructor.
 ~KalFitSuper_Mdc ()
void clear (void)
 clear object
const int nWire (void) const
 returns number of wires
const int nLayer (void) const
 returns number of layers
const int layerMaxId (void) const
 returns layer max ID
const int localMaxId (void) const
 returns local max ID
const int superLayerId (void) const
 returns super-layer ID
void appendHit (KalFitWire *)
 append a wireHit to the list of hits of the superlayer
 KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID)
 Constructors and destructor.
 ~KalFitSuper_Mdc ()
void clear (void)
 clear object
const int nWire (void) const
 returns number of wires
const int nLayer (void) const
 returns number of layers
const int layerMaxId (void) const
 returns layer max ID
const int localMaxId (void) const
 returns local max ID
const int superLayerId (void) const
 returns super-layer ID
void appendHit (KalFitWire *)
 append a wireHit to the list of hits of the superlayer
 KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID)
 Constructors and destructor.
 ~KalFitSuper_Mdc ()
void clear (void)
 clear object
const int nWire (void) const
 returns number of wires
const int nLayer (void) const
 returns number of layers
const int layerMaxId (void) const
 returns layer max ID
const int localMaxId (void) const
 returns local max ID
const int superLayerId (void) const
 returns super-layer ID
void appendHit (KalFitWire *)
 append a wireHit to the list of hits of the superlayer

Detailed Description

Constructor & Destructor Documentation

◆ KalFitSuper_Mdc() [1/3]

KalFitSuper_Mdc::KalFitSuper_Mdc ( const int firstWireID,
const int NWire,
const int firstLayerID,
const int NLayer,
const int superLayerID )

Constructors and destructor.

Definition at line 16 of file KalFitSuper_Mdc.cxx.

19 : _superLayerId( superLayerID )
20 , _firstWireId( firstWireID )
21 , _Nwire( NWire )
22 , _firstLayerId( firstLayerID )
23 , _Nlayer( NLayer )
24 , _wireHits( *( new KalFitList<KalFitWire*>( 500 ) ) )
25 , _singleHits( *( new KalFitList<KalFitWire*>( 100 ) ) ) {}

◆ ~KalFitSuper_Mdc() [1/3]

KalFitSuper_Mdc::~KalFitSuper_Mdc ( )

Definition at line 27 of file KalFitSuper_Mdc.cxx.

27 {
28 clear();
29 delete &_wireHits;
30 delete &_singleHits;
31}
void clear(void)
clear object

◆ KalFitSuper_Mdc() [2/3]

KalFitSuper_Mdc::KalFitSuper_Mdc ( const int firstWireID,
const int NWire,
const int firstLayerID,
const int NLayer,
const int superLayerID )

Constructors and destructor.

◆ ~KalFitSuper_Mdc() [2/3]

KalFitSuper_Mdc::~KalFitSuper_Mdc ( )

◆ KalFitSuper_Mdc() [3/3]

KalFitSuper_Mdc::KalFitSuper_Mdc ( const int firstWireID,
const int NWire,
const int firstLayerID,
const int NLayer,
const int superLayerID )

Constructors and destructor.

◆ ~KalFitSuper_Mdc() [3/3]

KalFitSuper_Mdc::~KalFitSuper_Mdc ( )

Member Function Documentation

◆ appendHit() [1/3]

void KalFitSuper_Mdc::appendHit ( KalFitWire * h)
inline

append a wireHit to the list of hits of the superlayer

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitSuper_Mdc.h.

59{ _wireHits.append( h ); }

◆ appendHit() [2/3]

void KalFitSuper_Mdc::appendHit ( KalFitWire * )

append a wireHit to the list of hits of the superlayer

◆ appendHit() [3/3]

void KalFitSuper_Mdc::appendHit ( KalFitWire * )

append a wireHit to the list of hits of the superlayer

◆ clear() [1/3]

void KalFitSuper_Mdc::clear ( void )

clear object

Definition at line 33 of file KalFitSuper_Mdc.cxx.

33 {
34 if ( _wireHits.length() )
35 {
36 register KalFitWire** hptr = _wireHits.firstPtr();
37 KalFitWire** const last = _wireHits.lastPtr();
38 do {
39 ( **hptr ).state( WireHitInvalid );
40 } while ( (long)( hptr++ ) ^ (long)last );
41 _wireHits.clear();
42 }
43}

Referenced by ~KalFitSuper_Mdc().

◆ clear() [2/3]

void KalFitSuper_Mdc::clear ( void )

clear object

◆ clear() [3/3]

void KalFitSuper_Mdc::clear ( void )

clear object

◆ layerMaxId() [1/3]

const int KalFitSuper_Mdc::layerMaxId ( void ) const

returns layer max ID

Definition at line 51 of file KalFitSuper_Mdc.cxx.

51{ return ( _Nlayer - 1 ); }

◆ layerMaxId() [2/3]

const int KalFitSuper_Mdc::layerMaxId ( void ) const

returns layer max ID

◆ layerMaxId() [3/3]

const int KalFitSuper_Mdc::layerMaxId ( void ) const

returns layer max ID

◆ localMaxId() [1/3]

const int KalFitSuper_Mdc::localMaxId ( void ) const

returns local max ID

Definition at line 49 of file KalFitSuper_Mdc.cxx.

49{ return ( _Nwire - 1 ); }

◆ localMaxId() [2/3]

const int KalFitSuper_Mdc::localMaxId ( void ) const

returns local max ID

◆ localMaxId() [3/3]

const int KalFitSuper_Mdc::localMaxId ( void ) const

returns local max ID

◆ nLayer() [1/3]

const int KalFitSuper_Mdc::nLayer ( void ) const

returns number of layers

Definition at line 47 of file KalFitSuper_Mdc.cxx.

47{ return _Nlayer; }

◆ nLayer() [2/3]

const int KalFitSuper_Mdc::nLayer ( void ) const

returns number of layers

◆ nLayer() [3/3]

const int KalFitSuper_Mdc::nLayer ( void ) const

returns number of layers

◆ nWire() [1/3]

const int KalFitSuper_Mdc::nWire ( void ) const

returns number of wires

Definition at line 45 of file KalFitSuper_Mdc.cxx.

45{ return _Nwire; }

◆ nWire() [2/3]

const int KalFitSuper_Mdc::nWire ( void ) const

returns number of wires

◆ nWire() [3/3]

const int KalFitSuper_Mdc::nWire ( void ) const

returns number of wires

◆ superLayerId() [1/3]

const int KalFitSuper_Mdc::superLayerId ( void ) const

returns super-layer ID

Definition at line 53 of file KalFitSuper_Mdc.cxx.

53{ return _superLayerId; }

◆ superLayerId() [2/3]

const int KalFitSuper_Mdc::superLayerId ( void ) const

returns super-layer ID

◆ superLayerId() [3/3]

const int KalFitSuper_Mdc::superLayerId ( void ) const

returns super-layer ID


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