FdSDPFinder.h
Go to the documentation of this file.
1 
9 #ifndef _FdSDPFinderOG_FdSDPFinder_h_
10 #define _FdSDPFinderOG_FdSDPFinder_h_
11 
12 
13 namespace utl {class AxialVector;}
14 namespace fevt{
15  class Eye;
16  class Pixel;
17 }
18 
19 
20 #include <fwk/VModule.h>
21 #include <utl/Vector.h>
22 
23 
24 namespace FdSDPFinderOG {
25 
37  class FdSDPFinder :public fwk::VModule{
38 
39  public:
40 
44 
45  private:
46 
48  void RemoveNoise(fevt::Eye& eye);
49  void ReadmitPixel(fevt::Eye& eye);
50  void FindSDP(fevt::Eye& eye);
51  void EstimateChi_i(fevt::Eye& eye);
52  void RemoveOutliers(fevt::Eye& eye);
53  bool IsIsolated(const fevt::Pixel&, const fevt::Eye& eye ) ;
54 
55  static void MinuitFitFunc(int& npar, double *gin, double& f,
56  double *par, int iflag);
57 
58  static fevt::Eye * fCurEye;
59 
62 
64  double fSDPPhiError;
66  static double fChi2;
67  static unsigned int fNDof;
68 
70  unsigned int fMinPixels;
72  double fMaxDistance;
76 
79  bool fGoodEvent;
80  REGISTER_MODULE("FdSDPFinderOG",FdSDPFinder);
81  };
82 
83 
84 } // FdSDPFinderOG
85 
86 
87 #endif // _FdSDPFinderOG_FdSDPFinder_h_
88 
89 // Configure (x)emacs for this file ...
90 // Local Variables:
91 // mode:c++
92 // compile-command: "make -C .. FdSDPFinderOG/FdSDPFinder.o -k"
93 // End:
bool IsIsolated(const fevt::Pixel &, const fevt::Eye &eye)
Definition: FdSDPFinder.cc:556
static fevt::Eye * fCurEye
Definition: FdSDPFinder.h:58
void FindSDP(fevt::Eye &eye)
Definition: FdSDPFinder.cc:396
utl::AxialVector FindSDPFirstGuess(fevt::Eye &eye)
Definition: FdSDPFinder.cc:231
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
void EstimateChi_i(fevt::Eye &eye)
Definition: FdSDPFinder.cc:861
static unsigned int fNDof
Definition: FdSDPFinder.h:67
const unsigned int npar
Definition: UnivRec.h:75
void RemoveOutliers(fevt::Eye &eye)
Definition: FdSDPFinder.cc:688
Fluorescence Detector Pixel event.
Definition: FEvent/Pixel.h:28
double fIsolationLimit
Time limit for pixel isolation.
Definition: FdSDPFinder.h:78
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Definition: FdSDPFinder.cc:54
Module interface.
Definition: VModule.h:53
REGISTER_MODULE("FdSDPFinderOG", FdSDPFinder)
double fMaxDistance
maximum allowed distance of pixel from trial SDP
Definition: FdSDPFinder.h:72
void ReadmitPixel(fevt::Eye &eye)
Definition: FdSDPFinder.cc:520
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Definition: FdSDPFinder.cc:219
fwk::VModule::ResultFlag Run(evt::Event &event)
Definition: FdSDPFinder.cc:86
A simple SDP Finder.
Definition: FdSDPFinder.h:37
Vector object.
Definition: Vector.h:30
static void MinuitFitFunc(int &npar, double *gin, double &f, double *par, int iflag)
Definition: FdSDPFinder.cc:801
AxialVector object.
Definition: AxialVector.h:30
unsigned int fMinPixels
minimum number of pixels to perform reconstruction
Definition: FdSDPFinder.h:70
void RemoveNoise(fevt::Eye &eye)
Definition: FdSDPFinder.cc:493

, generated on Tue Sep 26 2023.