8#include "GaudiKernel/MsgStream.h"
11#define MAX_VALUE 100000
20 log << MSG::WARNING <<
"getIdentifiers() <index out of range> " << regionId <<
" size " <<
m_identifiersPerRegions.size()
52 int regionId, nelements;
53 for (
int i = 0; i < static_cast<int>(
m_nregions); ++i) {
55 is >> dummy >> regionId >> nelements;
59 log << MSG::WARNING <<
"read() <read wrong regionId> " << regionId <<
" current " << i <<
". Aborting reading" <<
endmsg;
65 ids.reserve(nelements);
69 for (
int j = 0; j < nelements; ++j) {
71 is >> s >> e >> p >> m;
88 os <<
"RegionId " << i <<
" " << ids << std::endl;
91 for (
unsigned int j = 0; j < ids; ++j) {
93 os <<
" " <<
id.stName <<
" " <<
id.eta <<
" " <<
id.phi <<
" " <<
id.ml << std::endl;
char data[hepevt_bytes_allocation_ATLAS]
std::istream & operator>>(std::istream &is, MuonCalib::RegionDataFromFile &data)
std::ostream & operator<<(std::ostream &os, const MuonCalib::RegionDataFromFile &data)
Manages the I/O of the list of multilayers belonging to a calibration region.
void clear()
clear entries
std::ostream & write(std::ostream &os) const
std::istream & read(std::istream &is)
unsigned int m_nregions
map containing all identifiers for a given region id
id_vec getIdentifiers(int regionId) const
returns a vector containing all identifiers for the given regionId, returns an empty vector if the re...
bool addRegion(int regionIndex, const id_vec &ids)
returns false if the region was already present, nothing is added in that case
std::vector< id_type > id_vec
id_vec_vec m_identifiersPerRegions
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Holds the station, eta, phi and multilayer Ids for a given multilayer.