![]() |
Belle II Software
release-08-02-04
|
This class provides a list of ignored (=cold, hot or otherwise deffective) strips for the use in SVD data reconstruction. More...
#include <SVDIgnoredStripsMap.h>

Public Types | |
| typedef std::set< unsigned short > | IgnoredStripsSet |
| A set of ignored strips. | |
Public Member Functions | |
| SVDIgnoredStripsMap (const std::string &xml_filename) | |
| Constructor. More... | |
| SVDIgnoredStripsMap ()=delete | |
| No default constructor. | |
| const std::set< unsigned short > & | getIgnoredStrips (VxdID id) |
| Get the set of ignored strips for a sensor. More... | |
| bool | stripOK (VxdID id, unsigned short strip) |
| Check whether a strip on a given sensor is OK or not. More... | |
Private Attributes | |
| std::unordered_map< unsigned short, IgnoredStripsSet > | m_Map |
| Structure holiding sets of ingored strips for all sensors. | |
| IgnoredStripsSet | m_lastIgnored |
| Set of ingored strips for the most currently queried sensor. | |
| VxdID | m_lastSensorID |
| The most currently queried sensor number. | |
This class provides a list of ignored (=cold, hot or otherwise deffective) strips for the use in SVD data reconstruction.
The class has non-intrusive behavior, that is, it will not interfere when queries on non-existent sensors are asked.
Definition at line 28 of file SVDIgnoredStripsMap.h.
|
explicit |
Constructor.
| xml_filename | is the name of the xml file containing the map. |
Definition at line 19 of file SVDIgnoredStripsMap.cc.
| const std::set< unsigned short > & getIgnoredStrips | ( | VxdID | id | ) |
Get the set of ignored strips for a sensor.
Use to save map searches.
| id | VxdID of the required sensor, with segment number 0 for v, 1 for u |
Definition at line 97 of file SVDIgnoredStripsMap.cc.
| bool stripOK | ( | VxdID | id, |
| unsigned short | strip | ||
| ) |
Check whether a strip on a given sensor is OK or not.
| id | VxdID of the sensor, with segment number 0 for v, 1 for u |
| strip | Strip number |
Definition at line 113 of file SVDIgnoredStripsMap.cc.