FOVCalculator.h
Go to the documentation of this file.
1 #ifndef _RecDataWriterNG_FOVCalculator_h_
2 #define _RecDataWriterNG_FOVCalculator_h_
3 
5 #include <set>
6 #include <map>
7 #include <vector>
8 
9 
10 namespace fdet {
11  class Eye;
12 }
13 
14 namespace fevt {
15  class FEvent;
16 }
17 
18 namespace utl {
19  class Vector;
20  class Point;
21 }
22 
23 class RecEvent;
24 
25 namespace otoa {
26 
34  class FOVCalculator {
35 
36  public:
38  void FillFOVVariables(const fevt::FEvent& fEvent, RecEvent& recEvent);
39 
40  void CalculateXmaxErrors(RecEvent& recEvent);
41 
42  void SetUseBGLoop(const bool use) { fXmaxScanner.SetUseBGLoop(use); }
43 
44  private:
45  bool CalculateFOVBoundaries(const utl::Point& core,
46  const utl::Vector& axis,
47  const fdet::Eye& deteye,
48  const std::set<unsigned int>& telsInDAQ,
49  const std::set<unsigned int>& telsWithData,
50  const double zeta,
51  double& xLow, double& xUp);
52 
53  bool FdUpAndRunning() const;
54 
55  int fVerbosity = 0;
57 
58  };
59 
60 }
61 
62 
63 #endif
Point object.
Definition: Point.h:32
LongitudinalXmaxScanner fXmaxScanner
Definition: FOVCalculator.h:56
Detector description interface for Eye-related data.
Definition: FDetector/Eye.h:45
void CalculateXmaxErrors(RecEvent &recEvent)
bool CalculateFOVBoundaries(const utl::Point &core, const utl::Vector &axis, const fdet::Eye &deteye, const std::set< unsigned int > &telsInDAQ, const std::set< unsigned int > &telsWithData, const double zeta, double &xLow, double &xUp)
bool FdUpAndRunning() const
Top of Fluorescence Detector event hierarchy.
Definition: FEvent.h:33
read in ADST, let user do stuff, and write out a modfied one
Definition: FOVCalculator.h:34
void SetUseBGLoop(const bool use)
Definition: FOVCalculator.h:42
Vector object.
Definition: Vector.h:30
void FillFOVVariables(const fevt::FEvent &fEvent, RecEvent &recEvent)

, generated on Tue Sep 26 2023.