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

energy threshold cut and flat ChiSquare cut (on a finite range) depending on the channel More...

Inheritance diagram for MTwoVariablesEnergyFilter:

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

int fDataset
 Dataset number. More...
 
std::set< int > fMissingChannels
 Set of channels missing from ranges file. More...
 
std::string fEnergyRangesInput
 Input for energy ranges (file or DB, for the moment only file works) More...
 
std::string fChiSquareRangesInput
 
double fEnergyMin
 cfg defined minimum values, to be applied to channels for which no energy range is defined More...
 
double fChiSquareMin
 
double fEnergyMax
 cfg defined maximum values, to be applied to channels for which no energy range is defined More...
 
double fChiSquareMax
 
double fChiSquareCutMaxEnergy
 cfg defined maximum value to apply the ChiSquare cut More...
 
Diana::QEventLabel fEnergyLabel
 
Diana::QEventLabel fChiSquareLabel
 
Diana::QInterval fEnergyRange
 
Diana::QInterval fChiSquareRange
 
std::set< int > fBlackList
 
std::set< int > fChannelList
 
QRunData fRunData
 
std::string fEnergyRangesName
 
std::string fChiSquareRangesName
 

Detailed Description

energy threshold cut and flat ChiSquare cut (on a finite range) depending on the channel

Author
Gabriele Piperno

Put here an extensive description of what your
filter does.

Definition at line 61 of file MTwoVariablesEnergyFilter.hh.

Member Function Documentation

◆ Filter()

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

◆ GetCuts()

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

Get cuts from config file.

Definition at line 25 of file MTwoVariablesEnergyFilter.cc.

Member Data Documentation

◆ fBlackList

std::set<int> MTwoVariablesEnergyFilter::fBlackList
private

Definition at line 99 of file MTwoVariablesEnergyFilter.hh.

◆ fChannelList

std::set<int> MTwoVariablesEnergyFilter::fChannelList
private

Definition at line 100 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareCutMaxEnergy

double MTwoVariablesEnergyFilter::fChiSquareCutMaxEnergy
private

cfg defined maximum value to apply the ChiSquare cut

Definition at line 93 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareLabel

Diana::QEventLabel MTwoVariablesEnergyFilter::fChiSquareLabel
private

Definition at line 96 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareMax

double MTwoVariablesEnergyFilter::fChiSquareMax
private

Definition at line 90 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareMin

double MTwoVariablesEnergyFilter::fChiSquareMin
private

Definition at line 86 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareRange

Diana::QInterval MTwoVariablesEnergyFilter::fChiSquareRange
private

Definition at line 98 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareRangesInput

std::string MTwoVariablesEnergyFilter::fChiSquareRangesInput
private

Definition at line 82 of file MTwoVariablesEnergyFilter.hh.

◆ fChiSquareRangesName

std::string MTwoVariablesEnergyFilter::fChiSquareRangesName
private

Definition at line 103 of file MTwoVariablesEnergyFilter.hh.

◆ fDataset

int MTwoVariablesEnergyFilter::fDataset
private

Dataset number.

Definition at line 75 of file MTwoVariablesEnergyFilter.hh.

◆ fEnergyLabel

Diana::QEventLabel MTwoVariablesEnergyFilter::fEnergyLabel
private

Definition at line 95 of file MTwoVariablesEnergyFilter.hh.

◆ fEnergyMax

double MTwoVariablesEnergyFilter::fEnergyMax
private

cfg defined maximum values, to be applied to channels for which no energy range is defined

Definition at line 89 of file MTwoVariablesEnergyFilter.hh.

◆ fEnergyMin

double MTwoVariablesEnergyFilter::fEnergyMin
private

cfg defined minimum values, to be applied to channels for which no energy range is defined

Definition at line 85 of file MTwoVariablesEnergyFilter.hh.

◆ fEnergyRange

Diana::QInterval MTwoVariablesEnergyFilter::fEnergyRange
private

Definition at line 97 of file MTwoVariablesEnergyFilter.hh.

◆ fEnergyRangesInput

std::string MTwoVariablesEnergyFilter::fEnergyRangesInput
private

Input for energy ranges (file or DB, for the moment only file works)

Definition at line 81 of file MTwoVariablesEnergyFilter.hh.

◆ fEnergyRangesName

std::string MTwoVariablesEnergyFilter::fEnergyRangesName
private

Definition at line 102 of file MTwoVariablesEnergyFilter.hh.

◆ fMissingChannels

std::set<int> MTwoVariablesEnergyFilter::fMissingChannels
private

Set of channels missing from ranges file.

Definition at line 78 of file MTwoVariablesEnergyFilter.hh.

◆ fRunData

QRunData MTwoVariablesEnergyFilter::fRunData
private

Definition at line 101 of file MTwoVariablesEnergyFilter.hh.


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