RdAirplaneArrivalDirectionSetter.h
Go to the documentation of this file.
1 #ifndef _RdAirplaneArrivalDirectionSetter_h_
2 #define _RdAirplaneArrivalDirectionSetter_h_
3 
4 #include "fwk/VModule.h"
5 #include "fwk/CentralConfig.h"
6 
7 #include "boost/filesystem.hpp"
8 #include "boost/lexical_cast.hpp"
9 
10 #include "evt/Event.h"
11 #include "evt/ShowerRecData.h"
12 #include "evt/ShowerRRecData.h"
13 
14 #include "revt/Station.h"
15 #include "revt/REvent.h"
16 #include "revt/Header.h"
17 #include "revt/StationRecData.h"
18 
19 #include "rdet/RDetector.h"
20 #include "rdet/Station.h"
21 
22 #include "utl/ErrorLogger.h"
23 #include "utl/AugerUnits.h"
24 #include "utl/PhysicalConstants.h"
25 #include "utl/PhysicalFunctions.h"
26 #include "utl/Branch.h"
27 #include "utl/UTMPoint.h"
28 #include "utl/UTCDateTime.h"
29 #include "utl/CoordinateSystem.h"
30 
31 #include <string>
32 #include <map>
33 
34 
35 namespace RdAirplane {
36 
37  class StationInfo;
38  class Ads_bDataBase;
39 
40  struct EventInfo {
41  EventInfo(std::string pEventId, std::string pAirplaneId, utl::Point pCoreCoodinates) :
42  eventId(pEventId),
43  airplaneId(pAirplaneId),
44  coreCoordinates(pCoreCoodinates) {}
45  std::string eventId;
46  std::string airplaneId;
48  };
49 
51  public:
52  typedef std::map<std::string,EventInfo> EventIdToEventInfoMap;
58 
59  private:
60  REGISTER_MODULE("RdAirplaneArrivalDirectionSetter", RdAirplaneArrivalDirectionSetter);
61  // do not initialize in ctor, because all the coordinate system stuff is not set up when the module is instantiated
65 
66 
67  bool _readInEventAirplaneAssociations(const std::string& pFile);
68  };
69 
70 }
71 
72 
73 #endif
Point object.
Definition: Point.h:32
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
EventInfo(std::string pEventId, std::string pAirplaneId, utl::Point pCoreCoodinates)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("RdAirplaneArrivalDirectionSetter", RdAirplaneArrivalDirectionSetter)

, generated on Tue Sep 26 2023.