![]() |
Belle II Software
release-05-01-25
|
Database object containing cut values to filter CDCWireHits. More...
#include <CDCWireHitRequirements.h>
Public Member Functions | |
CDCWireHitRequirements ()=default | |
Default constructor. | |
CDCWireHitRequirements (boost::property_tree::ptree tree) | |
Constructor using a boost::property_tree. | |
~CDCWireHitRequirements ()=default | |
Destructor. | |
const intRange_t & | getADCRangeFirstSuperLayer () const |
Get allowed ADC range (first super layer of CDC). An upper value of -1 stands for unbounded. | |
void | setADCRangeFirstSuperLayer (const intRange_t &ADCRangeFirstSuperLayer) |
Set allowed ADC range (first super layer of CDC). An upper value of -1 stands for unbounded. | |
const intRange_t & | getADCRangeOuterSuperLayers () const |
Get allowed ADC range (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
void | setADCRangeOuterSuperLayers (const intRange_t &ADCRangeOuterSuperLayers) |
Set allowed ADC range (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
const intRange_t & | getTOTRangeFirstSuperLayer () const |
Get allowed TOT range (first super layer of CDC). An upper value of -1 stands for unbounded. | |
void | setTOTRangeFirstSuperLayer (const intRange_t &TOTRangeFirstSuperLayer) |
Set allowed TOT range (first super layer of CDC). An upper value of -1 stands for unbounded. | |
const intRange_t & | getTOTRangeOuterSuperLayers () const |
Get allowed TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
void | setTOTRangeOuterSuperLayers (const intRange_t &TOTRangeOuterSuperLayers) |
Set allowed TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
const floatRange_t & | getADCOverTOTRangeFirstSuperLayer () const |
Get allowed ADC/TOT range (first super layer of CDC). An upper value of -1 stands for unbounded. | |
void | setADCOverTOTRangeFirstSuperLayer (const floatRange_t &ADCOverTOTRangeFirstSuperLayer) |
Set allowed ADC/TOT range (first super layer of CDC). An upper value of -1 stands for unbounded. | |
const floatRange_t & | getADCOverTOTRangeOuterSuperLayers () const |
Get allowed ADC/TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
void | setADCOverTOTRangeOuterSuperLayers (const floatRange_t &ADCOverTOTRangeOuterSuperLayers) |
Set allowed ADC/TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
const std::map< short, short > | getMaxADCGivenTOTFirstSuperLayer () const |
Get map of maximum allowed ADC given TOT (first super layer of CDC). An upper value of -1 stands for unbounded. | |
short | getMaxADCGivenTOTFirstSuperLayer (short tot) const |
Get maximum allowed ADC given TOT (first super layer of CDC). An upper value of -1 stands for unbounded. | |
void | setMaxADCGivenTOTFirstSuperLayer (const std::map< short, short > &MaxADCGivenTOTFirstSuperLayer) |
Set map of maximum allowed ADC given TOT (first super layer of CDC). An upper value of -1 stands for unbounded. | |
const std::map< short, short > | getMaxADCGivenTOTOuterSuperLayers () const |
Get map of maximum allowed ADC given TOT (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
short | getMaxADCGivenTOTOuterSuperLayers (short tot) const |
Get maximum allowed ADC given TOT (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
void | setMaxADCGivenTOTOuterSuperLayers (const std::map< short, short > &MaxADCGivenTOTOuterSuperLayers) |
Set map of maximum allowed ADC given TOT (outer super layers of CDC). An upper value of -1 stands for unbounded. | |
void | dump () const |
Print content. | |
Private Types | |
typedef std::pair< short, short > | intRange_t |
Integer range. More... | |
typedef std::pair< float, float > | floatRange_t |
Float range. More... | |
Private Member Functions | |
ClassDef (CDCWireHitRequirements, 2) | |
ROOT ClassDef. | |
Private Attributes | |
intRange_t | m_ADCRangeFirstSuperLayer = {1, -1} |
Allowed ADC range (first super layer of CDC). More... | |
intRange_t | m_ADCRangeOuterSuperLayers = {1, -1} |
Allowed ADC range (outer super layers of CDC). More... | |
intRange_t | m_TOTRangeFirstSuperLayer = {1, -1} |
Allowed TOT range (first super layer of CDC). More... | |
intRange_t | m_TOTRangeOuterSuperLayers = {1, -1} |
Allowed TOT range (outer super layers of CDC). More... | |
floatRange_t | m_ADCOverTOTRangeFirstSuperLayer = {0.0, -1.0} |
Allowed ADC/TOT range (first super layer of CDC). More... | |
floatRange_t | m_ADCOverTOTRangeOuterSuperLayers = {0.0, -1.0} |
Allowed ADC/TOT range (outer super layers of CDC). More... | |
std::map< short, short > | m_MaxADCGivenTOTFirstSuperLayer = {} |
Map of conditions of the type: if TOT==x, then ADC<=y (first super layer of CDC). More... | |
std::map< short, short > | m_MaxADCGivenTOTOuterSuperLayers = {} |
Map of conditions of the type: if TOT==x, then ADC<=y (outer super layers of CDC). More... | |
Database object containing cut values to filter CDCWireHits.
The set of conditions is: {minADC<=ADC<=maxADC, minTOT<=TOT<=maxTOT, minADCOverTOT<=ADC/TOT<=maxACDOverTOT, if TOT==x, then ADC<=y (std::map)}. The first super layer of the CDC can have specific requirements. The other super layers of the CDC (outer super layers) share a single set of conditions. In the allowed range for ADC, TOT, ..., an upper value of -1 stands for unbounded. For example, the ADC range {5,-1} accepts all the hits with ADC>=5.
Definition at line 44 of file CDCWireHitRequirements.h.
|
private |
Float range.
The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range. An upper value of -1 stands for unbounded.
Definition at line 57 of file CDCWireHitRequirements.h.
|
private |
Integer range.
The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range. An upper value of -1 stands for unbounded.
Definition at line 51 of file CDCWireHitRequirements.h.
|
private |
Allowed ADC/TOT range (first super layer of CDC).
An upper value of -1 stands for unbounded. The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range.
Definition at line 292 of file CDCWireHitRequirements.h.
|
private |
Allowed ADC/TOT range (outer super layers of CDC).
An upper value of -1 stands for unbounded. The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range.
Definition at line 296 of file CDCWireHitRequirements.h.
|
private |
Allowed ADC range (first super layer of CDC).
An upper value of -1 stands for unbounded. The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range.
Definition at line 274 of file CDCWireHitRequirements.h.
|
private |
Allowed ADC range (outer super layers of CDC).
An upper value of -1 stands for unbounded. The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range.
Definition at line 278 of file CDCWireHitRequirements.h.
|
private |
Map of conditions of the type: if TOT==x, then ADC<=y (first super layer of CDC).
An upper value of -1 stands for unbounded. The first value is the given TOT, the second value is the maximum ADC. The upper bound is included in the allowed range.
Definition at line 301 of file CDCWireHitRequirements.h.
|
private |
Map of conditions of the type: if TOT==x, then ADC<=y (outer super layers of CDC).
An upper value of -1 stands for unbounded. The first value is the given TOT, the second value is the maximum ADC. The upper bound is included in the allowed range.
Definition at line 305 of file CDCWireHitRequirements.h.
|
private |
Allowed TOT range (first super layer of CDC).
An upper value of -1 stands for unbounded. The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range.
Definition at line 283 of file CDCWireHitRequirements.h.
|
private |
Allowed TOT range (outer super layers of CDC).
An upper value of -1 stands for unbounded. The first value is the lower bound, the second value is the upper bound. The two bounds are included in the allowed range.
Definition at line 287 of file CDCWireHitRequirements.h.