BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
FTSuperLayer.h
Go to the documentation of this file.
1#pragma once
2
3#include "MdcParameter.h"
4
5#include <array>
6#include <vector>
7using std::array;
8using std::vector;
9
10#include "FTList.h"
11#include "FTWire.h"
12
13class FTSegment;
14class FTFinder;
15
17public:
18 /// Constructors and destructor
19 FTSuperLayer( const int superLayerID, const int firstLayerID, const int firstWireID,
20 const int Nlayer, const int NWire );
22
23public:
24 /// clear object
25 void clear();
26
27 /// create segment lists
28 void mkSegmentList();
29
30 /// append wireHit to the list of hits
31 void appendHit( FTWire* );
32
33 /// append segments which are not used for tracks to the list for salvage
34 void reAppendSalvage();
35
36 /// calculate t0 and Chi2 from segment-fit in every superlayer
38
39public: // Selectors
40 /// returns wirehit list
42
43 /// returns segement list
46 /// returns number of wires
47 const int nWire() const;
48
49 /// returns number of layers
50 const int nLayer() const;
51
52 /// returns layer max ID
53 const int layerMaxId() const;
54
55 /// returns local max ID
56 const int localMaxId() const;
57
58 /// returns super-layer ID
59 const int superLayerId() const;
60
61 /// returns complecated segments
63
65
66 static const std::array<float, 11> _maxDphi;
67
68private:
69 /// clustering of wire-hits
70 void clustering();
71
72 /// conect short clusters to make segments
73 void connect_short_segments( FTList<FTSegment*>& inner_short,
74 FTList<FTSegment*>& outer_short );
75
76 /// connect single wireHit to make segments
77 void connect_singleHit( FTList<FTSegment*>& );
78
79private: // private data members
80 const int _superLayerId;
81 const int _firstLayerId;
82 const int _firstWireId;
83 const int _Nlayer;
84 const int _Nwire;
85
86 FTList<FTSegment*> _complicated_segments;
87 FTList<FTWire*> _wireHits;
88 FTList<FTWire*> _singleHits;
89 FTList<FTSegment*> _segments;
90};
Definition FTList.h:6
static MdcParameter * param
const FTList< FTWire * > & wireHits()
returns wirehit list
static const std::array< float, 11 > _maxDphi
FTList< FTSegment * > & segments()
returns segement list
const int layerMaxId() const
returns layer max ID
FTList< FTSegment * > & complecated_segments()
returns complecated segments
void clear()
clear object
const int nLayer() const
returns number of layers
void reduce_noise(FTList< FTList< float > > &)
calculate t0 and Chi2 from segment-fit in every superlayer
void reAppendSalvage()
append segments which are not used for tracks to the list for salvage
FTSuperLayer(const int superLayerID, const int firstLayerID, const int firstWireID, const int Nlayer, const int NWire)
Constructors and destructor.
const int superLayerId() const
returns super-layer ID
const int localMaxId() const
returns local max ID
const int nWire() const
returns number of wires
void appendHit(FTWire *)
append wireHit to the list of hits
void mkSegmentList()
create segment lists