#include <ProtoDUNEDataUtils.h>
Public Member Functions | |
ProtoDUNEDataUtils (fhicl::ParameterSet const &pset) | |
~ProtoDUNEDataUtils () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
bool | IsBeamTrigger (art::Event const &evt) const |
int | GetNActiveFembsForAPA (art::Event const &evt, int apa) const |
Get number of active fembs in an APA. More... | |
bool | CheckTimeStampConsistencyForAPAs (art::Event const &evt, std::set< int > apas, ULong64_t ×tamp, ULong64_t ×tamp2, int &apainconsist) const |
Check for consistency of timestamp values for a set of APAs. True if consistent, false if there are mismatches. More... | |
Private Attributes | |
art::InputTag | fTimingTag |
art::InputTag | fRawDigitTag |
art::InputTag | fRawDigitTimeStampTag |
Definition at line 21 of file ProtoDUNEDataUtils.h.
protoana::ProtoDUNEDataUtils::ProtoDUNEDataUtils | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 12 of file ProtoDUNEDataUtils.cxx.
protoana::ProtoDUNEDataUtils::~ProtoDUNEDataUtils | ( | ) |
Definition at line 16 of file ProtoDUNEDataUtils.cxx.
bool protoana::ProtoDUNEDataUtils::CheckTimeStampConsistencyForAPAs | ( | art::Event const & | evt, |
std::set< int > | apas, | ||
ULong64_t & | timestamp, | ||
ULong64_t & | timestamp2, | ||
int & | apainconsist | ||
) | const |
Check for consistency of timestamp values for a set of APAs. True if consistent, false if there are mismatches.
Definition at line 120 of file ProtoDUNEDataUtils.cxx.
int protoana::ProtoDUNEDataUtils::GetNActiveFembsForAPA | ( | art::Event const & | evt, |
int | apa | ||
) | const |
Get number of active fembs in an APA.
Definition at line 49 of file ProtoDUNEDataUtils.cxx.
bool protoana::ProtoDUNEDataUtils::IsBeamTrigger | ( | art::Event const & | evt | ) | const |
Returns true if the ProtoDUNE trigger says this is a beam trigger
Definition at line 27 of file ProtoDUNEDataUtils.cxx.
void protoana::ProtoDUNEDataUtils::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 20 of file ProtoDUNEDataUtils.cxx.
|
private |
Definition at line 46 of file ProtoDUNEDataUtils.h.
|
private |
Definition at line 47 of file ProtoDUNEDataUtils.h.
|
private |
Definition at line 45 of file ProtoDUNEDataUtils.h.