HOPS
HOPS class reference
MHO_FringeData.hh
Go to the documentation of this file.
1 #ifndef MHO_FringeData_HH__
2 #define MHO_FringeData_HH__
3 
4 //global messaging util
5 #include "MHO_Message.hh"
6 
7 //data/config passing classes
8 #include "MHO_ContainerStore.hh"
9 #include "MHO_ParameterStore.hh"
10 //needed to read hops files and extract objects from scan dir
11 #include "MHO_ScanDataStore.hh"
12 
13 #include "MHO_JSONHeaderWrapper.hh"
14 
15 namespace hops
16 {
17 
30 {
31  public:
33  virtual ~MHO_FringeData(){};
34 
41 
48 
55 
61  mho_json GetVex() const { return fScanStore.GetRootFileData(); }
62 
69 
76 
83 
97  static std::string ConstructFrngFileName(const std::string directory, const std::string& baseline,
98  const std::string& ref_station, const std::string& rem_station,
99  const std::string& frequency_group, const std::string& polprod,
100  const std::string& root_code, int seq_no);
101 
115  static std::string ConstructTempFileName(const std::string directory, const std::string& baseline,
116  const std::string& ref_station, const std::string& rem_station,
117  const std::string& frequency_group, const std::string& polprod,
118  const std::string& root_code, const std::string& temp_id);
119 
120  protected:
121  //data objects
122  MHO_ParameterStore fParameterStore; //stores various parameters using string keys
123  MHO_ScanDataStore fScanStore; //provides access to data associated with this scan
124  MHO_ContainerStore fContainerStore; //stores data containers for in-use data
125 
126  // mho_json fVexInfo;
129 
130  //plot data storage (could in theory be moved into plot visitors themselves)
132 };
133 
134 } // namespace hops
135 
136 #endif
nlohmann::json mho_json
Definition: MHO_JSONHeaderWrapper.hh:5
Class MHO_ContainerStore.
Definition: MHO_ContainerStore.hh:32
Class MHO_FringeData.
Definition: MHO_FringeData.hh:30
MHO_ParameterStore * GetParameterStore()
Getter for parameter store.
Definition: MHO_FringeData.hh:40
MHO_ScanDataStore fScanStore
Definition: MHO_FringeData.hh:123
mho_json & GetControlFormat()
access to the control format and parsed control statements (as json object)
Definition: MHO_FringeData.hh:68
mho_json fPlotData
Definition: MHO_FringeData.hh:131
mho_json fControlStatements
Definition: MHO_FringeData.hh:128
mho_json fControlFormat
Definition: MHO_FringeData.hh:127
MHO_ContainerStore fContainerStore
Definition: MHO_FringeData.hh:124
MHO_ScanDataStore * GetScanDataStore()
Getter for scan data store.
Definition: MHO_FringeData.hh:54
mho_json & GetControlStatements()
Getter for parsed control statements.
Definition: MHO_FringeData.hh:75
mho_json & GetPlotData()
Getter for plot data.
Definition: MHO_FringeData.hh:82
MHO_ContainerStore * GetContainerStore()
Getter for container store.
Definition: MHO_FringeData.hh:47
virtual ~MHO_FringeData()
Definition: MHO_FringeData.hh:33
MHO_ParameterStore fParameterStore
Definition: MHO_FringeData.hh:122
MHO_FringeData()
Definition: MHO_FringeData.hh:32
static std::string ConstructFrngFileName(const std::string directory, const std::string &baseline, const std::string &ref_station, const std::string &rem_station, const std::string &frequency_group, const std::string &polprod, const std::string &root_code, int seq_no)
Constructs a fringe file name string from given parameters.
Definition: MHO_FringeData.cc:6
mho_json GetVex() const
Getter for vex data (as json object)
Definition: MHO_FringeData.hh:61
static std::string ConstructTempFileName(const std::string directory, const std::string &baseline, const std::string &ref_station, const std::string &rem_station, const std::string &frequency_group, const std::string &polprod, const std::string &root_code, const std::string &temp_id)
Constructs a temporary file name using provided parameters and concatenation.
Definition: MHO_FringeData.cc:19
Class MHO_ParameterStore.
Definition: MHO_ParameterStore.hh:52
Class to catalog and organize data files that are associated with a single scan, and handle retrieval...
Definition: MHO_ScanDataStore.hh:28
mho_json GetRootFileData() const
Getter for root file data (as json)
Definition: MHO_ScanDataStore.cc:181
int baseline
Definition: fourfit3.c:62
Definition: MHO_AdhocFlagging.hh:18