ATLAS Offline Software
|
Manages the I/O of the list of multilayers belonging to a calibration region. More...
#include <RegionDataFromFile.h>
Public Types | |
typedef MultilayerId | id_type |
typedef std::vector< id_type > | id_vec |
Public Member Functions | |
id_vec | getIdentifiers (int regionId) const |
returns a vector containing all identifiers for the given regionId, returns an empty vector if the regionId is out of range or the region is empty More... | |
unsigned int | nregions () const |
returns the number of regions More... | |
void | setNRegions (unsigned int nreg) |
bool | addRegion (int regionIndex, const id_vec &ids) |
returns false if the region was already present, nothing is added in that case More... | |
void | clear () |
clear entries More... | |
std::istream & | read (std::istream &is) |
std::ostream & | write (std::ostream &os) const |
Private Types | |
typedef std::vector< id_vec > | id_vec_vec |
Private Attributes | |
unsigned int | m_nregions |
map containing all identifiers for a given region id More... | |
id_vec_vec | m_identifiersPerRegions |
Manages the I/O of the list of multilayers belonging to a calibration region.
Definition at line 28 of file RegionDataFromFile.h.
Definition at line 30 of file RegionDataFromFile.h.
typedef std::vector<id_type> MuonCalib::RegionDataFromFile::id_vec |
Definition at line 31 of file RegionDataFromFile.h.
|
private |
Definition at line 57 of file RegionDataFromFile.h.
returns false if the region was already present, nothing is added in that case
Definition at line 25 of file RegionDataFromFile.cxx.
void MuonCalib::RegionDataFromFile::clear | ( | ) |
clear entries
Definition at line 36 of file RegionDataFromFile.cxx.
RegionDataFromFile::id_vec MuonCalib::RegionDataFromFile::getIdentifiers | ( | int | regionId | ) | const |
returns a vector containing all identifiers for the given regionId, returns an empty vector if the regionId is out of range or the region is empty
Definition at line 14 of file RegionDataFromFile.cxx.
unsigned int MuonCalib::RegionDataFromFile::nregions | ( | ) | const |
returns the number of regions
std::istream & MuonCalib::RegionDataFromFile::read | ( | std::istream & | is | ) |
Definition at line 41 of file RegionDataFromFile.cxx.
|
inline |
Definition at line 41 of file RegionDataFromFile.h.
std::ostream & MuonCalib::RegionDataFromFile::write | ( | std::ostream & | os | ) | const |
Definition at line 80 of file RegionDataFromFile.cxx.
|
private |
Definition at line 61 of file RegionDataFromFile.h.
|
private |
map containing all identifiers for a given region id
Definition at line 60 of file RegionDataFromFile.h.