00001 00002 // *** Do not edit this file, it is auto-generated *** 00003 00004 #include "psddl_pds2psana/fccd.ddl.h" 00005 00006 #include <cstddef> 00007 00008 #include <stdexcept> 00009 00010 namespace psddl_pds2psana { 00011 namespace FCCD { 00012 Psana::FCCD::FccdConfigV1::Depth pds_to_psana(Pds::FCCD::FccdConfigV1::Depth e) 00013 { 00014 return Psana::FCCD::FccdConfigV1::Depth(e); 00015 } 00016 00017 Psana::FCCD::FccdConfigV1::Output_Source pds_to_psana(Pds::FCCD::FccdConfigV1::Output_Source e) 00018 { 00019 return Psana::FCCD::FccdConfigV1::Output_Source(e); 00020 } 00021 00022 FccdConfigV1::FccdConfigV1(const boost::shared_ptr<const XtcType>& xtcPtr) 00023 : Psana::FCCD::FccdConfigV1() 00024 , m_xtcObj(xtcPtr) 00025 { 00026 } 00027 FccdConfigV1::~FccdConfigV1() 00028 { 00029 } 00030 00031 00032 uint16_t FccdConfigV1::outputMode() const { 00033 return m_xtcObj->outputMode(); 00034 } 00035 00036 00037 uint32_t FccdConfigV1::width() const { 00038 return m_xtcObj->width(); 00039 } 00040 00041 00042 uint32_t FccdConfigV1::height() const { 00043 return m_xtcObj->height(); 00044 } 00045 00046 00047 uint32_t FccdConfigV1::trimmedWidth() const { 00048 return m_xtcObj->trimmedWidth(); 00049 } 00050 00051 00052 uint32_t FccdConfigV1::trimmedHeight() const { 00053 return m_xtcObj->trimmedHeight(); 00054 } 00055 00056 Psana::FCCD::FccdConfigV2::Depth pds_to_psana(Pds::FCCD::FccdConfigV2::Depth e) 00057 { 00058 return Psana::FCCD::FccdConfigV2::Depth(e); 00059 } 00060 00061 Psana::FCCD::FccdConfigV2::Output_Source pds_to_psana(Pds::FCCD::FccdConfigV2::Output_Source e) 00062 { 00063 return Psana::FCCD::FccdConfigV2::Output_Source(e); 00064 } 00065 00066 FccdConfigV2::FccdConfigV2(const boost::shared_ptr<const XtcType>& xtcPtr) 00067 : Psana::FCCD::FccdConfigV2() 00068 , m_xtcObj(xtcPtr) 00069 { 00070 } 00071 FccdConfigV2::~FccdConfigV2() 00072 { 00073 } 00074 00075 00076 uint16_t FccdConfigV2::outputMode() const { 00077 return m_xtcObj->outputMode(); 00078 } 00079 00080 00081 uint8_t FccdConfigV2::ccdEnable() const { 00082 return m_xtcObj->ccdEnable(); 00083 } 00084 00085 00086 uint8_t FccdConfigV2::focusMode() const { 00087 return m_xtcObj->focusMode(); 00088 } 00089 00090 00091 uint32_t FccdConfigV2::exposureTime() const { 00092 return m_xtcObj->exposureTime(); 00093 } 00094 00095 00096 ndarray<const float, 1> FccdConfigV2::dacVoltages() const { 00097 return m_xtcObj->dacVoltages(m_xtcObj); 00098 } 00099 00100 00101 ndarray<const uint16_t, 1> FccdConfigV2::waveforms() const { 00102 return m_xtcObj->waveforms(m_xtcObj); 00103 } 00104 00105 00106 uint32_t FccdConfigV2::width() const { 00107 return m_xtcObj->width(); 00108 } 00109 00110 00111 uint32_t FccdConfigV2::height() const { 00112 return m_xtcObj->height(); 00113 } 00114 00115 00116 uint32_t FccdConfigV2::trimmedWidth() const { 00117 return m_xtcObj->trimmedWidth(); 00118 } 00119 00120 00121 uint32_t FccdConfigV2::trimmedHeight() const { 00122 return m_xtcObj->trimmedHeight(); 00123 } 00124 00125 } // namespace FCCD 00126 } // namespace psddl_pds2psana