|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/MsgStream.h"
10 #define MAX_VALUE 100000
51 int regionId, nelements;
54 is >>
dummy >> regionId >> nelements;
58 log << MSG::WARNING <<
"read() <read wrong regionId> " << regionId <<
" current " <<
i <<
". Aborting reading" <<
endmsg;
64 ids.reserve(nelements);
68 for (
int j = 0; j < nelements; ++j) {
70 is >>
s >>
e >>
p >>
m;
87 os <<
"RegionId " <<
i <<
" " <<
ids << std::endl;
90 for (
unsigned int j = 0; j <
ids; ++j) {
92 os <<
" " <<
id.stName <<
" " <<
id.eta <<
" " <<
id.phi <<
" " <<
id.ml << std::endl;
char data[hepevt_bytes_allocation_ATLAS]
singleton-like access to IMessageSvc via open function and helper
std::vector< id_type > id_vec
id_vec_vec m_identifiersPerRegions
id_vec getIdentifiers(int regionId) const
returns a vector containing all identifiers for the given regionId, returns an empty vector if the re...
unsigned int m_nregions
map containing all identifiers for a given region id
std::ostream & write(std::ostream &os) const
IMessageSvc * getMessageSvc(bool quiet=false)
void clear()
clear entries
Holds the station, eta, phi and multilayer Ids for a given multilayer.
std::istream & operator>>(std::istream &is, MuonCalib::RegionDataFromFile &data)
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
bool addRegion(int regionIndex, const id_vec &ids)
returns false if the region was already present, nothing is added in that case
std::ostream & operator<<(std::ostream &os, const MuonCalib::RegionDataFromFile &data)
std::istream & read(std::istream &is)
Manages the I/O of the list of multilayers belonging to a calibration region.