1 #ifndef VDColdboxDataInterface_H 2 #define VDColdboxDataInterface_H 11 #include "artdaq-core/Data/Fragment.hh" 13 #include "daqdataformats/Fragment.hpp" 33 std::vector<raw::RawDigit> &raw_digits,
34 std::vector<raw::RDTimeStamp> &rd_timestamps,
35 std::vector<raw::RDStatus> &rdstatuses );
41 std::vector<raw::RawDigit> &raw_digits,
42 std::vector<raw::RDTimeStamp> &rd_timestamps,
43 std::vector<raw::RDStatus> &rdstatuses,
44 std::vector<int> &apalist);
47 art::Event &evt, std::vector<raw::RawDigit> &raw_digits,
48 std::vector<raw::RDTimeStamp> &rd_timestamps,
49 std::vector<raw::RDStatus> &rdstatuses,
50 std::vector<int> &apalist);
std::vector< raw::RDTimeStamp > RDTimeStamps
std::vector< raw::RawDigit > RawDigits
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< raw::RawDigit > RawDigits
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< short > ADCvector_t
Type representing a (compressed) vector of ADC counts.
std::string fFileInfoLabel
void _collectRDStatus(std::vector< raw::RDStatus > &rdstatuses)
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)
VDColdboxDataInterface(fhicl::ParameterSet const &ps)
std::vector< raw::RDTimeStamp > RDTimeStamps
std::vector< duneFragment > duneFragments
void getFragmentsForEvent(hid_t the_group, RawDigits &raw_digits, RDTimeStamps ×tamps, int apano, int maxchan)
dunedaq::daqdataformats::Fragment duneFragment
static constexpr double ps
void getMedianSigma(const raw::RawDigit::ADCvector_t &v_adc, float &median, float &sigma)
~VDColdboxDataInterface()
void readFragmentsForEvent(art::Event &evt)
std::map< int, std::vector< std::string > > _input_labels_by_apa
double median(sqlite3 *db, std::string const &table_name, std::string const &column_name)