1 |
pam-fi |
1.1 |
/** |
2 |
|
|
* \file TrkHough.h |
3 |
|
|
* \author David Fedele |
4 |
|
|
*/ |
5 |
|
|
#ifndef trkhough_h |
6 |
|
|
#define trkhough_h |
7 |
|
|
|
8 |
|
|
#include <TObject.h> |
9 |
|
|
|
10 |
|
|
#include <TrkStruct.h> |
11 |
|
|
/** |
12 |
|
|
* \brief Class to describe Hough variables. |
13 |
|
|
*/ |
14 |
|
|
// ================================================================== |
15 |
|
|
class TrkHough : public TObject { |
16 |
|
|
|
17 |
|
|
private: |
18 |
|
|
|
19 |
|
|
public: |
20 |
|
|
|
21 |
|
|
Int_t ndblt; ///< number of doublets |
22 |
|
|
Float_t *alfayz1; //[ndblt] |
23 |
|
|
Float_t *alfayz2; //[ndblt] |
24 |
|
|
Int_t *db_cloud; //[ndblt] |
25 |
|
|
|
26 |
|
|
Int_t ntrpt; ///< number of triplets |
27 |
|
|
Float_t *alfaxz1; //[ntrpt] |
28 |
|
|
Float_t *alfaxz2; //[ntrpt] |
29 |
|
|
Float_t *alfaxz3; //[ntrpt] |
30 |
|
|
Int_t *tr_cloud; //[ntrpt] |
31 |
|
|
|
32 |
|
|
Int_t nclouds_yz; ///< number of yz clouds |
33 |
|
|
Float_t *alfayz1_av; //[nclouds_yz] |
34 |
|
|
Float_t *alfayz2_av; //[nclouds_yz] |
35 |
|
|
Int_t *ptcloud_yz; //[nclouds_yz] |
36 |
|
|
|
37 |
|
|
Int_t nclouds_xz; ///< number of xz clouds |
38 |
|
|
Float_t *alfaxz1_av; //[nclouds_xz] |
39 |
|
|
Float_t *alfaxz2_av; //[nclouds_xz] |
40 |
|
|
Float_t *alfaxz3_av; //[nclouds_xz] |
41 |
|
|
Int_t *ptcloud_xz; //[nclouds_xz] |
42 |
|
|
|
43 |
|
|
Int_t nclstr; |
44 |
|
|
Float_t totaltime; |
45 |
|
|
Float_t houghtime; |
46 |
|
|
Float_t fittime; |
47 |
|
|
|
48 |
|
|
TrkHough(); |
49 |
|
|
~TrkHough(); |
50 |
|
|
|
51 |
|
|
void SetFromHoughStruct(cTrkHough *); |
52 |
|
|
void Clear(); |
53 |
|
|
void Delete(); |
54 |
|
|
|
55 |
pam-fi |
1.2 |
TrkHough* GetTrkHough(){return this;} |
56 |
|
|
|
57 |
pam-fi |
1.1 |
ClassDef(TrkHough,2); |
58 |
|
|
|
59 |
|
|
}; |
60 |
|
|
|
61 |
|
|
#endif |