Functions | |
unsigned long long | CalcMirrorsInDAQBitField (const fevt::Eye &eye) |
unsigned long long | CalcMirrorsInEventBitField (const fevt::Eye &eye) |
std::map< UShort_t, Int_t > | CalcMirrorTimeOffsetMap (const fevt::Eye &eye) |
std::map< int, std::string > | CalcMirrorTLTLabelMap (const fevt::Eye &eye) |
std::map< int, bool > | CalcMirrorTLTMap (const fevt::Eye &eye) |
double | ConvertXToChi (const double x, const fdet::Eye &detEye, const utl::Point &core, const utl::Vector &axis, const utl::Vector &sdp) |
double | ConvertXToChi (const double x, const fdet::Telescope &detTel, const utl::Point &core, const utl::Vector &axis, const utl::Vector &sdp) |
Converts a depth to the chi angle of the given telescope. More... | |
double | GetCalibrationConstant (const fevt::Pixel &evtpixel) |
Fetches the calibration constant for the given pixel. More... | |
double | LinearProfileFitChiSquare (const FdRecShower &recShower) |
Calculates the chi2 of a linear fit to the fd profile. More... | |
bool | UsingGDASProfileDatabase () |
Returns whether GDAS data was used for the current event (i.e. current Detector...?) More... | |
bool | UsingMieAttenuationDatabase () |
Returns whether the Mie DB was used for the current event (i.e. current Detector...?) More... | |
unsigned long long otoa::fd::CalcMirrorsInDAQBitField | ( | const fevt::Eye & | eye | ) |
Definition at line 137 of file FD2ADSTUtil.cc.
References fevt::ComponentSelector::eInDAQ, fevt::Eye::TelescopesBegin(), and fevt::Eye::TelescopesEnd().
unsigned long long otoa::fd::CalcMirrorsInEventBitField | ( | const fevt::Eye & | eye | ) |
Definition at line 113 of file FD2ADSTUtil.cc.
References fevt::Eye::TelescopesBegin(), and fevt::Eye::TelescopesEnd().
Referenced by otoa::FD2ADST::FillEyeHeader().
std::map< UShort_t, Int_t > otoa::fd::CalcMirrorTimeOffsetMap | ( | const fevt::Eye & | eye | ) |
Definition at line 150 of file FD2ADSTUtil.cc.
References fevt::Eye::TelescopesBegin(), and fevt::Eye::TelescopesEnd().
Referenced by otoa::FD2ADST::FillEyeHeader().
std::map< int, std::string > otoa::fd::CalcMirrorTLTLabelMap | ( | const fevt::Eye & | eye | ) |
Definition at line 95 of file FD2ADSTUtil.cc.
References fevt::TelescopeTriggerData::GetTLTLabel(), fevt::TelescopeTriggerData::IsTLTAccepted(), fevt::Eye::TelescopesBegin(), and fevt::Eye::TelescopesEnd().
Referenced by otoa::FD2ADST::FillEyeHeader().
std::map< int, bool > otoa::fd::CalcMirrorTLTMap | ( | const fevt::Eye & | eye | ) |
Additional functions(!) for the FD2ADST converter
Definition at line 77 of file FD2ADSTUtil.cc.
References fevt::TelescopeTriggerData::IsTLTAccepted(), fevt::Eye::TelescopesBegin(), and fevt::Eye::TelescopesEnd().
Referenced by otoa::FD2ADST::FillEyeHeader().
double otoa::fd::ConvertXToChi | ( | const double | x, |
const fdet::Eye & | detEye, | ||
const utl::Point & | core, | ||
const utl::Vector & | axis, | ||
const utl::Vector & | sdp | ||
) |
Converts a depth to the chi angle of the given eye. Note: Consider using the telescope variant instead.
Definition at line 202 of file FD2ADSTUtil.cc.
References Angle(), utl::cm2, utl::cross(), atm::InclinedAtmosphericProfile::EvaluateDistanceVsSlantDepth(), utl::g, fwk::CoordinateSystemRegistry::Get(), fdet::Eye::GetEyeCoordinateSystem(), fdet::Eye::GetPosition(), atm::ProfileResult::MaxX(), atm::ProfileResult::MinX(), and atm::ProfileResult::Y().
Referenced by otoa::FD2ADST::FillEyeSim(), and otoa::FD2ADST::FillGaisserHillas().
double otoa::fd::ConvertXToChi | ( | const double | x, |
const fdet::Telescope & | detTel, | ||
const utl::Point & | core, | ||
const utl::Vector & | axis, | ||
const utl::Vector & | sdp | ||
) |
Converts a depth to the chi angle of the given telescope.
Definition at line 240 of file FD2ADSTUtil.cc.
References Angle(), utl::cm2, fwk::LocalCoordinateSystemConstructor< Policy >::Create(), utl::cross(), atm::InclinedAtmosphericProfile::EvaluateDistanceVsSlantDepth(), utl::g, fwk::CoordinateSystemRegistry::Get(), fdet::Telescope::GetPosition(), atm::ProfileResult::MaxX(), atm::ProfileResult::MinX(), and atm::ProfileResult::Y().
double otoa::fd::GetCalibrationConstant | ( | const fevt::Pixel & | evtpixel | ) |
Fetches the calibration constant for the given pixel.
Definition at line 302 of file FD2ADSTUtil.cc.
References fdet::Pixel::eGood, ERROR, fdet::Pixel::GetEndToEndCalibrationAtReferenceWavelength(), fdet::Pixel::GetEndToEndCalibrationConstant(), fdet::Pixel::GetEyeId(), fdet::Pixel::GetId(), utl::TabulatedFunction::GetNPoints(), fdet::FDetector::GetPixel(), fdet::Pixel::GetStatus(), fdet::Pixel::GetTelescopeId(), and WARNING.
Referenced by cmpFDRecPixel(), and otoa::FD2ADST::FillRecPixel().
double otoa::fd::LinearProfileFitChiSquare | ( | const FdRecShower & | recShower | ) |
Calculates the chi2 of a linear fit to the fd profile.
Definition at line 281 of file FD2ADSTUtil.cc.
References otoa::LinearFit().
Referenced by otoa::FD2ADST::FillEye().
bool otoa::fd::UsingGDASProfileDatabase | ( | ) |
Returns whether GDAS data was used for the current event (i.e. current Detector...?)
Definition at line 182 of file FD2ADSTUtil.cc.
References utl::Branch::GetChild(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), fwk::CentralConfig::GetTopBranch(), and atm::GDASProfileModel::HasData().
Referenced by otoa::FD2ADST::Convert().
bool otoa::fd::UsingMieAttenuationDatabase | ( | ) |
Returns whether the Mie DB was used for the current event (i.e. current Detector...?)
Definition at line 162 of file FD2ADSTUtil.cc.
References utl::Branch::GetChild(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), fwk::CentralConfig::GetTopBranch(), and atm::MeasuredDBMieModel::HasData().
Referenced by otoa::FD2ADST::Convert().