Local station hardware (PLD) and software (T2) trigger algorithm. More...
#include "sdet/StationTriggerAlgorithm.h"
Public Member Functions | |
template<typename T , template< typename > class Trace> | |
std::vector< StationTriggerInfo > | Run (const int start, const int stop, const std::vector< const Trace< T > * > &traces) |
StationTriggerAlgorithm (const Trigger::ThresholdUp &t1th, const Trigger::ThresholdUp &t2th, const Trigger::TimeOverThreshold &tot, const Trigger::DecayingIntegral &integ, const Trigger::TimeOverThresholdDeconvolved &totd, const Trigger::MultiplicityOfPositiveSteps &mops, const int latchBin, const int traceLength) | |
Private Member Functions | |
template<typename Trace > | |
std::vector< StationTriggerInfo > | RunUB (const int start, const int stop, const int latch, const std::vector< Trace > &traces, const int traceLength) |
template<typename Trace > | |
std::vector< StationTriggerInfo > | RunUB (const int start, const int stop, const int latch, const int n, const Trace *const traces, const int traceLength) |
Local station hardware (PLD) and software (T2) trigger algorithm.
Definition at line 453 of file StationTriggerAlgorithm.h.
|
inline |
Definition at line 456 of file StationTriggerAlgorithm.h.
|
inline |
Definition at line 475 of file StationTriggerAlgorithm.h.
References fLatchBin, utl::FloorDiv(), fTraceLength, utl::nanosecond, RunUB(), and sdet::UUBDownsampleFilter().
Referenced by TestStationTriggerAlgorithm::Check(), and TankTriggerSimulatorOG::TankTriggerSimulator::Run().
|
inlineprivate |
Definition at line 507 of file StationTriggerAlgorithm.h.
Referenced by Run().
|
inlineprivate |
Calculate all triggers. The returned start/stop bounds may reach out of the function parameters start/stop. The reason is TimeDistributions are defined for all integers and limits thus do not make sense. This may not be true for Trace. Check bounds carefully...
Definition at line 523 of file StationTriggerAlgorithm.h.
References sevt::StationTriggerData::ePLDLatchThreshold, sevt::StationTriggerData::ePLDLatchTOTA, sevt::StationTriggerData::ePLDLatchTOTB, sevt::StationTriggerData::ePLDLatchTOTC, sevt::StationTriggerData::ePLDNone, sevt::StationTriggerData::ePLDThreshold, sevt::StationTriggerData::ePLDTOTA, sevt::StationTriggerData::ePLDTOTB, sevt::StationTriggerData::ePLDTOTC, fIntegral, fMOPSTrigger, fT1ThresholdTrigger, fT2ThresholdTrigger, fTOTdTrigger, fTOTTrigger, and utl::Accumulator::Max< T >::GetMax().
|
private |
Definition at line 593 of file StationTriggerAlgorithm.h.
Referenced by RunUB().
|
private |
Definition at line 596 of file StationTriggerAlgorithm.h.
Referenced by Run().
|
private |
Definition at line 595 of file StationTriggerAlgorithm.h.
Referenced by RunUB().
|
private |
Definition at line 590 of file StationTriggerAlgorithm.h.
Referenced by RunUB().
|
private |
Definition at line 591 of file StationTriggerAlgorithm.h.
Referenced by RunUB().
|
private |
Definition at line 594 of file StationTriggerAlgorithm.h.
Referenced by RunUB().
|
private |
Definition at line 592 of file StationTriggerAlgorithm.h.
Referenced by RunUB().
|
private |
Definition at line 597 of file StationTriggerAlgorithm.h.
Referenced by Run().