![]() |
Belle II Software release-09-00-03
|
This class contains everything needed by the VXDTF that is not going to change during a RUN, i.e. More...
#include <FiltersContainer.h>

Public Types | |
| using | setupNameToFilters_t = std::unordered_map< std::string, Belle2::VXDTFFilters< point_t > * > |
| typedef for better readability. Index is name of the setup. | |
Public Member Functions | |
| virtual | ~FiltersContainer () |
| Destructor deleting all filters stored. | |
| VXDTFFilters< point_t > * | getFilters (const std::string &setupName) |
| Gives access to the sector map and filters of a given setup. | |
| const setupNameToFilters_t & | getAllSetups (void) |
| returns all the available setups. | |
| void | assignFilters (const std::string &setupName, VXDTFFilters< point_t > *filters) |
| assigns filters. | |
Static Public Member Functions | |
| static FiltersContainer & | getInstance () |
| one and only way to access the singleton object | |
Private Member Functions | |
| FiltersContainer (const FiltersContainer &filtersContainer)=delete | |
| Copies of this class, which is a singleton, are not allowed so the copy constructor method is deleted. | |
| FiltersContainer & | operator= (const FiltersContainer &)=delete |
| dont allow copies | |
| FiltersContainer () | |
| Singleton so use a hidden Constructor. | |
Private Attributes | |
| setupNameToFilters_t | m_allSetupsFilters |
| Container of all the Filters indexed by their setupNames. | |
This class contains everything needed by the VXDTF that is not going to change during a RUN, i.e.
IP position, B field @ IP, static sectors, 2 space points filters, 3 space points filters, etc. etc. It is a singleton and is shared by all other processes This class owns her members and she is in charge for their deletions.
Definition at line 27 of file FiltersContainer.h.
| using setupNameToFilters_t = std::unordered_map< std::string, Belle2::VXDTFFilters<point_t>*> |
typedef for better readability. Index is name of the setup.
Definition at line 31 of file FiltersContainer.h.
|
inlineprivate |
|
inlinevirtual |
Destructor deleting all filters stored.
Definition at line 62 of file FiltersContainer.h.
|
inline |
assigns filters.
The ownership of filters is taken by FiltersContainer!
Definition at line 87 of file FiltersContainer.h.
|
inline |
returns all the available setups.
Definition at line 80 of file FiltersContainer.h.
|
inline |
Gives access to the sector map and filters of a given setup.
Definition at line 70 of file FiltersContainer.h.
|
inlinestatic |
one and only way to access the singleton object
the unique_ptr takes care for the deletion of the object!
Definition at line 53 of file FiltersContainer.h.
|
private |
Container of all the Filters indexed by their setupNames.
Definition at line 36 of file FiltersContainer.h.