16 #ifndef IcebergDataInterfaceFELIXBufferMarch2021_H 17 #define IcebergDataInterfaceFELIXBufferMarch2021_H 41 std::vector<raw::RDStatus> &rdstatuses );
47 std::vector<raw::RDStatus> &rdstatuses,
48 std::vector<int> &apalist);
54 std::vector<raw::RDStatus> &rdstatuses,
55 std::vector<int> &apalist);
82 void unpack14(
const uint32_t *packed, uint16_t *unpacked);
int retrieveData(art::Event &evt, std::string inputlabel, std::vector< raw::RawDigit > &raw_digits, std::vector< raw::RDTimeStamp > &rd_timestamps, std::vector< raw::RDStatus > &rdstatuses)
std::vector< raw::RDTimeStamp > RDTimeStamps
std::vector< short > ADCvector_t
Type representing a (compressed) vector of ADC counts.
ULong64_t fDesiredStartTimestamp
IcebergDataInterfaceFELIXBufferMarch2021(fhicl::ParameterSet const &ps)
std::vector< std::string > fInputFiles
static constexpr double ps
std::vector< raw::RDStatus > RDStatuses
int retrieveDataAPAListWithLabels(art::Event &evt, std::string inputlabel, std::vector< raw::RawDigit > &raw_digits, std::vector< raw::RDTimeStamp > &rd_timestamps, std::vector< raw::RDStatus > &rdstatuses, std::vector< int > &apalist)
std::vector< FILE * > fInputFilePointers
void unpack14(const uint32_t *packed, uint16_t *unpacked)
int retrieveDataForSpecifiedAPAs(art::Event &evt, std::vector< raw::RawDigit > &raw_digits, std::vector< raw::RDTimeStamp > &rd_timestamps, std::vector< raw::RDStatus > &rdstatuses, std::vector< int > &apalist)
void computeMedianSigma(raw::RawDigit::ADCvector_t &v_adc, float &median, float &sigma)
std::vector< raw::RawDigit > RawDigits
double median(sqlite3 *db, std::string const &table_name, std::string const &column_name)