CbmRoot
CbmRichParallelQa.h
Go to the documentation of this file.
1 
7 #ifndef CBMRICHPARALLELQA_H_
8 #define CBMRICHPARALLELQA_H_
9 
10 #include "CbmL1RichENNRingFinder.h"
11 #include "CbmRichRing.h"
12 #include "CbmRichRingFinderHough.h"
13 #include "FairTask.h"
14 
15 #include <vector>
16 
17 class CbmRichParallelQa : public FairTask {
18  TClonesArray* fRichRings; // Array of CbmRichRings
19  TClonesArray* fRichHits; // Array of CbmRichHits
20 
21  Int_t fEventNumber;
22  Double_t fExecTime;
23  static const int kMAX_NOF_THREADS = 80;
24  int fNofTasks;
26 
27  //CbmRichRingFinderHough* fHT[kMAX_NOF_THREADS];
29  std::vector<std::vector<CbmRichHoughHit>> fData;
30 
31 public:
33 
34  virtual ~CbmRichParallelQa();
35 
36  virtual InitStatus Init();
37 
38  virtual void Exec(Option_t* option);
39 
40  void DoTestWithTask();
41 
42  void SetNofTasks(int n) { fNofTasks = n; }
43 
44  void SetNofEvents(int n) { fNofEvents = n; }
45 
50 
55 
56  ClassDef(CbmRichParallelQa, 1)
57 };
58 
59 #endif
CbmL1RichENNRingFinder
Definition: CbmL1RichENNRingFinder.h:31
CbmRichParallelQa::fRichRings
TClonesArray * fRichRings
Definition: CbmRichParallelQa.h:18
CbmRichParallelQa::DoTestWithTask
void DoTestWithTask()
Definition: CbmRichParallelQa.cxx:198
CbmRichRing.h
CbmRichParallelQa::fData
std::vector< std::vector< CbmRichHoughHit > > fData
Definition: CbmRichParallelQa.h:29
CbmRichParallelQa::SetNofEvents
void SetNofEvents(int n)
Definition: CbmRichParallelQa.h:44
CbmRichParallelQa::Init
virtual InitStatus Init()
Definition: CbmRichParallelQa.cxx:131
CbmRichParallelQa::kMAX_NOF_THREADS
static const int kMAX_NOF_THREADS
Definition: CbmRichParallelQa.h:23
CbmRichRingFinderHough.h
Main class for ring finder based on Hough Transform implementation.
CbmRichParallelQa::SetNofTasks
void SetNofTasks(int n)
Definition: CbmRichParallelQa.h:42
CbmRichParallelQa
Definition: CbmRichParallelQa.h:17
CbmL1RichENNRingFinder.h
CbmRichParallelQa::Exec
virtual void Exec(Option_t *option)
Definition: CbmRichParallelQa.cxx:160
CbmRichParallelQa::fExecTime
Double_t fExecTime
Definition: CbmRichParallelQa.h:22
CbmRichParallelQa::operator=
CbmRichParallelQa & operator=(const CbmRichParallelQa &)
Assignment operator.
CbmRichParallelQa::CbmRichParallelQa
CbmRichParallelQa()
Definition: CbmRichParallelQa.cxx:119
CbmRichParallelQa::fNofTasks
int fNofTasks
Definition: CbmRichParallelQa.h:24
CbmRichParallelQa::fEventNumber
Int_t fEventNumber
Definition: CbmRichParallelQa.h:21
CbmRichParallelQa::fRichHits
TClonesArray * fRichHits
Definition: CbmRichParallelQa.h:19
CbmRichParallelQa::fHT
CbmL1RichENNRingFinder * fHT[kMAX_NOF_THREADS]
Definition: CbmRichParallelQa.h:28
CbmRichParallelQa::CbmRichParallelQa
CbmRichParallelQa(const CbmRichParallelQa &)
Copy constructor.
CbmRichParallelQa::fNofEvents
int fNofEvents
Definition: CbmRichParallelQa.h:25
CbmRichParallelQa::~CbmRichParallelQa
virtual ~CbmRichParallelQa()
Definition: CbmRichParallelQa.cxx:129