ATLAS Offline Software
LArCalorimeter
LArGeoModel
LArHV
src
EMECHVPayload.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARHV_EMECHVPAYLOAD_H
6
#define LARHV_EMECHVPAYLOAD_H
7
#include <iostream>
8
struct
EMECHVPayload
{
9
double
voltage
[2];
10
double
current
[2];
11
int
hvLineNo
[2];
12
};
13
14
15
inline
std::ostream &
operator <<
(std::ostream & o,
const
EMECHVPayload
&
payload
) {
16
o <<
"Half Gap #0: HV Line No "
<<
payload
.hvLineNo[0] <<
' '
<<
payload
.voltage[0] <<
" volts; "
<<
payload
.current[0] <<
" amps"
<< std::endl;
17
o <<
"Half Gap #1: HV Line No "
<<
payload
.hvLineNo[1] <<
' '
<<
payload
.voltage[1] <<
" volts; "
<<
payload
.current[1] <<
" amps"
<< std::endl;
18
return
o;
19
}
20
#endif
EMECHVPayload::hvLineNo
int hvLineNo[2]
Definition:
EMECHVPayload.h:11
EMECHVPayload::voltage
double voltage[2]
Definition:
EMECHVPayload.h:9
EMECHVPayload::current
double current[2]
Definition:
EMECHVPayload.h:10
operator<<
std::ostream & operator<<(std::ostream &o, const EMECHVPayload &payload)
Definition:
EMECHVPayload.h:15
EMECHVPayload
Definition:
EMECHVPayload.h:8
PixelModuleFeMask_create_db.payload
string payload
Definition:
PixelModuleFeMask_create_db.py:69
Generated on Thu Nov 7 2024 21:14:41 for ATLAS Offline Software by
1.8.18