Trigger information extractors tied to an event.
More...
#include <TriggerResponseManager.h>
Trigger information extractors tied to an event.
Definition at line 130 of file Analysis/trigger/details/TriggerResponseManager.h.
sbn::details::TriggerResponseManager::Extractors::Extractors |
( |
art::Event const & |
event, |
|
|
std::vector< TriggerInfoBranch_t > & |
branchInfoList |
|
) |
| |
sbn::details::TriggerResponseManager::Extractors::Extractors |
( |
art::Event const & |
event, |
|
|
std::vector< TriggerInfoBranch_t > & |
branchInfoList |
|
) |
| |
Reads all data from events
needed for branches in branchInfoList
.
auto sbn::details::TriggerResponseManager::Extractors::buildInputData |
( |
art::Event const & |
event, |
|
|
TriggerInfoBranch_t const & |
branchInfo |
|
) |
| const |
|
private |
Returns all data necessary to branchInfo
extracted from event
.
static void sbn::details::TriggerResponseManager::Extractors::consumesInputData |
( |
art::ConsumesCollector & |
collector, |
|
|
TriggerInfoBranch_t const & |
branchInfo |
|
) |
| |
|
static |
Declares all data products that need to be read for branchInfo
.
void sbn::details::TriggerResponseManager::Extractors::consumesInputData |
( |
art::ConsumesCollector & |
collector, |
|
|
TriggerInfoBranch_t const & |
branchInfo |
|
) |
| |
|
static |
void sbn::details::TriggerResponseManager::Extractors::fetch |
( |
std::size_t |
iEntry | ) |
|
Fills all branch data with information from trigger entries with index iEntry
.
void sbn::details::TriggerResponseManager::Extractors::fetch |
( |
std::size_t |
iEntry | ) |
|
Fills all branch data with information from trigger entries with index iEntry
.
Definition at line 47 of file Analysis/trigger/details/TriggerResponseManager.cxx.
51 std::vector<TriggerInfoBranch_t>
const& branchInfo = *
fBranchInfo;
52 assert(branchInfo.size() ==
fInputData.size());
auto counter(T begin, T end)
Returns an object to iterate values from begin to end in a range-for loop.
Fills the specified trigger logic branch with information from its trigger results using the inputData
entry with index iEntry
.
Definition at line 85 of file Analysis/trigger/details/TriggerResponseManager.cxx.
90 assert(inputData.triggers);
92 raw::Trigger const& trigger = inputData.triggers->at(iEntry);
93 TriggerInfo_t& data = *(
info.data);
double TriggerTime() const
Trigger time w.r.t. electronics clock T0 in us.
double BeamGateTime() const
BeamGate time w.r.t. electronics clock T0 in us.
unsigned int TriggerBits() const
Trigger Bits.
Fills the specified trigger logic branch with information from its trigger results using the inputData
entry with index iEntry
.
std::vector< TriggerInfoBranch_t > const * sbn::details::TriggerResponseManager::Extractors::fBranchInfo { nullptr } |
|
private |
std::vector< TriggerInputData_t > sbn::details::TriggerResponseManager::Extractors::fInputData |
|
private |
The documentation for this class was generated from the following files: