Converts an Offline event to ADST SDEvent. More...
#include "RecDataWriterNG/SD2ADST.h"
Public Member Functions | |
void | Convert (const evt::Event &event, RecEvent &recEvent) const |
SD2ADST (const otoa::Config &config) | |
Private Member Functions | |
void | AddStations (const evt::Event &event, RecEvent &recEvent) const |
void | FillMPD (const evt::Event &theEvent, RecEvent &recEvent) const |
void | FillSEvent (const evt::Event &event, RecEvent &recEvent) const |
void | FillUniversality (const evt::Event &event, RecEvent &recEvent) const |
const otoa::Config & | GetConfig () const |
ETraceType | GetTraceType (const sevt::StationConstants::SignalComponent comp) const |
Private Attributes | |
const otoa::Config & | fConfig |
|
inline |
|
private |
Definition at line 127 of file SD2ADST.cc.
References utl::abs(), sdet::PMTConstants::eAnyType, sdet::PMTConstants::eHighGain, sevt::StationConstants::eLightning, sdet::PMTConstants::eLowGain, ERROR, sevt::StationConstants::eTotal, gain, GetConfig(), utl::AugerException::GetMessage(), evt::ShowerSimData::GetShowerCoordinateSystem(), evt::Event::GetSimShower(), evt::Event::HasRecShower(), evt::Event::HasSimShower(), utl::Is(), utl::kSpeedOfLight, utl::m, galactic::meter, utl::nanosecond, G4StationSimulatorOG::p, RPerp2(), sqrt(), and otoa::ToTVector3().
void SD2ADST::Convert | ( | const evt::Event & | event, |
RecEvent & | recEvent | ||
) | const |
Definition at line 116 of file SD2ADST.cc.
Referenced by otoa::Offline2ADST::Convert().
|
private |
Definition at line 940 of file SD2ADST.cc.
References evt::Event::HasRecShower().
|
private |
Definition at line 643 of file SD2ADST.cc.
References utl::abs(), ERROR, otoa::FillCelestialCoordinates(), utl::UTMPoint::GetEasting(), utl::UTMPoint::GetHeight(), utl::UTMPoint::GetNorthing(), evt::Event::HasRecShower(), utl::hPa, galactic::meter, utl::s, otoa::TimeStamp2HHMMSS(), otoa::TimeStamp2YYMMDD(), and otoa::ToTVector3().
|
private |
Definition at line 555 of file SD2ADST.cc.
References utl::cm2, ERROR, otoa::FillCelestialCoordinates(), utl::g, gcm2, utl::UTMPoint::GetEasting(), utl::UTMPoint::GetHeight(), utl::UTMPoint::GetNorthing(), evt::Event::HasRecShower(), galactic::meter, and otoa::ToTVector3().
|
inlineprivate |
|
private |
Definition at line 958 of file SD2ADST.cc.
References sevt::StationConstants::eElectron, sevt::StationConstants::eHadron, sevt::StationConstants::eMuon, sevt::StationConstants::ePhoton, sevt::StationConstants::eShowerLocalHadronElectron, sevt::StationConstants::eShowerLocalHadronPhoton, sevt::StationConstants::eShowerMuonDecayElectron, sevt::StationConstants::eShowerMuonDecayPhoton, sevt::StationConstants::eTotal, and sevt::StationConstants::eTotalNoSaturation.
|
private |
Definition at line 41 of file SD2ADST.h.
Referenced by GetConfig().