Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
TrapezoidalFilterParameters Class Reference

Parameters for your typical trapezoidal filter. More...

#include <Trace.hpp>

Collaboration diagram for TrapezoidalFilterParameters:

Public Member Functions

 TrapezoidalFilterParameters ()
 
 TrapezoidalFilterParameters (int gap, int rise, double t=NAN)
 
 TrapezoidalFilterParameters (const TFP &x)
 
const TFP & operator= (const TFP &right)
 
Trace::size_type GetGapSamples (void) const
 
Trace::size_type GetRiseSamples (void) const
 
Trace::size_type GetSize (void) const
 
double GetTau (void) const
 

Private Attributes

Trace::size_type gapSamples
 number of samples in the gap
 
Trace::size_type riseSamples
 number of samples in the rise time
 
double tau
 Tau of the energy filter.
 

Detailed Description

Parameters for your typical trapezoidal filter.

Constructor & Destructor Documentation

TrapezoidalFilterParameters::TrapezoidalFilterParameters ( )
inline

Default Constructor

TrapezoidalFilterParameters::TrapezoidalFilterParameters ( int  gap,
int  rise,
double  t = NAN 
)
inline

Constructor taking the L, G, and t as arguements

Parameters
[in]gap: The flattop for the filter
[in]rise: the risetime for the filter
[in]t: Either the tau or the trigget threshold for the filter
TrapezoidalFilterParameters::TrapezoidalFilterParameters ( const TFP &  x)
inline

Constructor taking another instance of the TrapzeoidalFilterParameters class

Parameters
[in]x: A different instance of the TrapzeoidalFilterParameters class

Member Function Documentation

Trace::size_type TrapezoidalFilterParameters::GetGapSamples ( void  ) const
inline
Returns
the value of the Gap
Trace::size_type TrapezoidalFilterParameters::GetRiseSamples ( void  ) const
inline
Returns
the value of the Risetime
Trace::size_type TrapezoidalFilterParameters::GetSize ( void  ) const
inline
Returns
the length of the filter
double TrapezoidalFilterParameters::GetTau ( void  ) const
inline
Returns
the value of tau
const TFP& TrapezoidalFilterParameters::operator= ( const TFP &  right)
inline

Copy constructor for the class

Parameters
[in]right: A different instance of the TrapzeoidalFilterParameters class
Returns
the new instance of the TFP

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