Belle II Software development
|
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. | |
typedef std::pair< float, float > | floatRange_t |
Float range. | |
Private Member Functions | |
ClassDef (CDCWireHitRequirements, 2) | |
ROOT ClassDef. | |
Private Attributes | |
intRange_t | m_ADCRangeFirstSuperLayer = {1, -1} |
Allowed ADC range (first super layer of CDC). | |
intRange_t | m_ADCRangeOuterSuperLayers = {1, -1} |
Allowed ADC range (outer super layers of CDC). | |
intRange_t | m_TOTRangeFirstSuperLayer = {1, -1} |
Allowed TOT range (first super layer of CDC). | |
intRange_t | m_TOTRangeOuterSuperLayers = {1, -1} |
Allowed TOT range (outer super layers of CDC). | |
floatRange_t | m_ADCOverTOTRangeFirstSuperLayer = {0.0, -1.0} |
Allowed ADC/TOT range (first super layer of CDC). | |
floatRange_t | m_ADCOverTOTRangeOuterSuperLayers = {0.0, -1.0} |
Allowed ADC/TOT range (outer super layers of CDC). | |
std::map< short, short > | m_MaxADCGivenTOTFirstSuperLayer = {} |
Map of conditions of the type: if TOT==x, then ADC<=y (first super layer of CDC). | |
std::map< short, short > | m_MaxADCGivenTOTOuterSuperLayers = {} |
Map of conditions of the type: if TOT==x, then ADC<=y (outer super layers of CDC). | |
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 34 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 47 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 41 of file CDCWireHitRequirements.h.
|
inlineexplicit |
Constructor using a boost::property_tree.
Definition at line 59 of file CDCWireHitRequirements.h.
|
inline |
Print content.
Definition at line 227 of file CDCWireHitRequirements.h.
|
inline |
Get allowed ADC/TOT range (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 149 of file CDCWireHitRequirements.h.
|
inline |
Get allowed ADC/TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 161 of file CDCWireHitRequirements.h.
|
inline |
Get allowed ADC range (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 101 of file CDCWireHitRequirements.h.
|
inline |
Get allowed ADC range (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 113 of file CDCWireHitRequirements.h.
|
inline |
Get map of maximum allowed ADC given TOT (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 173 of file CDCWireHitRequirements.h.
|
inline |
Get maximum allowed ADC given TOT (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 179 of file CDCWireHitRequirements.h.
|
inline |
Get map of maximum allowed ADC given TOT (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 200 of file CDCWireHitRequirements.h.
|
inline |
Get maximum allowed ADC given TOT (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 206 of file CDCWireHitRequirements.h.
|
inline |
Get allowed TOT range (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 125 of file CDCWireHitRequirements.h.
|
inline |
Get allowed TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 137 of file CDCWireHitRequirements.h.
|
inline |
Set allowed ADC/TOT range (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 155 of file CDCWireHitRequirements.h.
|
inline |
Set allowed ADC/TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 167 of file CDCWireHitRequirements.h.
|
inline |
Set allowed ADC range (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 107 of file CDCWireHitRequirements.h.
|
inline |
Set allowed ADC range (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 119 of file CDCWireHitRequirements.h.
|
inline |
Set map of maximum allowed ADC given TOT (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 194 of file CDCWireHitRequirements.h.
|
inline |
Set map of maximum allowed ADC given TOT (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 221 of file CDCWireHitRequirements.h.
|
inline |
Set allowed TOT range (first super layer of CDC). An upper value of -1 stands for unbounded.
Definition at line 131 of file CDCWireHitRequirements.h.
|
inline |
Set allowed TOT range (outer super layers of CDC). An upper value of -1 stands for unbounded.
Definition at line 143 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 282 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 286 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 264 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 268 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 291 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 295 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 273 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 277 of file CDCWireHitRequirements.h.