FD2ADSTUtil.h
Go to the documentation of this file.
1 #ifndef _RecDataWriterNG_FD2ADSTUtil_h_
2 #define _RecDataWriterNG_FD2ADSTUtil_h_
3 
4 #include <string>
5 #include <map>
6 
7 #include <TROOT.h>
8 
9 
10 class FDEvent;
11 class FdRecShower;
12 class RecEvent;
13 
14 namespace evt {
15  class Event;
16 }
17 
18 namespace fevt {
19  class FEvent;
20  class Eye;
21  class Pixel;
22 }
23 
24 namespace fdet {
25  class Eye;
26  class Telescope;
27 }
28 
29 namespace utl {
30  class Vector;
31  class Point;
32 }
33 
34 namespace otoa {
35 
36  namespace fd {
37 
40  std::map<int, bool> CalcMirrorTLTMap(const fevt::Eye& eye);
41  std::map<int, std::string> CalcMirrorTLTLabelMap(const fevt::Eye& eye);
42 
43  unsigned long long CalcMirrorsInEventBitField(const fevt::Eye& eye);
44  unsigned long long CalcMirrorsInDAQBitField(const fevt::Eye& eye);
45  std::map<UShort_t, Int_t> CalcMirrorTimeOffsetMap(const fevt::Eye& eye);
46 
49 
52 
56  double ConvertXToChi(const double x, const fdet::Eye& detEye,
57  const utl::Point& core,
58  const utl::Vector& axis,
59  const utl::Vector& sdp);
60 
62  double ConvertXToChi(const double x, const fdet::Telescope& detTel,
63  const utl::Point& core,
64  const utl::Vector& axis,
65  const utl::Vector& sdp);
66 
68  double LinearProfileFitChiSquare(const FdRecShower& recShower);
69 
71  double GetCalibrationConstant(const fevt::Pixel& evtpixel);
72 
73  }
74 
75 }
76 
77 
78 #endif
double ConvertXToChi(const double x, const fdet::Eye &detEye, const utl::Point &core, const utl::Vector &axis, const utl::Vector &sdp)
Definition: FD2ADSTUtil.cc:202
Point object.
Definition: Point.h:32
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
double GetCalibrationConstant(const fevt::Pixel &evtpixel)
Fetches the calibration constant for the given pixel.
Definition: FD2ADSTUtil.cc:302
Detector description interface for Eye-related data.
Definition: FDetector/Eye.h:45
std::map< int, bool > CalcMirrorTLTMap(const fevt::Eye &eye)
Definition: FD2ADSTUtil.cc:77
int fd
Definition: dump1090.h:233
std::map< int, std::string > CalcMirrorTLTLabelMap(const fevt::Eye &eye)
Definition: FD2ADSTUtil.cc:95
Fluorescence Detector Pixel event.
Definition: FEvent/Pixel.h:28
double LinearProfileFitChiSquare(const FdRecShower &recShower)
Calculates the chi2 of a linear fit to the fd profile.
Definition: FD2ADSTUtil.cc:281
bool UsingMieAttenuationDatabase()
Returns whether the Mie DB was used for the current event (i.e. current Detector...?)
Definition: FD2ADSTUtil.cc:162
Detector description interface for Telescope-related data.
unsigned long long CalcMirrorsInDAQBitField(const fevt::Eye &eye)
Definition: FD2ADSTUtil.cc:137
bool UsingGDASProfileDatabase()
Returns whether GDAS data was used for the current event (i.e. current Detector...?)
Definition: FD2ADSTUtil.cc:182
Vector object.
Definition: Vector.h:30
unsigned long long CalcMirrorsInEventBitField(const fevt::Eye &eye)
Definition: FD2ADSTUtil.cc:113
std::map< UShort_t, Int_t > CalcMirrorTimeOffsetMap(const fevt::Eye &eye)
Definition: FD2ADSTUtil.cc:150

, generated on Tue Sep 26 2023.