2 #include <boost/format.hpp>
3 #include <sevt/SEvent.h>
4 #include <sevt/EventTrigger.h>
5 #include <sevt/Header.h>
6 #include <sevt/Station.h>
7 #include <sevt/StationRecData.h>
8 #include <sevt/Meteo.h>
9 #include <utl/ErrorLogger.h>
10 #include <utl/AugerException.h>
12 #include <utl/LameShadowPtr_imp.h>
21 for (
const auto p : fStations)
27 SEvent::operator=(
const SEvent& sEvent)
29 if (
this != &sEvent) {
31 for (
const auto p : fStations)
35 for (
const auto&
s : sEvent.StationsRange())
49 SEvent::GetStation(
const int id)
54 if (sIt->GetId() == id)
58 error <<
"Station " <<
id <<
" not present";
65 SEvent::MakeStation(
const int id)
70 error <<
"Station " <<
id <<
" already present";
76 fStations.push_back(
new Station(
id));
81 SEvent::HasStation(
const int id)
86 if (sIt->GetId() == id)
102 SEvent::MakeTrigger()
105 ERROR(
"Trigger Object already present - Not replacing");
112 SEvent::MakeSimData()
115 ERROR(
"SimData Object already present - Not replacing");
125 ERROR(
"Meteo Object already present - Not replacing");
#define LAMESHADOWPTR_INST(_T_...)
Interface class to hold simulated data belonging to surface events.
Interface class to access to the SD part of an event.
Base class for exceptions trying to access non-existing components.
unsigned int fNErrorZeroStations
class to hold data at Station level
Interface class to access the Event Trigger (T3)
#define WARNING(message)
Macro for logging warning messages.
Weather data from monitoring information.
utl::LameShadowPtr< EventTrigger > fTrigger
boost::indirect_iterator< InternalStationIterator, Station & > StationIterator
Iterator over all stations.
boost::indirect_iterator< InternalConstStationIterator, const Station & > ConstStationIterator
#define ERROR(message)
Macro for logging error messages.