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