HdAxisFinder.h
Go to the documentation of this file.
1 
10 #ifndef _HdAxisFinderUU_HdAxisFinder_h_
11 #define _HdAxisFinderUU_HdAxisFinder_h_
12 
13 #include <fwk/VModule.h>
14 #include <utl/Vector.h>
15 #include <vector>
16 
17 namespace fevt {
18  class Eye;
19  class Pixel;
20 }
21 
22 namespace sevt{
23  class SEvent;
24 }
25 
26 
27 
28 
29 namespace HdAxisFinderUU {
30 
40  class HdAxisFinder :public fwk::VModule {
41 
42  public:
43 
47 
48  private:
49  void FindAxis(fevt::Eye& eye);
50  void FillPoints(fevt::Eye& eye);
51 
52  static void MinuitFitFunc(int& npar, double *gin, double& f,
53  double *par, int iflag);
54 
55  static utl::Vector fSDP;
56  static double fChi2;
57  static double fMyChiSquare;
58  static unsigned int fNDof;
59 
60  double fChi0;
61  double fChi0Error;
62  double fT0;
63  double fT0Error;
64  double fRp;
65  double fRpError;
66 
67  double fT0First;
68  double fChi0First;
69  double fRpFirst;
70 
78  unsigned int fMinPixels;
79 
80  static fevt::Eye * fCurEye;
82 
85 
86  REGISTER_MODULE("HdAxisFinderUU",HdAxisFinder);
87  };
88 
89 } // HdAxisFinderUU
90 
91 
92 #endif // _HdAxisFinderUU_HdAxisFinder_h_
93 
bool fMinuitFailed
flag failure of minuit
Definition: HdAxisFinder.h:84
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
Interface class to access to the SD part of an event.
Definition: SEvent.h:39
const unsigned int npar
Definition: UnivRec.h:75
void FillPoints(fevt::Eye &eye)
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Definition: HdAxisFinder.cc:66
static fevt::Eye * fCurEye
Definition: HdAxisFinder.h:80
Module interface.
Definition: VModule.h:53
static unsigned int fNDof
Definition: HdAxisFinder.h:58
static utl::Vector fSDP
Definition: HdAxisFinder.h:55
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Definition: HdAxisFinder.cc:92
static void MinuitFitFunc(int &npar, double *gin, double &f, double *par, int iflag)
Vector object.
Definition: Vector.h:30
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
the shower axis finder
Definition: HdAxisFinder.h:40
void FindAxis(fevt::Eye &eye)
static sevt::SEvent * fCurSEvent
Definition: HdAxisFinder.h:81
REGISTER_MODULE("HdAxisFinderUU", HdAxisFinder)

, generated on Tue Sep 26 2023.