List of all members | Public Member Functions | Private Member Functions | Private Attributes
sdet::StationTriggerAlgorithm Class Reference

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< StationTriggerInfoRun (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< StationTriggerInfoRunUB (const int start, const int stop, const int latch, const std::vector< Trace > &traces, const int traceLength)
 
template<typename Trace >
std::vector< StationTriggerInfoRunUB (const int start, const int stop, const int latch, const int n, const Trace *const traces, const int traceLength)
 

Private Attributes

Trigger::DecayingIntegral fIntegral
 
int fLatchBin = 0
 
Trigger::MultiplicityOfPositiveSteps fMOPSTrigger
 
Trigger::Threshold fT1ThresholdTrigger
 
Trigger::Threshold fT2ThresholdTrigger
 
Trigger::TimeOverThresholdDeconvolved fTOTdTrigger
 
Trigger::TimeOverThreshold fTOTTrigger
 
int fTraceLength = 0
 

Detailed Description

Local station hardware (PLD) and software (T2) trigger algorithm.

Author
Darko Veberic
Date
05 Oct 2008

Definition at line 453 of file StationTriggerAlgorithm.h.

Constructor & Destructor Documentation

sdet::StationTriggerAlgorithm::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 
)
inline

Definition at line 456 of file StationTriggerAlgorithm.h.

Member Function Documentation

template<typename T , template< typename > class Trace>
std::vector<StationTriggerInfo> sdet::StationTriggerAlgorithm::Run ( const int  start,
const int  stop,
const std::vector< const Trace< T > * > &  traces 
)
inline
template<typename Trace >
std::vector<StationTriggerInfo> sdet::StationTriggerAlgorithm::RunUB ( const int  start,
const int  stop,
const int  latch,
const std::vector< Trace > &  traces,
const int  traceLength 
)
inlineprivate

Definition at line 507 of file StationTriggerAlgorithm.h.

Referenced by Run().

template<typename Trace >
std::vector<StationTriggerInfo> sdet::StationTriggerAlgorithm::RunUB ( const int  start,
const int  stop,
const int  latch,
const int  n,
const Trace *const  traces,
const int  traceLength 
)
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().

Member Data Documentation

Trigger::DecayingIntegral sdet::StationTriggerAlgorithm::fIntegral
private

Definition at line 593 of file StationTriggerAlgorithm.h.

Referenced by RunUB().

int sdet::StationTriggerAlgorithm::fLatchBin = 0
private

Definition at line 596 of file StationTriggerAlgorithm.h.

Referenced by Run().

Trigger::MultiplicityOfPositiveSteps sdet::StationTriggerAlgorithm::fMOPSTrigger
private

Definition at line 595 of file StationTriggerAlgorithm.h.

Referenced by RunUB().

Trigger::Threshold sdet::StationTriggerAlgorithm::fT1ThresholdTrigger
private

Definition at line 590 of file StationTriggerAlgorithm.h.

Referenced by RunUB().

Trigger::Threshold sdet::StationTriggerAlgorithm::fT2ThresholdTrigger
private

Definition at line 591 of file StationTriggerAlgorithm.h.

Referenced by RunUB().

Trigger::TimeOverThresholdDeconvolved sdet::StationTriggerAlgorithm::fTOTdTrigger
private

Definition at line 594 of file StationTriggerAlgorithm.h.

Referenced by RunUB().

Trigger::TimeOverThreshold sdet::StationTriggerAlgorithm::fTOTTrigger
private

Definition at line 592 of file StationTriggerAlgorithm.h.

Referenced by RunUB().

int sdet::StationTriggerAlgorithm::fTraceLength = 0
private

Definition at line 597 of file StationTriggerAlgorithm.h.

Referenced by Run().


The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.