FairRoot/PandaRoot
PndFtsHoughTrackerTaskQA.h
Go to the documentation of this file.
1 
15 #ifndef PndFtsHoughTrackerTaskQA_H
16 #define PndFtsHoughTrackerTaskQA_H
17 
18 #include "PndFtsHoughTrackerTask.h"
20 #include "FairTask.h"
21 #include <cmath>
22 #include <vector>
23 #include "Rtypes.h" // for Double_t, Int_t, etc
24 #include <iostream>
25 
26 #include "TVector3.h"
27 #include "PndFtsHit.h"
28 #include "TClonesArray.h"
29 #include "PndFtsTube.h"
30 
32 class PndFtsHoughSpace;
33 class PndGeoFtsPar;
34 class FairField;
35 
36 // For error reporting
37 #include "TString.h"
38 #include <stdexcept>
39 // for debugging
40 #include "FairMCPoint.h"
41 
43 {
44 public:
53 
55  virtual InitStatus Init();
57  virtual InitStatus ReInit();
58 
62  virtual void Exec(Option_t* opt);
64  virtual void FinishEvent();
65 
67  virtual void Finish();
68 
69 
71  void setNParabolasToFind(Int_t nParabolasToFind) { fNParabolasToFind = nParabolasToFind; };
72  // use this for parameter optimization
74 
75 
76 private:
77 
79  Int_t fNParabolasToFind; // defines how many parabolas I should find in the event
80  Int_t fNEvtsWithEnoughParabolas; // counts in how many events I have found >= fNParabolasToFind
81 
82  // TODO: I don't think I need the copy constructor and the operator=
85 
87 };
88 
89 #endif
void OverwriteTrackFinderParams(PndFtsHoughTrackFinderParams newParams)
PndFtsHoughTrackerTaskQA(Int_t verbose=0)
Constructor with flags. Can also be used as standard constructor.
Interface between PandaRoot (data input and output) and PndFtsHoughTrackFinder (implementation of PR ...
#define verbose
virtual void Exec(Option_t *opt)
Executed for each event.
void setNParabolasToFind(Int_t nParabolasToFind)
virtual void FinishEvent()
When is this executed? After each event?
Parameters for Hough space track finder. Created: 09.02.2015.
PndFtsHoughTrackFinderParams fTrackFinderParams
virtual InitStatus Init()
Initialization of task at the beginning of a run.
virtual void Finish()
Writes output to root file, I guess. Called at the end of the run.
For automatic parameter optimization. This class tries numerous parameters and prints out good combin...
PndFtsHoughTrackerTaskQA operator=(const PndFtsHoughTrackerTaskQA &)
ClassDef(PndFtsHoughTrackerTaskQA, 1)
Class for Hough space based on TH2S (for the moment). Saves the hits which enter this Hough space and...
Class for saving a FTS track cand. for Hough transform based FTS PR.
virtual InitStatus ReInit()
ReInitiliazation of task when the runID changes.