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

#include <AtFilterDivide.h>

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

Public Member Functions

void SetDivisor (Double_t divisor)
 
Double_t GetDivisor ()
 
virtual void Init () override
 Called at the init stage of the AtFilterTask. More...
 
virtual void InitEvent (AtRawEvent *event) 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

Example filter to divide the signal by some amount specified at run time

Definition at line 15 of file AtFilterDivide.h.

Member Function Documentation

◆ Filter()

void AtFilterDivide::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 18 of file AtFilterDivide.cxx.

◆ GetDivisor()

Double_t AtFilterDivide::GetDivisor ( )
inline

Definition at line 22 of file AtFilterDivide.h.

◆ Init()

void AtFilterDivide::Init ( )
overridevirtual

Called at the init stage of the AtFilterTask.

Implements AtFilter.

Definition at line 14 of file AtFilterDivide.cxx.

◆ InitEvent()

void AtFilterDivide::InitEvent ( AtRawEvent inputEvent)
overridevirtual

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

Implements AtFilter.

Definition at line 16 of file AtFilterDivide.cxx.

◆ IsGoodEvent()

bool AtFilterDivide::IsGoodEvent ( )
overridevirtual

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

Implements AtFilter.

Definition at line 27 of file AtFilterDivide.cxx.

◆ SetDivisor()

void AtFilterDivide::SetDivisor ( Double_t  divisor)

Definition at line 9 of file AtFilterDivide.cxx.


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