1 | // $Id: RecoClustering.hh 2736 2006-06-11 16:04:19Z pesce $ |
---|
2 | // Author: R. Pesce 2006/06/05 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: RecoClustering * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __RECOCLUSTERING_HH__ |
---|
14 | #define __RECOCLUSTERING_HH__ |
---|
15 | |
---|
16 | #include <TObject.h> |
---|
17 | |
---|
18 | //////////////////////////////////////////////////////////////////////////////// |
---|
19 | // // |
---|
20 | // RecoClustering // |
---|
21 | // // |
---|
22 | // <brief class description> // |
---|
23 | // // |
---|
24 | //////////////////////////////////////////////////////////////////////////////// |
---|
25 | |
---|
26 | class RecoClustering : public TObject { |
---|
27 | public: |
---|
28 | RecoClustering(); |
---|
29 | // ctor |
---|
30 | |
---|
31 | virtual ~RecoClustering(); |
---|
32 | // dtor |
---|
33 | |
---|
34 | RecoClustering( const RecoClustering& ); |
---|
35 | //copy ctor |
---|
36 | |
---|
37 | virtual void Copy( TObject& ) const; |
---|
38 | //copy to a new obj |
---|
39 | |
---|
40 | void Clear(); |
---|
41 | //clear method |
---|
42 | |
---|
43 | //setters |
---|
44 | inline void SetNumPoints( Int_t n ) { fNumPoints = n; } |
---|
45 | inline void SetSignalFraction( Double_t f ) { fSignalFraction = f; } |
---|
46 | inline void SetSigFracOverThresh( Double_t f ) { fSigFracOverThresh = f; } |
---|
47 | inline void SetContamination( Double_t c ) { fContamination = c; } |
---|
48 | inline void SetContaminationInCluster( Double_t c ) { fContaminationInCluster = c; } |
---|
49 | inline void SetAbsDevMainTheta( Double_t ad ) { fAbsDevMainTheta = ad; } |
---|
50 | inline void SetAbsDevMainPhi( Double_t ad ) { fAbsDevMainPhi = ad; } |
---|
51 | |
---|
52 | //getters |
---|
53 | inline Int_t GetNumPoints() { return fNumPoints; } |
---|
54 | inline Double_t GetSignalFraction() { return fSignalFraction; } |
---|
55 | inline Double_t GetSigFracOverThresh() { return fSigFracOverThresh; } |
---|
56 | inline Double_t GetContamination() { return fContamination; } |
---|
57 | inline Double_t GetContaminationInCluster() { return fContaminationInCluster; } |
---|
58 | inline Double_t GetAbsDevMainTheta() { return fAbsDevMainTheta;} |
---|
59 | inline Double_t GetAbsDevMainPhi() { return fAbsDevMainPhi;} |
---|
60 | |
---|
61 | private: |
---|
62 | Int_t fNumPoints; |
---|
63 | Double_t fSignalFraction; // fraction of all signal in the selected pixels |
---|
64 | Double_t fSigFracOverThresh; // fraction of signal in the pixels over threshold |
---|
65 | // in the selected points |
---|
66 | Double_t fContamination; // percentual of pure noise pixels in the selected points |
---|
67 | Double_t fContaminationInCluster; // percetual of pure noise pixels in the main cluster |
---|
68 | |
---|
69 | // absolute deviations of the fit in theta-t and phi-t |
---|
70 | // of the main cluster |
---|
71 | Double_t fAbsDevMainTheta; |
---|
72 | Double_t fAbsDevMainPhi; |
---|
73 | |
---|
74 | ClassDef(RecoClustering,1) |
---|
75 | }; |
---|
76 | |
---|
77 | #endif /* __RECOCLUSTERING_HH__ */ |
---|
78 | |
---|