BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/KalFitAlg/include/KalFitAlg/KalFitSuper_Mdc.h
Go to the documentation of this file.
1#ifndef KalFitSuper_Mdc_FLAG_
2#define KalFitSuper_Mdc_FLAG_
3
4#include "KalFitAlg/KalFitList.h"
5
6class KalFitWire;
7class KalFitSuper_Mdc {
8public:
9 /// Constructors and destructor
10 KalFitSuper_Mdc( const int firstWireID, const int NWire, const int firstLayerID,
11 const int NLayer, const int superLayerID );
13
14public:
15 /// clear object
16 void clear( void );
17
18public: // Selectors
19 /// returns number of wires
20 const int nWire( void ) const;
21
22 /// returns number of layers
23 const int nLayer( void ) const;
24
25 /// returns layer max ID
26 const int layerMaxId( void ) const;
27
28 /// returns local max ID
29 const int localMaxId( void ) const;
30
31 /// returns super-layer ID
32 const int superLayerId( void ) const;
33
34 /// append a wireHit to the list of hits of the superlayer
36
37private: // static data members
38 static const unsigned int _neighborsMask[6];
39
40private: // private data members
41 const int _superLayerId;
42 const int _firstWireId;
43 const int _Nwire;
44 const int _firstLayerId;
45 const int _Nlayer;
46 KalFitList<KalFitWire*>& _wireHits;
47 KalFitList<KalFitWire*>& _singleHits;
48};
49
50#ifdef KalFitSuper_Mdc_NO_INLINE
51# define inline
52#else
53# undef inline
54# define KalFitSuper_Mdc_INLINE_DEFINE_HERE
55#endif
56
57#ifdef KalFitSuper_Mdc_INLINE_DEFINE_HERE
58
59inline void KalFitSuper_Mdc::appendHit( KalFitWire* h ) { _wireHits.append( h ); }
60
61#endif
62#undef inline
63
64#endif /* KalFitSuper_Mdc_FLAG_ */
int append(T x)
append an object into the end of the list
void appendHit(KalFitWire *)
append a wireHit to the list of hits of the superlayer
const int localMaxId(void) const
returns local max ID
KalFitSuper_Mdc(const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID)
Constructors and destructor.
const int superLayerId(void) const
returns super-layer ID
const int nLayer(void) const
returns number of layers
const int nWire(void) const
returns number of wires
const int layerMaxId(void) const
returns layer max ID
void clear(void)
clear object