Functions
otoa::fd Namespace Reference

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...
 

Function Documentation

unsigned long long otoa::fd::CalcMirrorsInDAQBitField ( const fevt::Eye eye)
unsigned long long otoa::fd::CalcMirrorsInEventBitField ( const fevt::Eye eye)
std::map< UShort_t, Int_t > otoa::fd::CalcMirrorTimeOffsetMap ( const fevt::Eye eye)
std::map< int, std::string > otoa::fd::CalcMirrorTLTLabelMap ( const fevt::Eye eye)
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 
)
double otoa::fd::ConvertXToChi ( const double  x,
const fdet::Telescope detTel,
const utl::Point core,
const utl::Vector axis,
const utl::Vector sdp 
)
double otoa::fd::GetCalibrationConstant ( const fevt::Pixel evtpixel)
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().


, generated on Tue Sep 26 2023.