ATLAS Offline Software
HECHVPayload.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_HECHVPAYLOAD_H
6 #define LARHV_HECHVPAYLOAD_H
7 #include <iostream>
8 struct HECHVPayload {
9  double voltage;
10  double current;
11  int hvLineNo;
12 };
13 
14 inline std::ostream & operator << (std::ostream & o, const HECHVPayload & payload) {
15  o << "HEC Subgap: HV Line No " << payload.hvLineNo << ' ' << payload.voltage << " volts; " << payload.current << " amps" << std::endl;
16  return o;
17 }
18 #endif
HECHVPayload::voltage
double voltage
Definition: HECHVPayload.h:9
HECHVPayload
Definition: HECHVPayload.h:8
operator<<
std::ostream & operator<<(std::ostream &o, const HECHVPayload &payload)
Definition: HECHVPayload.h:14
HECHVPayload::current
double current
Definition: HECHVPayload.h:10
PixelModuleFeMask_create_db.payload
string payload
Definition: PixelModuleFeMask_create_db.py:69
HECHVPayload::hvLineNo
int hvLineNo
Definition: HECHVPayload.h:11