ATLAS Offline Software
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsData
PixelConditionsData
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
operator>>
std::istream & operator>>(std::istream &in, PixelModuleData &c)
Definition
PixelModuleDataStream.cxx:196
operator<<
std::ostream & operator<<(std::ostream &out, const PixelModuleData &c)
Definition
PixelModuleDataStream.cxx:79
PixelModuleData
Definition
PixelModuleData.h:22
SoshiFormat
Definition
PixelModuleDataStream.h:20
SoshiFormat::SoshiFormat
SoshiFormat(bool run1arg)
Definition
PixelModuleDataStream.h:24
SoshiFormat::operator>>
friend SoshiFormat & operator>>(std::istream &i, SoshiFormat &f)
Definition
PixelModuleDataStream.h:25
SoshiFormat::m_is
std::istream * m_is
Definition
PixelModuleDataStream.h:21
SoshiFormat::run1
bool run1
Definition
PixelModuleDataStream.h:22
SoshiFormat::SoshiFormat
SoshiFormat()=default
Generated on
for ATLAS Offline Software by
1.14.0