#include <KalFitSuper_Mdc.h>
Public Member Functions | |
void | appendHit (KalFitWire *) |
append a wireHit to the list of hits of the superlayer | |
void | appendHit (KalFitWire *) |
append a wireHit to the list of hits of the superlayer | |
void | clear (void) |
clear object | |
void | clear (void) |
clear object | |
KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID) | |
Constructors and destructor. | |
KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID) | |
Constructors and destructor. | |
const int | layerMaxId (void) const |
returns layer max ID | |
const int | layerMaxId (void) const |
returns layer max ID | |
const int | localMaxId (void) const |
returns local max ID | |
const int | localMaxId (void) const |
returns local max ID | |
const int | nLayer (void) const |
returns number of layers | |
const int | nLayer (void) const |
returns number of layers | |
const int | nWire (void) const |
returns number of wires | |
const int | nWire (void) const |
returns number of wires | |
const int | superLayerId (void) const |
returns super-layer ID | |
const int | superLayerId (void) const |
returns super-layer ID | |
~KalFitSuper_Mdc () | |
~KalFitSuper_Mdc () | |
Private Attributes | |
const int | _firstLayerId |
const int | _firstWireId |
const int | _Nlayer |
const int | _Nwire |
KalFitList< KalFitWire * > & | _singleHits |
KalFitList< KalFitWire * > & | _singleHits |
const int | _superLayerId |
KalFitList< KalFitWire * > & | _wireHits |
KalFitList< KalFitWire * > & | _wireHits |
Static Private Attributes | |
const unsigned int | _neighborsMask [6] = {452,420,340,172,92,60} |
|
Constructors and destructor.
00020 : _superLayerId(superLayerID), 00021 _firstWireId(firstWireID), 00022 _Nwire(NWire), 00023 _firstLayerId(firstLayerID), 00024 _Nlayer(NLayer), 00025 _wireHits(*(new KalFitList<KalFitWire *>(500))), 00026 _singleHits(*(new KalFitList<KalFitWire *>(100))) 00027 { 00028 00029 }
|
|
00032 { 00033 clear(); 00034 delete &_wireHits; 00035 delete &_singleHits; 00036 }
|
|
Constructors and destructor.
|
|
|
|
append a wireHit to the list of hits of the superlayer
|
|
append a wireHit to the list of hits of the superlayer
|
|
clear object
|
|
clear object
00040 { 00041 if(_wireHits.length()){ 00042 register KalFitWire ** hptr = _wireHits.firstPtr(); 00043 KalFitWire ** const last = _wireHits.lastPtr(); 00044 do {(**hptr).state(WireHitInvalid);}while((int)(hptr++)^(int)last); 00045 _wireHits.clear(); 00046 } 00047 }
|
|
returns layer max ID
|
|
returns layer max ID
00068 { 00069 return (_Nlayer - 1); 00070 }
|
|
returns local max ID
|
|
returns local max ID
00062 { 00063 return (_Nwire - 1); 00064 }
|
|
returns number of layers
|
|
returns number of layers
00056 {
00057 return _Nlayer;
00058 }
|
|
returns number of wires
|
|
returns number of wires
00050 {
00051 return _Nwire;
00052 }
|
|
returns super-layer ID
|
|
returns super-layer ID
00074 {
00075 return _superLayerId;
00076 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|