PDSPTPCDataInterfaceParent.h
Go to the documentation of this file.
5 //#include "art/Framework/Principal/Run.h"
6 //#include "art/Framework/Principal/SubRun.h"
11 
13  public:
14  virtual ~PDSPTPCDataInterfaceParent() noexcept = default;
15 
16  // method to get raw digits, RDTimeStamps, RDStatuses and associations from all input fragments specified by an input label (like "daq:ContainerTPC")
17 
18  virtual int retrieveData(art::Event &evt, std::string inputlabel, std::vector<raw::RawDigit> &raw_digits, std::vector<raw::RDTimeStamp> &rd_timestamps,
19  std::vector<raw::RDStatus> &rdstatuses) = 0;
20 
21  // method to get raw digits, RDTimeStamps, RDStatuses and associations from all input fragments specified by an input label (like "daq:ContainerTPC") but ony for
22  // APA's (== crate numbers) on a list. If the list contains a -1 in it, it returns all APA data found in the input label.
23 
24  virtual int retrieveDataAPAListWithLabels(art::Event &evt, std::string inputlabel, std::vector<raw::RawDigit> &raw_digits, std::vector<raw::RDTimeStamp> &rd_timestamps,
25  std::vector<raw::RDStatus> &rdstatuses,
26  std::vector<int> &apalist) = 0;
27 
28  // method to get raw digits, RDTimeStamps and RDStatuses for a specified list of APA's. The list of possible labels on which to find
29  // APA data is provided by fcl configuration.
30 
31  virtual int retrieveDataForSpecifiedAPAs(art::Event &evt, std::vector<raw::RawDigit> &raw_digits, std::vector<raw::RDTimeStamp> &rd_timestamps,
32  std::vector<raw::RDStatus> &rdstatuses,
33  std::vector<int> &apalist) = 0;
34 
35  };
std::string string
Definition: nybbler.cc:12
virtual 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)=0
virtual 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)=0
virtual 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)=0
virtual ~PDSPTPCDataInterfaceParent() noexcept=default
TCEvent evt
Definition: DataStructs.cxx:7