Diana Software
Public Member Functions | Private Attributes | List of all members
MBaselineFilter Class Reference

Module to filter baseline withing a range [min, max], inclusive. More...

Inheritance diagram for MBaselineFilter:

Public Member Functions

void GetCuts (const Diana::QEvent &ev)
 Get cuts from config file. More...
 
bool Filter (const Diana::QEvent &ev)
 return true if ev passes the cuts More...
 

Private Attributes

Double_t fMinValue
 Minimum value for the variable (if not provided no lower limit is applied) More...
 
Double_t fMaxValue
 Maximum value for the variable (if not provided no upper limit is applied) More...
 
TString fBaselineOwner
 
TString fVariable
 
bool fIsWarned
 

Detailed Description

Module to filter baseline withing a range [min, max], inclusive.

Author
G. Del Castello C. Tomei

Minimum and maximum values for the variable are read from the cfg If no minimum value is specified no lower limit is applied If no maximum value is specified no upper limit is applied

Definition at line 47 of file MBaselineFilter.hh.

Member Function Documentation

◆ Filter()

bool MBaselineFilter::Filter ( const Diana::QEvent &  ev)

◆ GetCuts()

void MBaselineFilter::GetCuts ( const Diana::QEvent &  ev)

Get cuts from config file.

Definition at line 19 of file MBaselineFilter.cc.

References Q_DOUBLE_DEFAULT.

Member Data Documentation

◆ fBaselineOwner

TString MBaselineFilter::fBaselineOwner
private

Definition at line 64 of file MBaselineFilter.hh.

◆ fIsWarned

bool MBaselineFilter::fIsWarned
private

Definition at line 66 of file MBaselineFilter.hh.

◆ fMaxValue

Double_t MBaselineFilter::fMaxValue
private

Maximum value for the variable (if not provided no upper limit is applied)

Definition at line 62 of file MBaselineFilter.hh.

◆ fMinValue

Double_t MBaselineFilter::fMinValue
private

Minimum value for the variable (if not provided no lower limit is applied)

Definition at line 59 of file MBaselineFilter.hh.

◆ fVariable

TString MBaselineFilter::fVariable
private

Definition at line 64 of file MBaselineFilter.hh.


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