UCUtil.h
Go to the documentation of this file.
1 #ifndef UCORRELATOR_UTIL_H
2 #define UCORRELATOR_UTIL_H
3 
4 class UsefulAdu5Pat;
5 class RawAnitaHeader;
6 #include "AnitaConventions.h"
7 
11 namespace UCorrelator
12 {
13 
14  class AnalysisConfig;
15 
17  double getWAISDt(const UsefulAdu5Pat * pat, const RawAnitaHeader *hdr, AnitaPol::AnitaPol_t pol = AnitaPol::kHorizontal, const AnalysisConfig * cfg = 0, double * distance = 0);
18 
20  double getSIPLEDt(const UsefulAdu5Pat * pat, const RawAnitaHeader *hdr, AnitaPol::AnitaPol_t pol = AnitaPol::kHorizontal, const AnalysisConfig * cfg = 0, double * distance = 0);
21 
22 
24  bool isWAISVPol(const UsefulAdu5Pat * pat, const RawAnitaHeader * hdr, const AnalysisConfig * cfg = 0) ;
25 
26 
28  bool isWAISHPol(const UsefulAdu5Pat * pat, const RawAnitaHeader * hdr, const AnalysisConfig * cfg = 0) ;
29 
31  bool isLDB(const RawAnitaHeader * hdr, const AnalysisConfig * cfg = 0) ;
32 
34  bool isSIPLEVPol(const UsefulAdu5Pat * pat, const RawAnitaHeader * hdr, const AnalysisConfig * cfg = 0) ;
35 
37  bool isSIPLEHPol(const UsefulAdu5Pat * pat, const RawAnitaHeader * hdr, const AnalysisConfig * cfg = 0) ;
38 
39 
40 
41  // /** Returns 0 if misses continent, 1 if it hits, 2 if it hits after adjusting theta */
42  // int traceBackToContinent(const UsefulAdu5Pat * pat, double phi, double theta,
43  // double * lat, double * lon, double *alt, double * theta_adjustment_required,
44  // double max_theta_adjustment = 1, int max_iter = 10);
45 
46 }
47 
48 #endif
bool isLDB(const RawAnitaHeader *hdr, const AnalysisConfig *cfg=0)
Definition: Util.cc:92
bool isWAISVPol(const UsefulAdu5Pat *pat, const RawAnitaHeader *hdr, const AnalysisConfig *cfg=0)
Definition: Util.cc:26
bool isWAISHPol(const UsefulAdu5Pat *pat, const RawAnitaHeader *hdr, const AnalysisConfig *cfg=0)
Definition: Util.cc:39
double getSIPLEDt(const UsefulAdu5Pat *pat, const RawAnitaHeader *hdr, AnitaPol::AnitaPol_t pol=AnitaPol::kHorizontal, const AnalysisConfig *cfg=0, double *distance=0)
Definition: Util.cc:81
bool isSIPLEHPol(const UsefulAdu5Pat *pat, const RawAnitaHeader *hdr, const AnalysisConfig *cfg=0)
Definition: Util.cc:67
RawAnitaHeader – The Raw ANITA Event Header.
As UsefulAnitaEvent is to RawAnitaEvent, UsefulAdu5Pat is to Adu5Pat. Well not quite as useful but yo...
Definition: UsefulAdu5Pat.h:39
bool isSIPLEVPol(const UsefulAdu5Pat *pat, const RawAnitaHeader *hdr, const AnalysisConfig *cfg=0)
Definition: Util.cc:53
Horizontal Polarisation.
enum AnitaPol::EAnitaPol AnitaPol_t
Polarisation enumeration.
double getWAISDt(const UsefulAdu5Pat *pat, const RawAnitaHeader *hdr, AnitaPol::AnitaPol_t pol=AnitaPol::kHorizontal, const AnalysisConfig *cfg=0, double *distance=0)
Definition: Util.cc:14