ATLAS Offline Software
EMBPresamplerHVPayload.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_EMBPRESAMPLERHVPAYLOAD_H
6 #define LARHV_EMBPRESAMPLERHVPAYLOAD_H
7 #include <iostream>
9  double voltage[2];
10  double current[2];
11  int hvLineNo[2];
12 };
13 
14 inline std::ostream & operator << (std::ostream & o, const EMBPresamplerHVPayload & payload) {
15  o << "Half Gap #0: HV Line No " << payload.hvLineNo[0] << ' ' << payload.voltage[0] << " volts; " << payload.current[0] << " amps" << std::endl;
16  o << "Half Gap #1: HV Line No " << payload.hvLineNo[1] << ' ' << payload.voltage[1] << " volts; " << payload.current[1] << " amps" << std::endl;
17  return o;
18 }
19 #endif
EMBPresamplerHVPayload::voltage
double voltage[2]
Definition: EMBPresamplerHVPayload.h:9
EMBPresamplerHVPayload::hvLineNo
int hvLineNo[2]
Definition: EMBPresamplerHVPayload.h:11
PixelModuleFeMask_create_db.payload
string payload
Definition: PixelModuleFeMask_create_db.py:69
EMBPresamplerHVPayload::current
double current[2]
Definition: EMBPresamplerHVPayload.h:10
operator<<
std::ostream & operator<<(std::ostream &o, const EMBPresamplerHVPayload &payload)
Definition: EMBPresamplerHVPayload.h:14
EMBPresamplerHVPayload
Definition: EMBPresamplerHVPayload.h:8