ATLAS Offline Software
PixelModuleDataStream.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
11  #ifndef PixelModuleDataStream_h
12  #define PixelModuleDataStream_h
13  #include <iostream>
14  class PixelModuleData;
15  //stream insertion to output all values from PixelModuleData
16  std::ostream & operator << (std::ostream &out, const PixelModuleData &c);
17  //stream extraction to get all values into PixelModuleData from string or file
18  std::istream & operator >> (std::istream &in, PixelModuleData &c);
19  //input pseudo-manipulator to read in soshi's file format
20  struct SoshiFormat{
21  std::istream * m_is{};
22  bool run1=false;
23  SoshiFormat() = default;
24  SoshiFormat(bool run1arg):m_is{}, run1(run1arg){};
25  friend SoshiFormat & operator>>(std::istream & i, SoshiFormat & f){
26  f.m_is = &i;
27  return f;
28  }
29  };
30  std::istream & operator >>(SoshiFormat & f, PixelModuleData & md);
31  #endif
32 
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
SoshiFormat::SoshiFormat
SoshiFormat(bool run1arg)
Definition: PixelModuleDataStream.h:24
operator<<
std::ostream & operator<<(std::ostream &out, const PixelModuleData &c)
Definition: PixelModuleDataStream.cxx:79
SoshiFormat::run1
bool run1
Definition: PixelModuleDataStream.h:22
PixelModuleData
Definition: PixelModuleData.h:22
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
SoshiFormat::SoshiFormat
SoshiFormat()=default
lumiFormat.i
int i
Definition: lumiFormat.py:92
operator>>
std::istream & operator>>(std::istream &in, PixelModuleData &c)
Definition: PixelModuleDataStream.cxx:196
SoshiFormat::m_is
std::istream * m_is
Definition: PixelModuleDataStream.h:21
SoshiFormat
Definition: PixelModuleDataStream.h:20
python.compressB64.c
def c
Definition: compressB64.py:93
SoshiFormat::operator>>
friend SoshiFormat & operator>>(std::istream &i, SoshiFormat &f)
Definition: PixelModuleDataStream.h:25