|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCALIB_TUBEDATAFROMFILE_H
6 #define MUONCALIB_TUBEDATAFROMFILE_H
12 #include "GaudiKernel/MsgStream.h"
26 using TubeData = std::vector<const MdtTubeFitContainer*>;
37 if (regionId >= (
unsigned int)
m_regions) {
39 log << MSG::WARNING <<
"TubeDataFromFile::getTubes: <regionId out of range> " << regionId <<
" size " <<
m_regions
54 if (regionId < 0 || regionId >= (
int)
m_regions) {
56 log << MSG::WARNING <<
"TubeDataFromFile::addTubes: <regionId out of range> " << regionId <<
" size " <<
m_regions
62 log << MSG::WARNING <<
"TubeDataFromFile::addTubes: <tubes already set>" <<
endmsg;
71 std::ostream&
write(std::ostream&
os)
const;
unsigned int m_regions
total number of regions
char data[hepevt_bytes_allocation_ATLAS]
singleton-like access to IMessageSvc via open function and helper
TubeDataFromFile()=default
IMessageSvc * getMessageSvc(bool quiet=false)
void setNRegions(unsigned int n)
set total number of regions
std::ostream & write(std::ostream &os) const
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
std::ostream & write_forDB(std::ostream &ftube, int mdt_head, int lowrun, int uprun) const
bool addTubes(int regionId, const MdtTubeFitContainer *tubes)
TubeDataFromFile takes ownership of the MdtTubeFitContainer.
Holds single-tube full calibration information of one chamber.
~TubeDataFromFile()=default
unsigned int nRegions() const
return number of regions
std::ostream & operator<<(std::ostream &os, const MuonCalib::TubeDataFromFile &data)
std::vector< const MdtTubeFitContainer * > TubeData
const MdtTubeFitContainer * getTubes(unsigned int regionId) const
retrieve MdtTubeFitContainer for a give regionId