ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtFilterZero Class Reference

#include <AtFilterZero.h>

Inheritance diagram for AtFilterZero:
Inheritance graph
[legend]
Collaboration diagram for AtFilterZero:
Collaboration graph
[legend]

Public Member Functions

void SetThreshold (double val)
 
virtual void Init () override
 Called at the init stage of the AtFilterTask. More...
 
virtual void InitEvent (AtRawEvent *) override
 Called once for each event at the start of the Exec phase. More...
 
virtual void Filter (AtPad *pad, AtPadReference *padReference) override
 Called to filter each pad. More...
 
virtual bool IsGoodEvent () override
 Called at the end of an event. Returns if filtering was successful. More...
 
- Public Member Functions inherited from AtFilter
virtual ~AtFilter ()=default
 
virtual AtRawEventConstructOutputEvent (TClonesArray *outputEventArray, AtRawEvent *inputEvent)
 Construct output event from input event array. More...
 

Detailed Description

Class to look through traces and attempt to fill in any missing data by taking the average of the two neighboring timebuckets. It will do a sanity check and if the difference between the two neighboring time buckets is above a certain threshold, then it will just copy the value of the TB just before the missing data.

Definition at line 17 of file AtFilterZero.h.

Member Function Documentation

◆ Filter()

void AtFilterZero::Filter ( AtPad pad,
AtPadReference padReference 
)
overridevirtual

Called to filter each pad.

Optional padRef currently only used by SCA filter (10/20/22).

Parameters
[in]padPad to filter.
[in[padRefernece optional parameter only needed when when filtering FPN channels.

Implements AtFilter.

Definition at line 7 of file AtFilterZero.cxx.

◆ Init()

virtual void AtFilterZero::Init ( )
inlineoverridevirtual

Called at the init stage of the AtFilterTask.

Implements AtFilter.

Definition at line 25 of file AtFilterZero.h.

◆ InitEvent()

virtual void AtFilterZero::InitEvent ( AtRawEvent inputEvent)
inlineoverridevirtual

Called once for each event at the start of the Exec phase.

Implements AtFilter.

Definition at line 26 of file AtFilterZero.h.

◆ IsGoodEvent()

virtual bool AtFilterZero::IsGoodEvent ( )
inlineoverridevirtual

Called at the end of an event. Returns if filtering was successful.

Implements AtFilter.

Definition at line 28 of file AtFilterZero.h.

◆ SetThreshold()

void AtFilterZero::SetThreshold ( double  val)
inline

Definition at line 23 of file AtFilterZero.h.


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