![]() |
Diana Software
|
energy threshold cut and flat ChiSquare cut (on a finite range) depending on the channel More...
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 |
energy threshold cut and flat ChiSquare cut (on a finite range) depending on the channel
Put here an extensive description of what your
filter does.
filter TwoVariablesEnergyFilter verbosity = info enable = true EnergyRangesInput = EnergyRanges.txt ChiSquareRangesInput = ChiSquareRanges.txt EnergyLabel = ApplyCalibration@Energy ChiSquareLabel = OTAnalysis@FitChiSquare EnergyRangesName = EnergyRanges ChiSquareRangesName = ChiSquareRanges ChiSquareCutMaxEnergy = 1100 EnergyMin = 0 EnergyMax = 100000 ChiSquareMin = 0 ChiSquareMax = 3 endmod
Definition at line 61 of file MTwoVariablesEnergyFilter.hh.
| bool MTwoVariablesEnergyFilter::Filter | ( | const Diana::QEvent & | ev | ) |
return true if ev passes the cuts
Definition at line 54 of file MTwoVariablesEnergyFilter.cc.
References channel, QEvent::Get(), QEvent::GetByLabel(), QPulseInfo::GetChannelId(), QHeader::GetRun(), rHandle, QEnergyRangesHandle::SetCalibLabel(), and QEnergyRangesHandle::SetCalibVersion().
| void MTwoVariablesEnergyFilter::GetCuts | ( | const Diana::QEvent & | ev | ) |
Get cuts from config file.
Definition at line 25 of file MTwoVariablesEnergyFilter.cc.
|
private |
Definition at line 99 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 100 of file MTwoVariablesEnergyFilter.hh.
|
private |
cfg defined maximum value to apply the ChiSquare cut
Definition at line 93 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 96 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 90 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 86 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 98 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 82 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 103 of file MTwoVariablesEnergyFilter.hh.
|
private |
Dataset number.
Definition at line 75 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 95 of file MTwoVariablesEnergyFilter.hh.
|
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.
|
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.
|
private |
Definition at line 97 of file MTwoVariablesEnergyFilter.hh.
|
private |
Input for energy ranges (file or DB, for the moment only file works)
Definition at line 81 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 102 of file MTwoVariablesEnergyFilter.hh.
|
private |
Set of channels missing from ranges file.
Definition at line 78 of file MTwoVariablesEnergyFilter.hh.
|
private |
Definition at line 101 of file MTwoVariablesEnergyFilter.hh.