1 #include <evt/RadioSimulation.h>
2 #include <utl/Vector.h>
3 #include <det/Detector.h>
4 #include <utl/LameShadowPtr_imp.h>
17 if (!fLocalCoordinateSystem.IsValid()) {
20 return fLocalCoordinateSystem.Get();
45 if (!fCorePosition.IsValid()) {
48 return fCorePosition.Get();
55 if (fSimRadioPulseVector.empty())
58 fPulseIter = fSimRadioPulseVector.begin();
68 if (!fPulseIter.IsValid())
69 fPulseIter = fSimRadioPulseVector.begin();
72 if (fPulseIter.Get() == fSimRadioPulseVector.end()) {
74 fPulseIter.SetValid(
false);
75 return *fPulseIter.Get();
void SetCorePosition(const utl::Point &core)
Set the core position of the RadioSimulation using an utl::Point.
#define LAMESHADOWPTR_INST(_T_...)
Base class for all exceptions used in the auger offline code.
const SimRadioPulse & GetSimPulseByIndex(const int index)
Data structure for simulated Radio pulses.
Data structure for a radio simulation (including several SimRadioPulses)
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
utl::Point GetCorePosition() const
Get the core position of the RadioSimulation as a utl::Point.
utl::CoordinateSystemPtr GetLocalCoordinateSystem() const
get local coordinate system anchored at the core position
void SetCoreCoordinates(const double x, const double y, const double z)
Set the core position coordinates of the RadioSimulation.
const SimRadioPulse & GetNextSimRadioPulse(bool &ok)
bool GoToFirstSimRadioPulse()
Jump to the first SimRadioPulse, returns false if the vector is empty.
static Policy::type Create(const utl::Point &theOrigin)
Create the standard local coordinate system for a Point.