CbmRoot
CbmL1CATrdTrackFinderSA.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // ----- CbmL1CATrdTrackFinderSA -----
3 // ----- Created 2/12/2006 by A. Bubak & M. Krauze -----
4 // -----------------------------------------------------------------------
5 
12 #ifndef CBML1CATRDTRACKFINDERSA_HITS
13 #define CBML1CATRDTRACKFINDERSA_HITS
14 
15 #include "CbmTrdTrackFinder.h"
16 
17 #include "CbmTrdTrack.h"
18 
19 #include "TStopwatch.h"
20 #include <map>
21 #include <set>
22 #include <vector>
23 
24 class TClonesArray;
25 class CbmTrdHit;
26 class CbmKF;
27 class CbmKFTrack;
28 class TH1F;
29 class TH2F;
30 class CbmGeoTrdPar;
32 class CbmL1TrdTracklet;
33 class CbmL1TrdTracklet4;
34 
36 private:
39 
40 public:
43 
45  virtual ~CbmL1CATrdTrackFinderSA();
46 
47 
50 
52  void Init();
53 
55  Int_t DoFind(TClonesArray* hitArray, TClonesArray* trackArray);
56 
57  struct Layer {
58  Layer() {}
59  Double_t X[12];
60  Double_t Y[12];
61  Double_t Z[12];
62  Double_t scale[12];
64 
65  Int_t fNTrdHits;
66 
70 
72  struct LayerWithHits {
74  : hitIndex(0), mcTrackID(0), X(0), Y(0), Z(0), DX(0), DY(0), planeID(0) {}
75  Int_t hitIndex;
76  Int_t mcTrackID;
77  Double_t X;
78  Double_t Y;
79  Double_t Z;
80  Double_t DX;
81  Double_t DY;
82  Int_t planeID;
84 
85  //--- vector with hits which belong to given trd plane
86  std::vector<LayerWithHits> fvTrdHitArr[12];
87  std::vector<LayerWithHits> fvTrdPointArr[12];
88 
89  std::vector<LayerWithHits>::iterator fivTrdHitArr;
90 
92  TClonesArray* fArrayTrdHit;
93  TClonesArray* fArrayTrdTrack;
94 
95 private:
96  CbmGeoTrdPar* TrdPar;
97 
99  Int_t fEvents;
100  Int_t fNofEvents;
101 
103  TClonesArray* fMCTrackArray;
104  TClonesArray* fMCPointArray;
105 
108 
110  Int_t fVerbose;
111 
113  Int_t fNoTrdHits[12];
114  Int_t fTrdHitIndex[12][10000];
115 
117  std::vector<CbmTrdTrack*> fvTempArray;
118  std::vector<CbmTrdTrack*> fvFoundTracks;
119 
120  inline static Bool_t CompareY(LayerWithHits A, LayerWithHits B) {
121  return (A.Y < B.Y);
122  };
123 
127  Double_t Chi2;
128  Int_t M[12];
130 
131  inline static Bool_t CompareChi2(TempTrackStruct A, TempTrackStruct B) {
132  return (A.Chi2 < B.Chi2);
133  };
134 
135 
136  // iterators to vectors
137  std::vector<Int_t>::iterator iStation1;
138  std::vector<Int_t>::iterator iStation2;
139 
140  std::vector<Int_t>::iterator fImapSt1;
141  std::vector<Int_t>::iterator fImapSt2;
142 
143  std::vector<CbmL1TrdTracklet4*>::iterator itTrackletsLeft;
144  std::vector<CbmL1TrdTracklet4*>::iterator itTrackletsRight;
145 
147  Double_t iHitMapY1, iHitMapY2;
148 
151 
152  CbmKFTrack* fKfTrack; // KF track
153 
158 
163 
164  void DeleteTracklets(std::vector<CbmL1TrdTracklet4*> vect);
165  void DeleteTracklets(std::vector<CbmL1TrdTracklet*> vect);
166 
167  Double_t
168  DistTwoTrackletsX(Int_t iIndexFirst, Int_t iIndexSecond, Double_t zed);
169 
170  Double_t
171  DistTwoTrackletsY(Int_t iIndexFirst, Int_t iIndexSecond, Double_t zed);
172 
173  void CreateSpacePoints(std::vector<LayerWithHits> vTrdHitArrayA,
174  std::vector<LayerWithHits> vTrdHitArrayB,
175  std::vector<CbmL1TrdTracklet*>& clSpacePointsAB,
176  Double_t sigmaA,
177  Double_t sigmaB);
178 
179  void CreateSegments(std::vector<CbmL1TrdTracklet*> clSpacePointsAB,
180  std::vector<CbmL1TrdTracklet*> clSpacePointsCD,
181  std::vector<CbmL1TrdTracklet4*>& clTrackletsAD,
182  Double_t dX,
183  Double_t dY);
184 
185  void TagSegments(std::vector<CbmL1TrdTracklet4*>& clTrackletsA,
186  std::vector<CbmL1TrdTracklet4*>& clTrackletsB,
187  Int_t noCombSegments = 0);
188 
189  void CreateTracks(std::vector<CbmL1TrdTracklet4*> clTracklets14,
190  std::vector<CbmL1TrdTracklet4*> clTracklets58,
191  std::vector<CbmL1TrdTracklet4*> clTracklets912,
192  std::set<Int_t>& setUsedHits,
193  Bool_t removeUsedHits,
194  Bool_t competition = true,
195  Int_t nrLoop = 0);
196 
197  void CreateAndManageSegments(std::vector<CbmL1TrdTracklet4*> clTracklets14,
198  std::vector<CbmL1TrdTracklet4*> clTracklets58,
199  std::vector<CbmL1TrdTracklet4*> clTracklets912);
200 
201  Bool_t OverlapsHitsXY(Int_t posA, Int_t posB);
202 
203  void FindNeighbour(std::vector<CbmL1TrdTracklet4*>& v1,
204  std::vector<CbmL1TrdTracklet4*>& v2,
205  Double_t dY,
206  Double_t dX);
207 
209  Double_t FitLinear(CbmTrdTrack* tr,
210  Int_t var); //var = {1,2} => which coordinate to use
211  Double_t FitLinear(Int_t M[],
212  Int_t var); //var = {1,2} => which coordinate to use
213  Double_t Fit(CbmTrdTrack* tr);
214  Double_t Fit(Int_t M[]);
215  Double_t FitKF(CbmTrdTrack* pTrack);
216  Double_t FitTLinearFitter(Int_t M[]);
217  Double_t FitLSM(Int_t M[]);
218 
219 
221  Bool_t Rejection(Double_t Procent, Int_t num = 100);
222 
224  Int_t PdgToCharge(Int_t pdgCode);
225 
227  void CreateHistogramms();
228 
230  void DataBranches();
231 
233  void TrdLayout();
234 
235 public:
237  void WriteHistogramms();
238 
240  inline const Int_t& GetVerbose() const { return fVerbose; };
241 
243  inline void SetVerbose(const Int_t& verbose) { fVerbose = verbose; };
244 
246  TH1F* fh_chi2hit;
248 
249  // Histogramms for the distance cuts
250  TH1F* fDistLongX;
251  TH1F* fDistLongY;
252  TH1F* fDistShortX;
253  TH1F* fDistShortY;
254 
255  TH1F* fDistLongBX;
256  TH1F* fDistLongBY;
259 
260  TH1F* fDistY12;
261 
266 
271 
276 
277  TH1F* fDistY;
278  TH1F* fDistX;
279 
283 
284  TH1F* fSPlength;
285  TH1F* fSPlengthMC;
286 
287  TH1F* fYat0;
288  TH1F* fYat0MC;
289 
290  TH2F* fNoEvTime;
291 
294 
297 
299 
300 
301  std::map<Int_t, Int_t> fRUsedHits;
302  std::map<Int_t, Int_t> fRUnUsedHits;
303  std::map<Int_t, Int_t> fTotHits;
304 
306  static Bool_t CompareChi2TrdTrack(const CbmTrdTrack* a,
307  const CbmTrdTrack* b) {
308  return (a->GetChiSq() / static_cast<Double_t>(a->GetNDF())
309  < b->GetChiSq() / static_cast<Double_t>(b->GetNDF()));
310  };
311 
313 };
314 
315 
316 #endif
CbmL1CATrdTrackFinderSA::iHitMap1
Int_t iHitMap1
Definition: CbmL1CATrdTrackFinderSA.h:146
CbmL1CATrdTrackFinderSA::totSortSPs
Double_t totSortSPs
Definition: CbmL1CATrdTrackFinderSA.h:160
CbmL1CATrdTrackFinderSA::totSecondLoopTime
Double_t totSecondLoopTime
Definition: CbmL1CATrdTrackFinderSA.h:161
CbmL1CATrdTrackFinderSA::DeleteTracklets
void DeleteTracklets(std::vector< CbmL1TrdTracklet4 * > vect)
Definition: CbmL1CATrdTrackFinderSA.cxx:1138
CbmL1CATrdTrackFinderSA::fDistLongX
TH1F * fDistLongX
Definition: CbmL1CATrdTrackFinderSA.h:250
CbmL1CATrdTrackFinderSA::fh_SP_yDiff_nMC
TH1F * fh_SP_yDiff_nMC
Definition: CbmL1CATrdTrackFinderSA.h:296
CbmL1CATrdTrackFinderSA::TrdPar
CbmGeoTrdPar * TrdPar
Definition: CbmL1CATrdTrackFinderSA.h:96
CbmTrack::GetChiSq
Double_t GetChiSq() const
Definition: CbmTrack.h:58
CbmL1CATrdTrackFinderSA::findNeighbour
TStopwatch findNeighbour
Definition: CbmL1CATrdTrackFinderSA.h:155
CbmL1CATrdTrackFinderSA::fMomDistShortPrimaryX
TH2F * fMomDistShortPrimaryX
Definition: CbmL1CATrdTrackFinderSA.h:272
CbmL1CATrdTrackFinderSA::fMomDistExtrapolExtraY
TH2F * fMomDistExtrapolExtraY
Definition: CbmL1CATrdTrackFinderSA.h:270
CbmL1CATrdTrackFinderSA::Layer
Definition: CbmL1CATrdTrackFinderSA.h:57
CbmL1CATrdTrackFinderSA::fImapSt1
std::vector< Int_t >::iterator fImapSt1
Definition: CbmL1CATrdTrackFinderSA.h:140
CbmL1CATrdTrackFinderSA::LayerWithHits::LayerWithHits
LayerWithHits()
Definition: CbmL1CATrdTrackFinderSA.h:73
CbmL1CATrdTrackFinderSA::fDistShortBX
TH1F * fDistShortBX
Definition: CbmL1CATrdTrackFinderSA.h:257
CbmL1CATrdTrackFinderSA::fVerbose
Int_t fVerbose
Definition: CbmL1CATrdTrackFinderSA.h:110
CbmL1CATrdTrackFinderSA::fvTempArray
std::vector< CbmTrdTrack * > fvTempArray
Definition: CbmL1CATrdTrackFinderSA.h:117
CbmL1CATrdTrackFinderSA::totRefittingKF
Double_t totRefittingKF
Definition: CbmL1CATrdTrackFinderSA.h:162
CbmL1CATrdTrackFinderSA::CbmL1CATrdTrackFinderSA
CbmL1CATrdTrackFinderSA(const CbmL1CATrdTrackFinderSA &)
CbmL1CATrdTrackFinderSA::fEvents
Int_t fEvents
Definition: CbmL1CATrdTrackFinderSA.h:99
CbmL1CATrdTrackFinderSA::fKfTrack
CbmKFTrack * fKfTrack
Definition: CbmL1CATrdTrackFinderSA.h:152
CbmL1CATrdTrackFinderSA::Fit
Double_t Fit(CbmTrdTrack *tr)
Definition: CbmL1CATrdTrackFinderSA.cxx:2753
CbmL1CATrdTrackFinderSA::fvFoundTracks
std::vector< CbmTrdTrack * > fvFoundTracks
Definition: CbmL1CATrdTrackFinderSA.h:118
CbmL1CATrdTrackFinderSA::Layer::Z
Double_t Z[12]
Definition: CbmL1CATrdTrackFinderSA.h:61
CbmL1CATrdTrackFinderSA::totSelectTracks
Double_t totSelectTracks
Definition: CbmL1CATrdTrackFinderSA.h:161
CbmL1CATrdTrackFinderSA::fh_SP_yDiff_MC
TH1F * fh_SP_yDiff_MC
Definition: CbmL1CATrdTrackFinderSA.h:293
CbmL1CATrdTrackFinderSA::Layer::Layer
Layer()
Definition: CbmL1CATrdTrackFinderSA.h:58
CbmL1CATrdTrackFinderSA::totTagTracks
Double_t totTagTracks
Definition: CbmL1CATrdTrackFinderSA.h:160
CbmTrdTrackFitterKF
Definition: CbmTrdTrackFitterKF.h:15
CbmL1CATrdTrackFinderSA::WriteHistogramms
void WriteHistogramms()
Definition: CbmL1CATrdTrackFinderSA.cxx:1436
CbmL1CATrdTrackFinderSA::fDistShortY
TH1F * fDistShortY
Definition: CbmL1CATrdTrackFinderSA.h:253
CbmL1CATrdTrackFinderSA::fNoTrdPerStation
Int_t fNoTrdPerStation
Definition: CbmL1CATrdTrackFinderSA.h:69
CbmL1CATrdTrackFinderSA::fMomDistLongExtraY
TH2F * fMomDistLongExtraY
Definition: CbmL1CATrdTrackFinderSA.h:265
CbmL1CATrdTrackFinderSA::fNTrdHits
Int_t fNTrdHits
Definition: CbmL1CATrdTrackFinderSA.h:65
CbmL1CATrdTrackFinderSA::CbmL1CATrdTrackFinderSA
CbmL1CATrdTrackFinderSA()
Definition: CbmL1CATrdTrackFinderSA.cxx:60
CbmL1CATrdTrackFinderSA::fPlane5Ydens
TH1F * fPlane5Ydens
Definition: CbmL1CATrdTrackFinderSA.h:281
CbmL1CATrdTrackFinderSA::sortHits
TStopwatch sortHits
Definition: CbmL1CATrdTrackFinderSA.h:156
CbmL1CATrdTrackFinderSA::DistTwoTrackletsX
Double_t DistTwoTrackletsX(Int_t iIndexFirst, Int_t iIndexSecond, Double_t zed)
Definition: CbmL1CATrdTrackFinderSA.cxx:1662
CbmTrdHit
data class for a reconstructed Energy-4D measurement in the TRD
Definition: CbmTrdHit.h:35
CbmL1CATrdTrackFinderSA::TempTrackStruct::TempTrackStruct
TempTrackStruct()
Definition: CbmL1CATrdTrackFinderSA.h:126
CbmL1CATrdTrackFinderSA::fMomDistExtrapolExtraX
TH2F * fMomDistExtrapolExtraX
Definition: CbmL1CATrdTrackFinderSA.h:269
CbmL1CATrdTrackFinderSA::TempTrackStruct
Definition: CbmL1CATrdTrackFinderSA.h:125
CbmL1TrdTracklet4
Definition: CbmL1TrdTracklet4.h:7
CbmL1CATrdTrackFinderSA::fNofEvents
Int_t fNofEvents
Definition: CbmL1CATrdTrackFinderSA.h:100
CbmL1CATrdTrackFinderSA::Init
void Init()
Definition: CbmL1CATrdTrackFinderSA.cxx:187
CbmKF
Definition: CbmKF.h:33
CbmL1CATrdTrackFinderSA::fArrayTrdTrack
TClonesArray * fArrayTrdTrack
Definition: CbmL1CATrdTrackFinderSA.h:93
CbmL1CATrdTrackFinderSA::totSortHits
Double_t totSortHits
Definition: CbmL1CATrdTrackFinderSA.h:160
CbmL1CATrdTrackFinderSA::fMomDistShortExtraY
TH2F * fMomDistShortExtraY
Definition: CbmL1CATrdTrackFinderSA.h:275
CbmTrdTrackFinder
Definition: CbmTrdTrackFinder.h:24
CbmL1CATrdTrackFinderSA::CreateAndManageSegments
void CreateAndManageSegments(std::vector< CbmL1TrdTracklet4 * > clTracklets14, std::vector< CbmL1TrdTracklet4 * > clTracklets58, std::vector< CbmL1TrdTracklet4 * > clTracklets912)
Definition: CbmL1CATrdTrackFinderSA.cxx:2639
CbmL1CATrdTrackFinderSA::planeHits
struct CbmL1CATrdTrackFinderSA::LayerWithHits planeHits
CbmL1CATrdTrackFinderSA::fDistShortBY
TH1F * fDistShortBY
Definition: CbmL1CATrdTrackFinderSA.h:258
CbmL1CATrdTrackFinderSA::CreateTracks
void CreateTracks(std::vector< CbmL1TrdTracklet4 * > clTracklets14, std::vector< CbmL1TrdTracklet4 * > clTracklets58, std::vector< CbmL1TrdTracklet4 * > clTracklets912, std::set< Int_t > &setUsedHits, Bool_t removeUsedHits, Bool_t competition=true, Int_t nrLoop=0)
Definition: CbmL1CATrdTrackFinderSA.cxx:1895
CbmL1CATrdTrackFinderSA::fMomDistShortExtraX
TH2F * fMomDistShortExtraX
Definition: CbmL1CATrdTrackFinderSA.h:274
CbmL1CATrdTrackFinderSA::LayerWithHits
Definition: CbmL1CATrdTrackFinderSA.h:72
CbmL1CATrdTrackFinderSA::OverlapsHitsXY
Bool_t OverlapsHitsXY(Int_t posA, Int_t posB)
Definition: CbmL1CATrdTrackFinderSA.cxx:1782
CbmL1CATrdTrackFinderSA::fNoEvTime
TH2F * fNoEvTime
Definition: CbmL1CATrdTrackFinderSA.h:290
CbmTrdTrackFinder.h
CbmL1CATrdTrackFinderSA::DataBranches
void DataBranches()
Definition: CbmL1CATrdTrackFinderSA.cxx:1255
CbmL1CATrdTrackFinderSA::iHitMapY2
Double_t iHitMapY2
Definition: CbmL1CATrdTrackFinderSA.h:147
CbmL1CATrdTrackFinderSA::fYat0MC
TH1F * fYat0MC
Definition: CbmL1CATrdTrackFinderSA.h:288
CbmL1CATrdTrackFinderSA::fInstance
static CbmL1CATrdTrackFinderSA * fInstance
Definition: CbmL1CATrdTrackFinderSA.h:49
CbmL1CATrdTrackFinderSA::fMCPointArray
TClonesArray * fMCPointArray
Definition: CbmL1CATrdTrackFinderSA.h:104
CbmL1CATrdTrackFinderSA::doFind
TStopwatch doFind
Definition: CbmL1CATrdTrackFinderSA.h:156
CbmL1CATrdTrackFinderSA::fDistShortX
TH1F * fDistShortX
Definition: CbmL1CATrdTrackFinderSA.h:252
CbmL1CATrdTrackFinderSA::FitLSM
Double_t FitLSM(Int_t M[])
Definition: CbmL1CATrdTrackFinderSA.cxx:3029
CbmL1CATrdTrackFinderSA::tagTracks
TStopwatch tagTracks
Definition: CbmL1CATrdTrackFinderSA.h:156
CbmL1CATrdTrackFinderSA::iHitMap2
Int_t iHitMap2
Definition: CbmL1CATrdTrackFinderSA.h:146
CbmL1CATrdTrackFinderSA::fMomDistShortPrimaryY
TH2F * fMomDistShortPrimaryY
Definition: CbmL1CATrdTrackFinderSA.h:273
CbmL1CATrdTrackFinderSA::refittingKF
TStopwatch refittingKF
Definition: CbmL1CATrdTrackFinderSA.h:157
CbmL1CATrdTrackFinderSA::CompareChi2TrdTrack
static Bool_t CompareChi2TrdTrack(const CbmTrdTrack *a, const CbmTrdTrack *b)
Definition: CbmL1CATrdTrackFinderSA.h:306
CbmL1CATrdTrackFinderSA::delTime
TStopwatch delTime
Definition: CbmL1CATrdTrackFinderSA.h:156
CbmL1CATrdTrackFinderSA::createSPs_SL
TStopwatch createSPs_SL
Definition: CbmL1CATrdTrackFinderSA.h:155
CbmL1CATrdTrackFinderSA::iHitMapY1
Double_t iHitMapY1
Definition: CbmL1CATrdTrackFinderSA.h:147
CbmL1CATrdTrackFinderSA::CreateSegments
void CreateSegments(std::vector< CbmL1TrdTracklet * > clSpacePointsAB, std::vector< CbmL1TrdTracklet * > clSpacePointsCD, std::vector< CbmL1TrdTracklet4 * > &clTrackletsAD, Double_t dX, Double_t dY)
Definition: CbmL1CATrdTrackFinderSA.cxx:2221
CbmL1CATrdTrackFinderSA::LayerWithHits::planeID
Int_t planeID
Definition: CbmL1CATrdTrackFinderSA.h:82
CbmL1CATrdTrackFinderSA::CreateSpacePoints
void CreateSpacePoints(std::vector< LayerWithHits > vTrdHitArrayA, std::vector< LayerWithHits > vTrdHitArrayB, std::vector< CbmL1TrdTracklet * > &clSpacePointsAB, Double_t sigmaA, Double_t sigmaB)
Definition: CbmL1CATrdTrackFinderSA.cxx:2469
CbmL1CATrdTrackFinderSA::LayerWithHits::DX
Double_t DX
Definition: CbmL1CATrdTrackFinderSA.h:80
CbmL1CATrdTrackFinderSA::CompareY
static Bool_t CompareY(LayerWithHits A, LayerWithHits B)
Definition: CbmL1CATrdTrackFinderSA.h:120
CbmL1CATrdTrackFinderSA::TrdLayout
void TrdLayout()
Definition: CbmL1CATrdTrackFinderSA.cxx:1275
CbmL1CATrdTrackFinderSA::LayerWithHits::X
Double_t X
Definition: CbmL1CATrdTrackFinderSA.h:77
CbmL1CATrdTrackFinderSA::LayerWithHits::mcTrackID
Int_t mcTrackID
Definition: CbmL1CATrdTrackFinderSA.h:76
CbmL1CATrdTrackFinderSA::DistTwoTrackletsY
Double_t DistTwoTrackletsY(Int_t iIndexFirst, Int_t iIndexSecond, Double_t zed)
Definition: CbmL1CATrdTrackFinderSA.cxx:1620
CbmL1CATrdTrackFinderSA::sortSPs
TStopwatch sortSPs
Definition: CbmL1CATrdTrackFinderSA.h:155
CbmL1CATrdTrackFinderSA::tempTrack
struct CbmL1CATrdTrackFinderSA::TempTrackStruct tempTrack
CbmL1CATrdTrackFinderSA::GetVerbose
const Int_t & GetVerbose() const
Definition: CbmL1CATrdTrackFinderSA.h:240
CbmL1CATrdTrackFinderSA::fDistY12
TH1F * fDistY12
Definition: CbmL1CATrdTrackFinderSA.h:260
CbmL1CATrdTrackFinderSA::itTrackletsRight
std::vector< CbmL1TrdTracklet4 * >::iterator itTrackletsRight
Definition: CbmL1CATrdTrackFinderSA.h:144
CbmL1CATrdTrackFinderSA::fArrayTrdHit
TClonesArray * fArrayTrdHit
Definition: CbmL1CATrdTrackFinderSA.h:92
CbmL1CATrdTrackFinderSA::fUnUsedHitsPerPlane
TH1F * fUnUsedHitsPerPlane
Definition: CbmL1CATrdTrackFinderSA.h:298
CbmL1CATrdTrackFinderSA::iStation1
std::vector< Int_t >::iterator iStation1
Definition: CbmL1CATrdTrackFinderSA.h:133
CbmL1CATrdTrackFinderSA::fvTrdHitArr
std::vector< LayerWithHits > fvTrdHitArr[12]
Definition: CbmL1CATrdTrackFinderSA.h:86
CbmL1CATrdTrackFinderSA::DoFind
Int_t DoFind(TClonesArray *hitArray, TClonesArray *trackArray)
Definition: CbmL1CATrdTrackFinderSA.cxx:224
CbmL1CATrdTrackFinderSA::fMomDistExtrapolPrimaryY
TH2F * fMomDistExtrapolPrimaryY
Definition: CbmL1CATrdTrackFinderSA.h:268
CbmL1CATrdTrackFinderSA::fh_chi2hit_plane
TH2F * fh_chi2hit_plane
Definition: CbmL1CATrdTrackFinderSA.h:247
CbmL1CATrdTrackFinderSA::totCreateTracks
Double_t totCreateTracks
Definition: CbmL1CATrdTrackFinderSA.h:160
CbmL1CATrdTrackFinderSA::fTrd21_Z
Double_t fTrd21_Z
Definition: CbmL1CATrdTrackFinderSA.h:150
CbmL1CATrdTrackFinderSA::fNoTrdStations
Int_t fNoTrdStations
Definition: CbmL1CATrdTrackFinderSA.h:68
CbmL1CATrdTrackFinderSA::TempTrackStruct::M
Int_t M[12]
Definition: CbmL1CATrdTrackFinderSA.h:128
CbmTrack::GetNDF
Int_t GetNDF() const
Definition: CbmTrack.h:59
CbmL1CATrdTrackFinderSA::totDelTime
Double_t totDelTime
Definition: CbmL1CATrdTrackFinderSA.h:161
CbmL1CATrdTrackFinderSA::createSPs
TStopwatch createSPs
Definition: CbmL1CATrdTrackFinderSA.h:155
CbmL1CATrdTrackFinderSA::geoLayer
struct CbmL1CATrdTrackFinderSA::Layer geoLayer
CbmL1CATrdTrackFinderSA::fTrd24_Z
Double_t fTrd24_Z
Definition: CbmL1CATrdTrackFinderSA.h:150
CbmL1CATrdTrackFinderSA::fMCTrackArray
TClonesArray * fMCTrackArray
Definition: CbmL1CATrdTrackFinderSA.h:103
CbmL1CATrdTrackFinderSA::fh_chi2hit
TH1F * fh_chi2hit
Definition: CbmL1CATrdTrackFinderSA.h:243
CbmL1CATrdTrackFinderSA::Instance
static CbmL1CATrdTrackFinderSA * Instance()
Definition: CbmL1CATrdTrackFinderSA.h:48
CbmL1CATrdTrackFinderSA::createTracks
TStopwatch createTracks
Definition: CbmL1CATrdTrackFinderSA.h:156
CbmL1CATrdTrackFinderSA::fTotHits
std::map< Int_t, Int_t > fTotHits
Definition: CbmL1CATrdTrackFinderSA.h:303
CbmL1CATrdTrackFinderSA::operator=
CbmL1CATrdTrackFinderSA operator=(const CbmL1CATrdTrackFinderSA &)
CbmL1CATrdTrackFinderSA::fMomDistLongExtraX
TH2F * fMomDistLongExtraX
Definition: CbmL1CATrdTrackFinderSA.h:264
CbmL1CATrdTrackFinderSA::Layer::scale
Double_t scale[12]
Definition: CbmL1CATrdTrackFinderSA.h:62
CbmL1CATrdTrackFinderSA::trdTrackFitterKF
CbmTrdTrackFitterKF * trdTrackFitterKF
Definition: CbmL1CATrdTrackFinderSA.h:107
CbmL1CATrdTrackFinderSA::fYat0
TH1F * fYat0
Definition: CbmL1CATrdTrackFinderSA.h:287
CbmL1CATrdTrackFinderSA::fDistLongBY
TH1F * fDistLongBY
Definition: CbmL1CATrdTrackFinderSA.h:256
CbmL1CATrdTrackFinderSA::fPlane1Ydens
TH1F * fPlane1Ydens
Definition: CbmL1CATrdTrackFinderSA.h:280
CbmTrdTrack
Definition: CbmTrdTrack.h:22
CbmL1CATrdTrackFinderSA::fMomDistLongPrimaryY
TH2F * fMomDistLongPrimaryY
Definition: CbmL1CATrdTrackFinderSA.h:263
CbmL1CATrdTrackFinderSA::Layer::X
Double_t X[12]
Definition: CbmL1CATrdTrackFinderSA.h:59
CbmL1CATrdTrackFinderSA::fNoTrdHits
Int_t fNoTrdHits[12]
Definition: CbmL1CATrdTrackFinderSA.h:113
CbmL1CATrdTrackFinderSA::LayerWithHits::DY
Double_t DY
Definition: CbmL1CATrdTrackFinderSA.h:81
CbmL1CATrdTrackFinderSA::fImapSt2
std::vector< Int_t >::iterator fImapSt2
Definition: CbmL1CATrdTrackFinderSA.h:141
CbmL1CATrdTrackFinderSA::fDistLongY
TH1F * fDistLongY
Definition: CbmL1CATrdTrackFinderSA.h:251
CbmL1CATrdTrackFinderSA::fRUnUsedHits
std::map< Int_t, Int_t > fRUnUsedHits
Definition: CbmL1CATrdTrackFinderSA.h:302
CbmL1CATrdTrackFinderSA::LayerWithHits::Y
Double_t Y
Definition: CbmL1CATrdTrackFinderSA.h:78
CbmL1CATrdTrackFinderSA::PdgToCharge
Int_t PdgToCharge(Int_t pdgCode)
Definition: CbmL1CATrdTrackFinderSA.cxx:3191
CbmL1CATrdTrackFinderSA::fTrd31_Z
Double_t fTrd31_Z
Definition: CbmL1CATrdTrackFinderSA.h:150
CbmL1CATrdTrackFinderSA::fSPlengthMC
TH1F * fSPlengthMC
Definition: CbmL1CATrdTrackFinderSA.h:285
CbmL1CATrdTrackFinderSA::CompareChi2
static Bool_t CompareChi2(TempTrackStruct A, TempTrackStruct B)
Definition: CbmL1CATrdTrackFinderSA.h:131
CbmL1CATrdTrackFinderSA::TempTrackStruct::Chi2
Double_t Chi2
Definition: CbmL1CATrdTrackFinderSA.h:126
CbmL1CATrdTrackFinderSA::fTrdHitIndex
Int_t fTrdHitIndex[12][10000]
Definition: CbmL1CATrdTrackFinderSA.h:114
CbmL1CATrdTrackFinderSA::FitTLinearFitter
Double_t FitTLinearFitter(Int_t M[])
Definition: CbmL1CATrdTrackFinderSA.cxx:3131
CbmL1CATrdTrackFinderSA::fDistY
TH1F * fDistY
Definition: CbmL1CATrdTrackFinderSA.h:277
CbmL1CATrdTrackFinderSA::createSegments
TStopwatch createSegments
Definition: CbmL1CATrdTrackFinderSA.h:155
CbmL1CATrdTrackFinderSA::iStation2
std::vector< Int_t >::iterator iStation2
Definition: CbmL1CATrdTrackFinderSA.h:138
CbmL1CATrdTrackFinderSA::CreateHistogramms
void CreateHistogramms()
Definition: CbmL1CATrdTrackFinderSA.cxx:1157
CbmL1CATrdTrackFinderSA::fUsedHitsPerPlane
TH1F * fUsedHitsPerPlane
Definition: CbmL1CATrdTrackFinderSA.h:298
CbmL1CATrdTrackFinderSA::FitKF
Double_t FitKF(CbmTrdTrack *pTrack)
Definition: CbmL1CATrdTrackFinderSA.cxx:3075
CbmL1CATrdTrackFinderSA::totCreateSPs_SL
Double_t totCreateSPs_SL
Definition: CbmL1CATrdTrackFinderSA.h:159
CbmL1CATrdTrackFinderSA::SetVerbose
void SetVerbose(const Int_t &verbose)
Definition: CbmL1CATrdTrackFinderSA.h:243
CbmL1CATrdTrackFinderSA::~CbmL1CATrdTrackFinderSA
virtual ~CbmL1CATrdTrackFinderSA()
Definition: CbmL1CATrdTrackFinderSA.cxx:176
CbmL1CATrdTrackFinderSA::fMomDistExtrapolPrimaryX
TH2F * fMomDistExtrapolPrimaryX
Definition: CbmL1CATrdTrackFinderSA.h:267
CbmL1CATrdTrackFinderSA::totCreateSPs
Double_t totCreateSPs
Definition: CbmL1CATrdTrackFinderSA.h:159
CbmL1CATrdTrackFinderSA::itTrackletsLeft
std::vector< CbmL1TrdTracklet4 * >::iterator itTrackletsLeft
Definition: CbmL1CATrdTrackFinderSA.h:143
CbmL1CATrdTrackFinderSA::totFindNeighbour
Double_t totFindNeighbour
Definition: CbmL1CATrdTrackFinderSA.h:159
CbmTrdTrack.h
CbmL1CATrdTrackFinderSA::selectTracks
TStopwatch selectTracks
Definition: CbmL1CATrdTrackFinderSA.h:156
CbmL1CATrdTrackFinderSA::fDistLongBX
TH1F * fDistLongBX
Definition: CbmL1CATrdTrackFinderSA.h:255
CbmL1CATrdTrackFinderSA::fRUsedHits
std::map< Int_t, Int_t > fRUsedHits
Definition: CbmL1CATrdTrackFinderSA.h:301
CbmKFTrack
Definition: CbmKFTrack.h:21
CbmL1CATrdTrackFinderSA::ClassDef
ClassDef(CbmL1CATrdTrackFinderSA, 1)
CbmL1CATrdTrackFinderSA::thirdLoopTime
TStopwatch thirdLoopTime
Definition: CbmL1CATrdTrackFinderSA.h:157
CbmL1CATrdTrackFinderSA::totCreateSegments
Double_t totCreateSegments
Definition: CbmL1CATrdTrackFinderSA.h:159
CbmL1CATrdTrackFinderSA::LayerWithHits::Z
Double_t Z
Definition: CbmL1CATrdTrackFinderSA.h:79
CbmL1CATrdTrackFinderSA::Rejection
Bool_t Rejection(Double_t Procent, Int_t num=100)
Definition: CbmL1CATrdTrackFinderSA.cxx:3299
CbmL1CATrdTrackFinderSA
Definition: CbmL1CATrdTrackFinderSA.h:35
CbmL1CATrdTrackFinderSA::Layer::Y
Double_t Y[12]
Definition: CbmL1CATrdTrackFinderSA.h:60
CbmL1CATrdTrackFinderSA::totThirdLoopTime
Double_t totThirdLoopTime
Definition: CbmL1CATrdTrackFinderSA.h:161
CbmL1CATrdTrackFinderSA::totDoFind
Double_t totDoFind
Definition: CbmL1CATrdTrackFinderSA.h:160
CbmL1CATrdTrackFinderSA::fvTrdPointArr
std::vector< LayerWithHits > fvTrdPointArr[12]
Definition: CbmL1CATrdTrackFinderSA.h:87
CbmL1CATrdTrackFinderSA::fSPlength
TH1F * fSPlength
Definition: CbmL1CATrdTrackFinderSA.h:284
CbmL1CATrdTrackFinderSA::fivTrdHitArr
std::vector< LayerWithHits >::iterator fivTrdHitArr
Definition: CbmL1CATrdTrackFinderSA.h:89
CbmL1CATrdTrackFinderSA::fh_SP_xDiff_MC
TH1F * fh_SP_xDiff_MC
Definition: CbmL1CATrdTrackFinderSA.h:292
CbmL1CATrdTrackFinderSA::LayerWithHits::hitIndex
Int_t hitIndex
Definition: CbmL1CATrdTrackFinderSA.h:75
CbmL1CATrdTrackFinderSA::secondLoopTime
TStopwatch secondLoopTime
Definition: CbmL1CATrdTrackFinderSA.h:157
CbmL1CATrdTrackFinderSA::fTrd14_Z
Double_t fTrd14_Z
Definition: CbmL1CATrdTrackFinderSA.h:150
CbmL1CATrdTrackFinderSA::fDistX
TH1F * fDistX
Definition: CbmL1CATrdTrackFinderSA.h:278
CbmL1CATrdTrackFinderSA::fTrd13_Z
Double_t fTrd13_Z
Definition: CbmL1CATrdTrackFinderSA.h:150
CbmL1CATrdTrackFinderSA::FindNeighbour
void FindNeighbour(std::vector< CbmL1TrdTracklet4 * > &v1, std::vector< CbmL1TrdTracklet4 * > &v2, Double_t dY, Double_t dX)
Definition: CbmL1CATrdTrackFinderSA.cxx:1703
CbmL1CATrdTrackFinderSA::fPlane9Ydens
TH1F * fPlane9Ydens
Definition: CbmL1CATrdTrackFinderSA.h:282
CbmL1TrdTracklet
Definition: CbmL1TrdTracklet.h:7
CbmL1CATrdTrackFinderSA::FitLinear
Double_t FitLinear(CbmTrdTrack *tr, Int_t var)
Definition: CbmL1CATrdTrackFinderSA.cxx:1523
CbmL1CATrdTrackFinderSA::fh_SP_xDiff_nMC
TH1F * fh_SP_xDiff_nMC
Definition: CbmL1CATrdTrackFinderSA.h:295
CbmL1CATrdTrackFinderSA::fMomDistLongPrimaryX
TH2F * fMomDistLongPrimaryX
Definition: CbmL1CATrdTrackFinderSA.h:262
CbmL1CATrdTrackFinderSA::TagSegments
void TagSegments(std::vector< CbmL1TrdTracklet4 * > &clTrackletsA, std::vector< CbmL1TrdTracklet4 * > &clTrackletsB, Int_t noCombSegments=0)
Definition: CbmL1CATrdTrackFinderSA.cxx:1831