#include <MD2ADST.h>
Public Member Functions | |
void | Convert (const evt::Event &inEvent, RecEvent &outEvent) const |
MD2ADST (const otoa::Config &config) | |
Private Member Functions | |
void | AddParticle (const utl::Particle &p, const mdet::Counter &c, const int moduleId, const int scintId, MdSimScintillator &ms) const |
void | FillMEvent (const evt::Event &e, MDEvent &me) const |
void | FillRecShower (const evt::ShowerMRecData &sr, MdRecShower &mr) const |
const otoa::Config & | GetConfig () const |
utl::CoordinateSystemPtr | GetShowerPlaneCS (const evt::ShowerMRecData &sr) const |
MdRecChannel | MakeChannel (const mevt::Channel &c, const mdet::Module &m) const |
MdRecCounter | MakeCounter (const mevt::Counter &c, const utl::CoordinateSystemPtr &cs) const |
MdRecModule | MakeModule (const mevt::Module &em, const mdet::Module &dm, const utl::CoordinateSystemPtr &cs) const |
MdSimCounter | MakeSimCounter (const mevt::Counter &c, const utl::CoordinateSystemPtr &showerPlaneCS) const |
Private Attributes | |
const otoa::Config & | fConfig |
const det::Detector * | fDetector |
const mdet::MDetector * | fMdDetector |
utl::CoordinateSystemPtr | fReferenceCS |
otoa::MD2ADST::MD2ADST | ( | const otoa::Config & | config | ) |
Definition at line 53 of file MD2ADST.cc.
|
private |
Definition at line 647 of file MD2ADST.cc.
References utl::Particle::GetDirection(), utl::Particle::GetKineticEnergy(), det::MPositionable< Config >::GetLocalCoordinateSystem(), mdet::Counter::GetModule(), utl::BasicVector< HepVector >::GetPhi(), utl::Particle::GetPosition(), utl::Particle::GetSource(), utl::BasicVector< HepVector >::GetTheta(), and utl::Particle::GetType().
Referenced by MakeSimCounter().
void otoa::MD2ADST::Convert | ( | const evt::Event & | inEvent, |
RecEvent & | outEvent | ||
) | const |
Definition at line 62 of file MD2ADST.cc.
References FillMEvent(), FillRecShower(), evt::Event::GetMEvent(), evt::ShowerRecData::GetMRecShower(), evt::Event::GetRecShower(), evt::ShowerSimData::GetShowerCoordinateSystem(), GetShowerPlaneCS(), evt::Event::GetSimShower(), evt::ShowerRecData::HasMRecShower(), evt::Event::HasRecShower(), evt::Event::HasSimShower(), MakeCounter(), MakeSimCounter(), evt::ShowerMRecData::SetLdfReconstructed(), and WARNING.
Referenced by otoa::Offline2ADST::Convert().
|
private |
Definition at line 111 of file MD2ADST.cc.
References evt::Event::GetMEvent(), evt::ShowerRecData::GetMRecShower(), mevt::MEvent::GetNumberOfCandidateCounters(), evt::Event::GetRecShower(), evt::ShowerRecData::HasMRecShower(), and evt::Event::HasRecShower().
Referenced by Convert().
|
private |
Definition at line 133 of file MD2ADST.cc.
References fwk::LocalCoordinateSystemConstructor< Policy >::Create(), fReferenceCS, evt::ShowerMRecData::GetAngleChi2(), evt::ShowerMRecData::GetAngleNdof(), evt::ShowerMRecData::GetAxis(), evt::ShowerMRecData::GetBeta(), evt::ShowerMRecData::GetBetaError(), evt::ShowerMRecData::GetBetaSystematics(), evt::ShowerMRecData::GetCoreError(), evt::ShowerMRecData::GetCorePosition(), evt::ShowerMRecData::GetCoreTime(), evt::ShowerMRecData::GetCorrelationXY(), evt::ShowerMRecData::GetCurvature(), evt::ShowerMRecData::GetCurvatureError(), utl::TimeStamp::GetGPSNanoSecond(), utl::TimeStamp::GetGPSSecond(), evt::ShowerMRecData::GetMdSdAngle(), evt::ShowerMRecData::GetMLDF(), evt::ShowerMRecData::GetMLDFChi2(), evt::ShowerMRecData::GetMLDFLikelihood(), evt::ShowerMRecData::GetMLDFNdof(), evt::ShowerMRecData::GetNMuRef(), evt::ShowerMRecData::GetNMuRefError(), evt::ShowerMRecData::GetNMuRefSystematics(), utl::TabulatedFunction::GetNPoints(), evt::ShowerMRecData::GetPhiError(), evt::ShowerMRecData::GetReferenceDistance(), evt::ShowerMRecData::GetThetaError(), evt::ShowerMRecData::GetThetaPhiCorrelation(), evt::ShowerMRecData::GetTimeResidualMean(), evt::ShowerMRecData::GetTimeResidualSpread(), utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), evt::ShowerMRecData::HasMLDF(), galactic::meter, and otoa::ToTVector3().
Referenced by Convert().
|
inlineprivate |
|
private |
Definition at line 625 of file MD2ADST.cc.
References fwk::LocalCoordinateSystemConstructor< Policy >::Create(), evt::ShowerMRecData::GetReferenceAxis(), evt::ShowerMRecData::GetReferenceCorePosition(), utl::TransformerConstructor< Policy >::RotationY(), and utl::TransformerConstructor< Policy >::RotationZ().
Referenced by Convert().
|
private |
Definition at line 489 of file MD2ADST.cc.
References mdet::Module::ChannelToPixelId(), mdet::Module::ChannelToScintillatorId(), fConfig, mevt::Channel::GetId(), mevt::Channel::GetRecData(), mevt::Channel::GetTrace(), mevt::Channel::GetTraceStartTime(), mevt::Channel::HasRecData(), mevt::Channel::HasTrace(), mevt::Channel::HasTraceStartTime(), mevt::Channel::IsMasked(), utl::Trace< T >::SetBinning(), and otoa::Config::StoreMDTraces().
Referenced by MakeModule().
|
private |
Definition at line 205 of file MD2ADST.cc.
References utl::deg, ERROR, exit, fMdDetector, fReferenceCS, mevt::Counter::GetActiveArea(), mevt::Counter::GetActiveAreaHG(), mevt::Counter::GetActiveAreaLG(), mdet::MDetector::GetCounter(), mevt::Counter::GetId(), mevt::Counter::GetLDFResidual(), mevt::Counter::GetMeanMuonDensity(), mevt::Counter::GetMeanMuonDensityErrorHigh(), mevt::Counter::GetMeanMuonDensityErrorLow(), mevt::Counter::GetMeanMuons(), mevt::Counter::GetMeanMuonsErrorHigh(), mevt::Counter::GetMeanMuonsErrorLow(), mevt::Counter::GetMeanMuonsLowLimit(), utl::AugerException::GetMessage(), mevt::Counter::GetMuonDensity(), mevt::Counter::GetMuonDensityErrorHigh(), mevt::Counter::GetMuonDensityErrorHighHG(), mevt::Counter::GetMuonDensityErrorHighLG(), mevt::Counter::GetMuonDensityErrorLow(), mevt::Counter::GetMuonDensityErrorLowHG(), mevt::Counter::GetMuonDensityErrorLowLG(), mevt::Counter::GetMuonDensityHG(), mevt::Counter::GetMuonDensityLG(), mevt::Counter::GetNumberOfChannelsOn(), mevt::Counter::GetNumberOfEstimatedMuons(), mevt::Counter::GetNumberOfEstimatedMuonsHG(), mevt::Counter::GetNumberOfEstimatedMuonsLG(), mevt::Counter::GetNumberOfMuonsErrorHigh(), mevt::Counter::GetNumberOfMuonsErrorHighHG(), mevt::Counter::GetNumberOfMuonsErrorHighLG(), mevt::Counter::GetNumberOfMuonsErrorLow(), mevt::Counter::GetNumberOfMuonsErrorLowHG(), mevt::Counter::GetNumberOfMuonsErrorLowLG(), mevt::Counter::GetNumberOfMuonsLowLimit(), mevt::Counter::GetPlaneFrontDelay(), mevt::Counter::GetSignalT50(), mevt::Counter::GetT502SdStart(), mevt::Counter::GetT50Error(), mevt::Counter::GetTimeResidual(), mevt::Counter::HasRecData(), mevt::Counter::HasT50(), mevt::Counter::IsADCCalibratedHG(), mevt::Counter::IsADCCalibratedLG(), mevt::Counter::IsCandidate(), mevt::Counter::IsRejected(), mevt::Counter::IsSilent(), utl::m, MakeModule(), galactic::meter, mevt::Counter::ModulesBegin(), mevt::Counter::ModulesEnd(), and otoa::ToTVector3().
Referenced by Convert().
|
private |
Definition at line 327 of file MD2ADST.cc.
References mevt::Module::ChannelsBegin(), mevt::Module::ChannelsEnd(), utl::deg, fConfig, fReferenceCS, mdet::FrontEndSiPM::GetBufferLength(), mdet::FrontEnd::GetBufferLength(), mevt::Module::GetDynodeTrace(), mdet::Module::GetFrontEnd(), mdet::Module::GetFrontEndSiPM(), mevt::Module::GetId(), mevt::Module::GetIntegratorATrace(), mevt::Module::GetIntegratorBTrace(), mdet::FrontEnd::GetMeanSampleRatePeriod(), mdet::FrontEndSiPM::GetMeanSampleRatePeriod(), det::MPositionable< Config >::GetPosition(), mevt::Module::GetRecData(), utl::BasicVector< HepVector >::GetRho(), mevt::Module::HasDynodeTrace(), mevt::Module::HasIntegratorATrace(), mevt::Module::HasIntegratorBTrace(), mevt::Module::HasRecData(), mevt::Module::IsCandidate(), mevt::Module::IsRejected(), mevt::Module::IsSilent(), mdet::Module::IsSiPM(), utl::m, MakeChannel(), galactic::meter, mevt::ModuleRecData::SetActiveArea(), otoa::Config::StoreMDTraces(), and otoa::ToTVector3().
Referenced by MakeCounter().
|
private |
Definition at line 534 of file MD2ADST.cc.
References AddParticle(), utl::deg, utl::Particle::eAntiMuon, electrons, utl::Particle::eMuon, fConfig, fMdDetector, mdet::MDetector::GetCounter(), mevt::Counter::GetId(), det::MPositionable< Config >::GetLocalCoordinateSystem(), mevt::Counter::GetSimData(), utl::Is(), utl::m, mevt::Counter::ModulesBegin(), mevt::Counter::ModulesEnd(), otoa::Config::StoreMDInjectedParticles(), and otoa::Config::StoreMDParticleTypes().
Referenced by Convert().
|
private |
Definition at line 35 of file MD2ADST.h.
Referenced by GetConfig(), MakeChannel(), MakeModule(), and MakeSimCounter().
|
private |
|
private |
Definition at line 39 of file MD2ADST.h.
Referenced by MakeCounter(), and MakeSimCounter().
|
private |
Definition at line 40 of file MD2ADST.h.
Referenced by FillRecShower(), MakeCounter(), and MakeModule().