HybridGeometryFinderOG/HybridGeometryFinder.h
Go to the documentation of this file.
1 
9 #ifndef _HybridGeometryFinderOG_HybridGeometryFinder_h_
10 #define _HybridGeometryFinderOG_HybridGeometryFinder_h_
11 
12 #include <fwk/VModule.h>
13 #include <utl/Vector.h>
14 #include <vector>
15 
16 namespace fevt {
17  class Eye;
18  class Pixel;
19 }
20 
21 // For Hybrid stuff
22 namespace sevt {
23  class SEvent;
24  class Station;
25 }
26 
27 
28 
29 
30 namespace HybridGeometryFinderOG {
31 
43 
44  public:
45 
49 
50  private:
51 
52  bool FindAxisHybrid(fevt::Eye& eye);
53  static void MinuitFitFuncHybrid(int& npar, double * const gin, double& f,
54  double* const par, const int iflag);
55  bool ReadmitPixel(fevt::Eye& eye);
56  bool RejectPixel(fevt::Eye& eye);
57 
58  static double fNsCorrection;
59 
60  static utl::Vector fSDP;
61  static double fChi2TimeFit;
62  static int fNDofTimeFit;
63 
64  static int fHybridCore;
65  static int fDebuging;
66 
67  static int fround;
68  static int fTriggeredStations;
69  static int fHotStationId;
70  static double fSdHybridOffset;
71  static double fStationAxisDistance;
72  static double fsignal_max;
73  static double fsignal_max_pre;
74  static double fDistanceStationSDP;
75  static double fVerticalCurvature;
77  double fTolerance;
79  double fSigmasLimit;
83  bool fOptimize;
84 
85  static int fCeleste;
86 
87  double fChi0;
88  double fChi0Error;
89  double fT0;
90  double fT0Error;
91  double fRp;
92  double fRpError;
93  double fCovariance[3][3];
94 
96 
99  double fChi0_test[2];
100  double fChi0Error_test[2];
101  double fT0_test[2];
102  double fT0Error_test[2];
103  double fRp_test[2];
104  double fRpError_test[2];
105  double fCovariance_test1[3][3];
106  double fCovariance_test2[3][3];
107  double fChi2TimeFit_test[2];
110  int fround_test[2];
111 
112  //FS June 2007
113  static bool fFoundAxis;
114 
115  static fevt::Eye * fCurEye;
116 
117  REGISTER_MODULE("HybridGeometryFinderOG",HybridGeometryFinder);
118  };
119 
120 } // HybridGeometryFinderOG
121 
122 
123 #endif // _HybridGeometryFinderOG_HybridGeometryFinder_h_
124 
125 // Configure (x)emacs for this file ...
126 // Local Variables:
127 // mode:c++
128 // compile-command: "make -C .. -k"
129 // End:
static void MinuitFitFuncHybrid(int &npar, double *const gin, double &f, double *const par, const int iflag)
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
const unsigned int npar
Definition: UnivRec.h:75
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
REGISTER_MODULE("HybridGeometryFinderOG", HybridGeometryFinder)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Vector object.
Definition: Vector.h:30
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.